3DS:Rehid: Difference between revisions

From Hacks Guide Wiki
(initial commit)
 
(add manual remapping)
Line 62: Line 62:


==Remapping buttons==
==Remapping buttons==
<tabber>
|-|Generated=
<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 generate your remappings
# When finished click on '''Show as QR code'''
# When finished click on '''Show as QR code'''
Line 69: Line 72:
# 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
</span>
|-|Manual=
<span>
<ol>
<li> Create a <code>rehid.json</code> file with the remappings you want. for example:
<syntaxhighlight lang="json">{
    "keys":[
        {"get":"R", "press":"ZR"},
        {"get":"L", "press":"ZL"}
    ]
}</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>You can also do custom key combos. For example:</p>
<syntaxhighlight lang="json">{
    "keys":[
        {"get":"R", "press":"X+Y"},
        {"get":"L+R", "press":"SELECT"}
    ]
}</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>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>CRIGHT</code>(CPAD), <code>CLEFT</code>(CPAD), <code>CUP</code>(CPAD), <code>CDOWN</code>(CPAD)</p></li>
<li>Copy <code>rehid.json</code> to a <code>rehid</code> folder on the root of your SD card
<ul>
<li>If you want to 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>
</ol>
</span>
</tabber>


==Troubleshooting==
==Troubleshooting==

Revision as of 05:10, 27 March 2024

rehid is a rewrite of the 3DS' hid module, to allow for the remapping of buttons or the touch screen.

Installation

what you need

instructions

  1. Power on the console
  2. Launch Universal-Updater
  3. Tap the magnifying glass on the bottom screen, then search for rehid
  4. Press A while hovering over rehid from the list of homebrew
  5. Choose rehidhelper.cia
  6. Wait until the app installs
  7. Close Universal-Updater
  8. Launch rehidHelper and select Download Rehid
  9. Wait for it to download and reboot, then press B to exit the app
  10. Power off your Console
  11. While holding SELECT, power on your console to enter Luma3DS configuration
  12. Ensure that "Enable loading external FIRMs and modules" is selected
  13. Press START to save and exit

what you need

  • the latest release of rehid (the 0004013000001D02.cxi and rehidhelper.cia files)
  • FBI installed on your console
  • Luma3DS updated to 13.0+

Instructions

  1. Copy 0004013000001D02.cxi to sd:/luma/sysmodules/
    • Create the folder sysmodules if it doesn't exist
  2. Copy rehidhelper.cia to the root of your SD card
  3. Reinsert your SD card into your console
  4. Launch FBI and select SD -> rehidhelper.cia -> Install and delete CIA
  5. Press A and wait for the CIA to install, then exit FBI
  6. Power off your Console
  7. While holding SELECT, power on your console to enter Luma3DS configuration
  8. Ensure that "Enable loading external FIRMs and modules" is selected
  9. Press START to save and exit

Remapping buttons

  1. Go to 3DS Remap Builder to generate your remappings
  2. When finished click on Show as QR code
  3. Power on your console and launch rehidHelper
  4. Select Scan QR Code and scan the generated QR code from the website
  5. Press A to proceed
  6. Select a title from the list for the remap to be applied to, or select global for all titles
  7. Press start to exit

  1. Create a rehid.json file with the remappings you want. for example:
    {
        "keys":[
            {"get":"R", "press":"ZR"},
            {"get":"L", "press":"ZL"}
        ]
    }
    

    With the above, any time you press the ZR key, R key would be triggered, and any time you press the ZL key, L key would be triggered.

    You can also do custom key combos. For example:

    {
        "keys":[
            {"get":"R", "press":"X+Y"},
            {"get":"L+R", "press":"SELECT"}
        ]
    }
    

    With this any time you press X+Y, R key would be triggered, and any time you press the SELECT button, both L and R would be triggered.

    Possible Keys are: A, B, X, Y, SELECT, START, ZL, ZR, L, R, LEFT, RIGHT, UP, DOWN, CRIGHT(CPAD), CLEFT(CPAD), CUP(CPAD), CDOWN(CPAD)

  2. Copy rehid.json to a rehid folder on the root of your SD card
    • If you want to the remapping 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.