'''Rehid''' is a rewrite of the 3DS' hid module, to allow for the remapping of buttons or the touch screen.
'''Rehid''' is a rewrite of the 3DS' hid module, that allow for the remapping of buttons or the touch screen in 3DS titles.
=Installation=
=Installation=
Line 65:
Line 65:
|-|Generated=
|-|Generated=
<span>
<span>
# 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 configure your key mappings
# When finished click on '''Show as QR code'''
# When finished click on '''Show as QR code'''
# Power on your console and launch RehidHelper
# Power on your console and launch RehidHelper
Line 77:
Line 77:
<span>
<span>
<ol>
<ol>
<li>Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to generate your remappings</li>
<li>Go to [https://mikahjc.github.io/3dsRemapBuilder/config 3DS Remap Builder] to configure your key mappings</li>
<li>When finished click on '''Build this remap''' and download <code>rehid.json</code></li>
<li>When finished click on '''Build this remap''' and download <code>rehid.json</code></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>
<li>If you want the remapping to be used for a specific title, copy <code>rehid.json</code> to <code>rihid/(title ID)/</code> instead. You can find the title ID of your game using [https://3dsdb.com/ 3dsdb]</li></ul>
<li>If you want the remap to be used for a specific title, copy <code>rehid.json</code> to <code>rihid/(title ID)/</code> instead. You can find the title ID of your game using [https://3dsdb.com/ 3dsdb]</li></ul>
</li>
</li>
</ol>
</ol>
Line 89:
Line 89:
<span>
<span>
<ol>
<ol>
<li><p>Create a <code>rehid.json</code> file with the remappings you want. possible options include:</p>
<li><p>Create 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.<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>
<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>
<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>
<li>If you want the remapping to be used for a specific title, copy <code>rehid.json</code> to <code>rihid/(title ID)/</code> instead. You can find the title ID of your game using [https://3dsdb.com/ 3dsdb]</li></ul>
<li>If you want the remap to be used for a specific title, copy <code>rehid.json</code> to <code>rihid/(title ID)/</code> instead. You can find the title ID of your game using [https://3dsdb.com/ 3dsdb]</li></ul>
When finished click on Build this remap and download rehid.json
Copy rehid.json to a rehid folder on the root of your SD card
If you want the remap to be used for a specific title, copy rehid.json to rihid/(title ID)/ instead. You can find the title ID of your game using 3dsdb
Create a rehid.json file with the key mappings you want. possible options include:
"keys": which maps a key press to another key press. Possible Keys are: A, B, X, Y, SELECT, START, ZL, ZR, L, R, LEFT, RIGHT, UP, DOWN, CLEFT(CPAD), CRIGHT(CPAD), CUP(CPAD), CDOWN(C-PAD), CSLEFT(C-STICK), CSRIGHT(C-STICK), CSUP(C-STICK), CSDOWN(C-STICK)
For this example, it creates a box starting at x=10 y=20, with a height of 50 and a width of 100.
Other options include: "cpadtodpad":true maps the C-pad with D-pad key presses "dpadtocpad":true maps the D-pad with C-pad key presses "overidecpadpro":true makes it so games don't recognize the circle pad pro "homebutton": maps the HOME button to a key press
These Options can be strung together into a single line, for example:
Copy rehid.json to a rehid folder on the root of your SD card
If you want the remap to be used for a specific title, copy rehid.json to rihid/(title ID)/ instead. You can find the title ID of your game using 3dsdb
Troubleshooting
An exception occurred
If your console crashes while booting with "an exception occurred" and the "current proccess:" is hid, you may have an old version of Rehid thats causing issues. Look for and delete /luma/titles/0004013000001D02 and /luma/titles/0004013000003302. If these don't exist, you may have a more serious hardware issue, join the Nintendo Homebrew Discord and ask, in English, for help.