Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Rehid 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = rehid | image = https://dlhb.gamebrew.org/3dshomebrew/rehid.jpg|250px | type = Utilities | version = v2.0 | licence = Mixed | author = Kartik...")
 
m (Text replacement - "Category:Homebrew utility applications on 3DS" to "")
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = rehid
|title=rehid
| image = https://dlhb.gamebrew.org/3dshomebrew/rehid.jpg|250px
|image=Rehid2.png
| type = Utilities
|description=Hid module rewrite for easy button remapping and more.
| version = v2.0
|author=hax0kartik (Kartik)
| licence = Mixed
|lastupdated=2023/07/21
| author = Kartik
|type=Utilities
| website = https://gbatemp.net/threads/wip-rehid-hid-module-rewrite-for-easy-button-remapping-and-more.585387/
|version=4.0
| download = https://dlhb.gamebrew.org/3dshomebrew/rehid.rar
|license=Mixed
| source = https://dlhb.gamebrew.org/3dshomebrew/rehid.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/rehid.7z?k33p0fil35
|website=https://gbatemp.net/threads/wip-rehid-hid-module-rewrite-for-easy-button-remapping-and-more.585387
|source=https://github.com/hax0kartik/rehid
|donation=https://ko-fi.com/hax0kartik
}}
}}
Rehid is a HID module (which are responsible for user-input) rewrite with the aim of easier button remapping for the 3DS.
==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.
==Installation==
You need to have the latest [[Luma3DS]] for this to work correctly. Hold Select while Powering up your 3DS and enable game patching from the Luma 3DS menu.
Download the latest version from the [https://github.com/hax0kartik/rehid/releases/ release page], install rehidhelper using [[FBI 3DS|FBI]] and then use rehidhelper to install rehid.
If you've installed rehid previously, please delete the /luma/titles/0004013000001D02 and /luma/titles/0004013000003302 folder manually and then reinstall rehid using the new rehidhelper.
==User guide==
===How to use===
Run the app on 3DS, and select the "Download rehid" option.
Reboot your 3DS.
Generate your remappings using https://mikahjc.github.io/3dsRemapBuilder/config
Scan the generated remapping using the rehidhelper app.
===Make your own remappings===
The rehid.json file will contain what buttons you want to remap.
You can generate your rehid.json files using [https://mikahjc.github.io/3dsRemapBuilder/config this site] written by @mcaboosec. Once completed, run rehidhelper and choose the Scan QR code option.
Or you can manually generate your rehid.json file using [https://www.reddit.com/r/3dshacks/comments/mihwk9/how_to_remap_controls_or_touch_screen/ this step by step guide] written by @MarioKartFan. Then put the rehid.json file inside this folder.
===rehid.json sample===
<pre class="language-json">{
    &quot;keys&quot;:[
        {&quot;get&quot;:&quot;R&quot;, &quot;press&quot;:&quot;ZR&quot;},
        {&quot;get&quot;:&quot;L&quot;, &quot;press&quot;:&quot;ZL&quot;}
    ]
}
</pre>
With the above, everytime you press <code>ZR</code> key, <code>R</code> key would be triggered,
and everytime you press <code>ZL</code> key, <code>L</code> key would be triggered.
It is also possible to do custom key combos, i.e.,
<pre class="language-json">{
    &quot;keys&quot;:[
        {&quot;get&quot;:&quot;R&quot;, &quot;press&quot;:&quot;X+Y&quot;},
        {&quot;get&quot;:&quot;L+R&quot;, &quot;press&quot;:&quot;SELECT&quot;}
    ]
}
</pre>
Now everytime you press <code>X+Y</code>, <code>R</code> key would be triggered and on pressing <code>SELECT</code> button, both <code>L</code> and <code>R</code> would be triggered.
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)
===Premade mappings===
Some premade configs can be found [https://github.com/Nanashi13/Rehid-configs-files-3DS here].
===Reset mapping===
Delete the json file in the rehid folder, or disable game patching.
==Media==
'''How to Remap 3DS Buttons - Rehid (Portuguese)''' ([https://www.youtube.com/watch?v=XZIEHi2_0O0 Planeta 3DS]) <br>
<youtube>XZIEHi2_0O0</youtube>
<youtube>XZIEHi2_0O0</youtube>


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.
==Changelog==
'''v4.0 2023/07/21'''
* Add debugpad support.
* Fix bugs in CPAD>DPAD and DPAD>CPAD remappings.
* Fix a bug where global remaps would not be applied on the home menu after you close a title.
* Rehidhelper has been rewritten and should be more stable.
* Rehidhelper is now available as a CIA and can be installed on the home screen directly.
* Add experimental support for turbofire/autofire. For further details, you can look at this post.
* Luma v13.0 support has been added by moving to CXI-based patching. This release will only work with luma v13.0 and above
** For newcomers, please download and install rehidhelper using FBI and then use rehidhelper to install rehid.
** If you've installed rehid previously, please delete the /luma/titles/0004013000001D02 and /luma/titles/0004013000003302 folder manually and then reinstall rehid using the new rehidhelper.
 
'''v3.0 2021/06/07'''
* You can now use luma's input redirection with rehid.
** With this there is no real disadvantage of using rehid over stock hid.
* Fix touch screen bounds.
** This was being caused as rehid did not respect touchscreen calibration.
* You can now also do TOUCH>KEY binding.
* Fix a bug where rehidhelper created folders with wrong titleid.
* For people with broken home menu button, you can now remap your home button to a key combo.
 
'''v2.1 2021/05/12'''
* Fixed the issue where gyros/motion controls did not work properly for some people.
 
'''v2.0 2021/05/07'''
* Rehid now supports custom luma builds(plugin/3gx).
** The previous version crashed when using custom luma builds, this was fixed.
* IR patches have been rewritten.
** CPad Pro/cnub can now be remapped using the JSON file.
** The previous IR patches were unstable and CPAD Pro/cnub did not work with some games. The patches were rewritten from ground up, correcting this behavior.
* Rehid now also supports the following remappings:
** Keys > touchscreen.
** Keys > CPAD.
** DPAD > CPAD.
** CPAD > DPAD.
* Accelerometer/Gyroscope has been implemented.
** This fixes multiple issues like games getting stuck and 3D being unstable.
* Introduce Rehidhelper.
** Rehidhelper is a hb app which makes it easier to install rehid/generate remappings.
** You can now easily generate your remappings using [https://mikahjc.github.io/3dsRemapBuilder/config this site] written by @mikahjc and then scan the generated QR with the app instead of having to manually edit the json file.
 
'''v1.0 2021/03/22'''
* First public release.
 
==Credits==
@luigoalma Help, testing and supports.
 
Druivensap on discord server for testings.
 
Luma3ds devs and contributors.


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:-
==External links==
* GitHub - https://github.com/hax0kartik/rehid
* GBAtemp - https://gbatemp.net/threads/wip-rehid-button-remapping-for-3ds.585387
* 3DS Remap Builder - https://mikahjc.github.io/3dsRemapBuilder/config
* Reddit - https://www.reddit.com/r/3dshacks/comments/nu6h6n/release_rehid_v30_button_remapping_for_3ds_now
* Reddit - https://www.reddit.com/r/3dshacks/comments/n6c36y/release_rehid_v20_button_remapping_for_3ds
* Reddit - https://www.reddit.com/r/3dshacks/comments/mavd7a/release_rehid_hid_module_rewrite_for_easy_button


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 <code>/luma/titles</code> Create a folder named <code>rehid</code> on the root of your sd card Copy the <code>rehid.json</code> 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 { &quot;remappings&quot;:[ {&quot;get&quot;:&quot;X&quot;, &quot;press&quot;:&quot;Y&quot;}, {&quot;get&quot;:&quot;Y&quot;, &quot;press&quot;:&quot;X&quot;} ] } 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-&gt;R { &quot;remappings&quot;:[ {&quot;get&quot;:&quot;R&quot;, &quot;press&quot;:&quot;ZR&quot;} ] }


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 { &quot;remappings&quot;:[ {&quot;get&quot;:&quot;R+L&quot;, &quot;press&quot;:&quot;START&quot;}, {&quot;get&quot;:&quot;Y&quot;, &quot;press&quot;:&quot;A+X&quot;} ] } 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.
[[Category:Support the author]]

Latest revision as of 05:47, 6 Mayıs 2024

rehid
Rehid2.png
General
Authorhax0kartik (Kartik)
TypeUtilities
Version4.0
LicenseMixed
Last Updated2023/07/21
Links
Download
Website
Source
Support Author

Rehid is a HID module (which are responsible for user-input) rewrite with the aim of easier button remapping for the 3DS.

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.

Installation

You need to have the latest Luma3DS for this to work correctly. Hold Select while Powering up your 3DS and enable game patching from the Luma 3DS menu.

Download the latest version from the release page, install rehidhelper using FBI and then use rehidhelper to install rehid.

If you've installed rehid previously, please delete the /luma/titles/0004013000001D02 and /luma/titles/0004013000003302 folder manually and then reinstall rehid using the new rehidhelper.

User guide

How to use

Run the app on 3DS, and select the "Download rehid" option.

Reboot your 3DS.

Generate your remappings using https://mikahjc.github.io/3dsRemapBuilder/config

Scan the generated remapping using the rehidhelper app.

Make your own remappings

The rehid.json file will contain what buttons you want to remap.

You can generate your rehid.json files using this site written by @mcaboosec. Once completed, run rehidhelper and choose the Scan QR code option.

Or you can manually generate your rehid.json file using this step by step guide written by @MarioKartFan. Then put the rehid.json file inside this folder.

rehid.json sample

{
    "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+YR key would be triggered and on pressing SELECT button, both L and R would be triggered.

Possible Keys are:- ABXYSELECTSTARTZLZRLRLEFTRIGHTUPDOWNCRIGHT(CPAD), CLEFT(CPAD), CUP(CPAD), CDOWN(CPAD)

Premade mappings

Some premade configs can be found here.

Reset mapping

Delete the json file in the rehid folder, or disable game patching.

Media

How to Remap 3DS Buttons - Rehid (Portuguese) (Planeta 3DS)

Changelog

v4.0 2023/07/21

  • Add debugpad support.
  • Fix bugs in CPAD>DPAD and DPAD>CPAD remappings.
  • Fix a bug where global remaps would not be applied on the home menu after you close a title.
  • Rehidhelper has been rewritten and should be more stable.
  • Rehidhelper is now available as a CIA and can be installed on the home screen directly.
  • Add experimental support for turbofire/autofire. For further details, you can look at this post.
  • Luma v13.0 support has been added by moving to CXI-based patching. This release will only work with luma v13.0 and above
    • For newcomers, please download and install rehidhelper using FBI and then use rehidhelper to install rehid.
    • If you've installed rehid previously, please delete the /luma/titles/0004013000001D02 and /luma/titles/0004013000003302 folder manually and then reinstall rehid using the new rehidhelper.

v3.0 2021/06/07

  • You can now use luma's input redirection with rehid.
    • With this there is no real disadvantage of using rehid over stock hid.
  • Fix touch screen bounds.
    • This was being caused as rehid did not respect touchscreen calibration.
  • You can now also do TOUCH>KEY binding.
  • Fix a bug where rehidhelper created folders with wrong titleid.
  • For people with broken home menu button, you can now remap your home button to a key combo.

v2.1 2021/05/12

  • Fixed the issue where gyros/motion controls did not work properly for some people.

v2.0 2021/05/07

  • Rehid now supports custom luma builds(plugin/3gx).
    • The previous version crashed when using custom luma builds, this was fixed.
  • IR patches have been rewritten.
    • CPad Pro/cnub can now be remapped using the JSON file.
    • The previous IR patches were unstable and CPAD Pro/cnub did not work with some games. The patches were rewritten from ground up, correcting this behavior.
  • Rehid now also supports the following remappings:
    • Keys > touchscreen.
    • Keys > CPAD.
    • DPAD > CPAD.
    • CPAD > DPAD.
  • Accelerometer/Gyroscope has been implemented.
    • This fixes multiple issues like games getting stuck and 3D being unstable.
  • Introduce Rehidhelper.
    • Rehidhelper is a hb app which makes it easier to install rehid/generate remappings.
    • You can now easily generate your remappings using this site written by @mikahjc and then scan the generated QR with the app instead of having to manually edit the json file.

v1.0 2021/03/22

  • First public release.

Credits

@luigoalma Help, testing and supports.

Druivensap on discord server for testings.

Luma3ds devs and contributors.

External links

Advertising: