HID module rewrite with the aim of easier button remapping and more.
You need to have the latest luma for this to work correctly.
rehidhelper.cia
from the latest releaseA
on the Download Rehid
option. Your 3DS will automatically reboot after this step.You first need to create a rehid.json
file with the remappings you want. For eg:-
{
"keys":[
{"get":"R", "press":"ZR"},
{"get":"L", "press":"ZL"}
]
}
With the above, everytime you press ZR
key, R
key would be triggered,
and everytime you press ZL
key, L
key would be triggered.
It is also possible to do custom key combos, i.e.,
{
"keys":[
{"get":"R", "press":"X+Y"},
{"get":"L+R", "press":"SELECT"}
]
}
Now everytime you press X+Y
, R
key would be triggered and on pressing 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)
Copy your rehid.json
file to the rehid
folder.
It is possible to have different button remapings for different titles:-
Inside the rehid
folder, create a folder with the titleid as the folder name.
You can use this to find the titleid for your game.
Copy the rehid.json
file inside this folder.
Get devkitpro, ctrulib and makerom and then make -j
to compile.
@luigoalma Help, testing and listening to my rants.
Druivensap on my discord server for helping me test out.
Luma3ds devs and contributors