More actions
Over the last few months, I have been working on reimplementing 3ds hid module(this module is responsible for user-input), with the aim of easier button remapping. I have always wanted to swap ZL and L, R and ZR. It mostly works, which is why I am releasing it.
Features: Button remapping with the help of a json file IR module is patched automatically so ZL and ZR can also be remapped Different button remappings for different games Current Limitations:- Gyroscope and accelerometer won't work as they haven't been implemented by me yet Luma's input redirection will be broken Instructions:-
This only works with vanilla luma as of v1.0, it will not work if you have the 3gx loader or some other variant of luma3ds! Grab the latest release from the github release page. Extract the zip to /luma/titles
Create a folder named rehid
on the root of your sd card Copy the rehid.json
file to this folder(instructions on how to create the file are given later in this post) Enable Game Patching Open your game and check if rebindings work. Instructions on how to create your rehid.json file:- This file will contain what buttons you want to remap. For e.g., if I want to swap the X and Y button, the contents of this file would be:- Spoiler: Swap X and Y { "remappings":[ {"get":"X", "press":"Y"}, {"get":"Y", "press":"X"} ] } Similarly, If I wanted to remap ZR to R key, so that everytime I press ZR key, R key is triggered, the content would be:- Spoiler: ZR->R { "remappings":[ {"get":"R", "press":"ZR"} ] }
It is also possible to do key-combos, for e.g., if I want to trigger R+L whenever START is pressed and Y to trigger whenever A+X is pressed, I could create a file as such Spoiler: Key Combos { "remappings":[ {"get":"R+L", "press":"START"}, {"get":"Y", "press":"A+X"} ] } Different button-remappings for different games:- It is also possible to have different remappings for different games, at once. To do this:- Find the titleid for your game. Create a folder with the name of titleid of your game in the rehid folder Copy the rehid.json file to the titleid folder instead of directly to rehid folder.
Latest release:v1.0 Any ideas/suggestions/bug reports are most welcome.