Approver
519
edits
(added feature list, and resized headers) |
(Removed the tabber for →Usage: and moved manual configuration to its own →configuration: header. Added an SD file layout) |
||
Line 69: | Line 69: | ||
==Usage== | ==Usage== | ||
# Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to configure your key mappings | # Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to configure your key mappings | ||
# 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 | ||
# Press {{B|A}} to proceed | # Press {{B|A}} to proceed | ||
# Select a title from the list for the remap to be applied to, or select global for all titles | # Select a title from the list for the remap to be applied to, or select global for all titles | ||
# Press {{B|start}} to exit | # Press {{B|start}} to exit | ||
==Configuration== | |||
===Config file=== | |||
< | <p>Rehid stores its key mappings in <code>.json</code> files located at <code>/rehid/rehid.json</code>, or in a title ID folder within <code>/rehid/</code> to use with a specific title. You can manually create your own key mappings by creating a <code>rehid.json</code> file with the key mappings you want. Possible options include:</p> | ||
<p><code>"keys":</code> which maps a key press to another key press.</p> | |||
<p><code>"keys":</code> which maps a key press to another key press. | |||
<syntaxhighlight lang="json">{"keys":[{"press":"ZR","get":"R"},{"press":"ZL","get":"L"}]}</syntaxhighlight> | <syntaxhighlight lang="json">{"keys":[{"press":"ZR","get":"R"},{"press":"ZL","get":"L"}]}</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. 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> | ||
<p>You can also do custom key combos;</p> | <p>You can also do custom key combos;</p> | ||
<syntaxhighlight lang="json">{"keys":[{"press":"X+Y","get":"R"},{"press":"SELECT","get":"L+R"}]}</syntaxhighlight> | <syntaxhighlight lang="json">{"keys":[{"press":"X+Y","get":"R"},{"press":"SELECT","get":"L+R"}]}</syntaxhighlight> | ||
Line 120: | Line 102: | ||
<p>These Options can be strung together into a single line, for example:</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":[10,20,50,100],"get":"A"}],"cpadtodpad":true,"dpadtocpad":true,"overridecpadpro":true,"homebutton":"ZR+ZL"}</syntaxhighlight> | <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":[10,20,50,100],"get":"A"}],"cpadtodpad":true,"dpadtocpad":true,"overridecpadpro":true,"homebutton":"ZR+ZL"}</syntaxhighlight> | ||
===SD file layout=== | |||
{{Tree list}} | |||
* {{Tree icon|sd}} (root) | |||
** {{Tree icon|d}} rehid | |||
*** {{Tree icon|f}} rehid.json | |||
*** {{Tree icon|d}} (title ID) | |||
**** {{Tree icon|f}} rehid.json | |||
{{Tree list/end}} | |||
==Troubleshooting== | ==Troubleshooting== |