Approver
519
edits
(add manual remapping) |
(even more manual documentation) |
||
Line 67: | Line 67: | ||
# Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to generate your remappings | # Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to generate your remappings | ||
# When finished click on '''Show as QR code''' | # When finished click on '''Show as QR code''' | ||
#* If you are unable to scan QR codes on your console, instead click '''Build this remap''' and place the downloaded <code>rehid.json</code> into a <code>rehid</code> folder on the root of your SD card, or <code>rehid/(title ID)/</code> to remap a specific game. You can find the title ID of your game using [https://3dsdb.com/ 3dsdb] | |||
# Power on your console and launch rehidHelper | # Power on your console and launch rehidHelper | ||
# Select Scan QR Code and scan the generated QR code from the website | # Select Scan QR Code and scan the generated QR code from the website | ||
Line 77: | Line 78: | ||
<span> | <span> | ||
<ol> | <ol> | ||
<li> Create a <code>rehid.json</code> file with the remappings you want. | <li><p>Create a <code>rehid.json</code> file with the remappings you want. possible options include:</p> | ||
<syntaxhighlight lang="json">{ | <p><code>"keys":</code> which maps a key press to another key press.<br>Possible Keys are: <code>A</code>, <code>B</code>, <code>X</code>, <code>Y</code>, <code>SELECT</code>, <code>START</code>, <code>ZL</code>, <code>ZR</code>, <code>L</code>, <code>R</code>, <code>LEFT</code>, <code>RIGHT</code>, <code>UP</code>, <code>DOWN</code>, <code>CLEFT</code>(CPAD), <code>CRIGHT</code>(CPAD), <code>CUP</code>(CPAD), <code>CDOWN</code>(C-PAD), <code>CSLEFT</code>(C-STICK), <code>CSRIGHT</code>(C-STICK), <code>CSUP</code>(C-STICK), <code>CSDOWN</code>(C-STICK)</p> | ||
<syntaxhighlight lang="json">{"keys":[{"press":"ZR","get":"R"},{"press":"ZL","get":"L"}]}</syntaxhighlight> | |||
}</syntaxhighlight> | |||
<p>With the above, any time you press the {{B|ZR}} key, {{B|R}} key would be triggered, and any time you press the {{B|ZL}} key, {{B|L}} key would be triggered.</p> | <p>With the above, any time you press the {{B|ZR}} key, {{B|R}} key would be triggered, and any time you press the {{B|ZL}} key, {{B|L}} key would be triggered.</p> | ||
<p>You can also do custom key combos | <p>You can also do custom key combos;</p> | ||
<syntaxhighlight lang="json">{ | <syntaxhighlight lang="json">{"keys":[{"press":"X+Y","get":"R"},{"press":"SELECT","get":"L+R"}]}</syntaxhighlight> | ||
}</syntaxhighlight> | |||
<p>With this any time you press {{B|X+Y}}, {{B|R}} key would be triggered, and any time you press the {{B|SELECT}} button, both {{B|L}} and {{B|R}} would be triggered.</p> | <p>With this any time you press {{B|X+Y}}, {{B|R}} key would be triggered, and any time you press the {{B|SELECT}} button, both {{B|L}} and {{B|R}} would be triggered.</p> | ||
<p> | <p><code>"cpad":</code>, which maps a key press to a circle pad x and y coordinate from -190 to 190;</p> | ||
<syntaxhighlight lang="json">{"cpad":[{"press":"CUP","get":[0,190]},{"press":"CDOWN","get":[0,-190]},{"press":"CLEFT","get":[-190,0]},{"press":"CRIGHT","get":[190,0]}]}</syntaxhighlight> | |||
<p><code>"touch":</code>, which maps a key press to a touchscreen x and y coordinate from 0,0 top left to 320,240 bottom right;</p> | |||
<syntaxhighlight lang="json">{"touch":[{"press":"LEFT+UP","get":[0,0]},{"press":"RIGHT+DOWN","get":[320,240]}]}</syntaxhighlight> | |||
<p><code>"touchtokeys":</code> which maps two coordinate pairs to make a box on the touch screen that when tapped will output a key press;</p> | |||
<syntaxhighlight lang="json">{"touchtokeys":[{"press":[0,0,50,50],"get":"A"}]}</syntaxhighlight> | |||
<p>For this example, tapping anywhere in a 50x50 pixel box in the top left will press A.</p> | |||
<p>Other options include:<br> | |||
<code>"cpadtodpad":true</code> maps the C-pad to the D-pad<br> | |||
<code>"dpadtocpad":true</code> maps the D-pad to the C-pad<br> | |||
<code>"overidecpadpro":true</code> makes it so games don't recognize the circle pad pro<br> | |||
<code>"homebutton":</code> maps the HOME button to a key press</p> | |||
<p>These Options can be strung together into a single line, for example:</p> | |||
<syntaxhighlight lang="json">{"keys":[{"press":"ZR","get":"R"},{"press":"ZL","get":"L"}],"cpad":[{"press":"CUP","get":[0,190]},{"press":"CDOWN","get":[0,-190]}],"touch":[{"press":"LEFT+UP","get":[0,0]},{"press":"RIGHT+DOWN","get":[320,240]}],"touchtokeys":[{"press":[0,0,50,50],"get":"A"}],"cpadtodpad":true,"dpadtocpad":true,"overridecpadpro":true,"homebutton":"ZR+ZL"}</syntaxhighlight> | |||
</li> | |||
<li>Copy <code>rehid.json</code> to a <code>rehid</code> folder on the root of your SD card | <li>Copy <code>rehid.json</code> to a <code>rehid</code> folder on the root of your SD card | ||
<ul> | <ul> |