1. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    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,ZR, Cpad Pro(Cnub) can also be remapped
    • Different button remappings for different games
    Current Limitations:-

    No known limitations as of v3.0

    Instructions:-

    Instructions on how to create your rehid.json file:-
    This file will contain what buttons you want to remap.

    You can generate your rehid.json files using this site written by @mcaboosec
    or you can manually generate your rehid.json file using this step by step guide written by `@MarioKartFan

    Some premade configs can be found here


    Latest release: v3.0
    Any ideas/suggestions/bug reports are most welcome.

    You can help me develop rehid by joining this discord server and helping me test it out!
     
    Last edited by Kartik, Jun 7, 2021
  2. BETA215

    BETA215 GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    150
    Country:
    Argentina
    Fantastic! I've been wanting to remap CPAD directions to the DPAD, so I hope this works. Found an utility for this before but it wouldn't work.

    Will try it ASAP, big thanks for this :D
     
    Stealphie, Zurdonx, PZT and 1 other person like this.
  3. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    I am not sure if that'll work the way you're expecting it to. You could try, but according to me, CPAD->DPAD should require more changes to the rewrite itself.
     
    Stealphie likes this.
  4. BETA215

    BETA215 GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    150
    Country:
    Argentina
    Hmm, after pasting rehid title folder and creating its json, Luma won't even let me boot to settings and gives me this crash. Is it because of the nature of this remapping maybe? (change file txt extension to dmp)
     

    Attached Files:

  5. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    Can you paste the contents of your rehid.json file
     
  6. BETA215

    BETA215 GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    150
    Country:
    Argentina
    {
    "remappings":[
    {"get":"CUP", "press":"UP"},
    {"get":"CDOWN", "press":"DOWN"},
    {"get":"CLEFT", "press":"LEFT"},
    {"get":"CRIGHT", "press":"RIGHT"},
    {"get":"UP", "press":"CUP"},
    {"get":"DOWN", "press":"CDOWN"},
    {"get":"LEFT", "press":"CLEFT"},
    {"get":"RIGHT", "press":"CRIGHT"}
    ]
    }
     
  7. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    Could you copy one of those example files that is the post and check if they work? Also is this an o3ds or new3ds and do you have latest luma?
     
    Last edited by Kartik, Mar 22, 2021
  8. BETA215

    BETA215 GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    150
    Country:
    Argentina
    Copied swap X and Y example, and it crashed again. Downloaded and copied the plugin again in case it was some kind of corruption issue, but still crashes.
     

    Attached Files:

  9. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    I got multiple people to test it again and no one seems to able to repro this issue.
     
  10. ber71

    ber71 GBAtemp Regular
    Member

    Joined:
    Apr 24, 2019
    Messages:
    132
    Country:
    Spain
    Great homebrew.
    Any chance getting this working in ds mode?
     
  11. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    Nope, ds mode works differently.
     
  12. bob1212

    bob1212 GBAtemp Regular
    Member

    Joined:
    Nov 5, 2020
    Messages:
    109
    Country:
    United States
    So does this mean I can’t remap I think it was abxy to c stick for the ds call of duty games?
     
    Last edited by bob1212, Mar 23, 2021
  13. NanashiFinal13

    NanashiFinal13 GBAtemp Fan
    Member

    Joined:
    May 1, 2017
    Messages:
    356
    Country:
    Argentina
    Its possible to remap keys to the C-Stick/C-Nub?
     
  14. NanashiFinal13

    NanashiFinal13 GBAtemp Fan
    Member

    Joined:
    May 1, 2017
    Messages:
    356
    Country:
    Argentina
    Also, it crashes before booting the HOME menu. Tested on Old 3DS and New 3DS (regular, non XL), both consoles on latest firmware and the latest Luma version.
     
  15. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    Could you paste the contents of your rehid.json file. Also make sure you're using vanilla luma, i.e., not using the 3gx loader luma or some other variant.

    — Posts automatically merged - Please don't double post! —

    Nope, ds games under twl mode.
     
    Nutez likes this.
  16. bob1212

    bob1212 GBAtemp Regular
    Member

    Joined:
    Nov 5, 2020
    Messages:
    109
    Country:
    United States
    A rehid.json? I’m afraid I’m not sure where that is exactly I don’t have one
     
  17. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    I was asking @NanashiFinal13 for the rehid.json file and not you :P.
     
  18. NanashiFinal13

    NanashiFinal13 GBAtemp Fan
    Member

    Joined:
    May 1, 2017
    Messages:
    356
    Country:
    Argentina
    I was using the 3gx loader luma, i tried with vanilla version and works great! Its a shame that isn't compatible with 3gx loader. Its possible to remap keys to the C-Stick/C-Nub?

    — Posts automatically merged - Please don't double post! —

    Also, can you make rehid compatible with 3gx loader luma or that is impossible?
     
  19. Kartik

    OP Kartik GBAtemp Advanced Fan
    Member

    Joined:
    Jun 6, 2015
    Messages:
    615
    Country:
    India
    I think I was able to fix this issue but I am waiting for someone to check if it works for them too, meanwhile here is the "probably-fixed" version if you want to test.
    What keys do you want to map to the C-Stick? Rn, it is not supported but I can look into adding support.
     

    Attached Files:

    Arcano_cz and NanashiFinal13 like this.
  20. NanashiFinal13

    NanashiFinal13 GBAtemp Fan
    Member

    Joined:
    May 1, 2017
    Messages:
    356
    Country:
    Argentina
    Still crashes with 3gx loader version. I just wandering if you can remap to the C-Stick because im curious, that's all :P
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - remapping, Button, [WIP]