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
m (Text replacement - "{{Infobox-3DS-Homebrews" to "{{Infobox 3DS Homebrews")
m (Text replacement - "Category:Homebrew utility applications on 3DS" to "")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS Homebrews
{{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=v3.0
|author=hax0kartik (Kartik)
| lastupdated = 2021/06/07
|lastupdated=2023/07/21
| licence = Mixed
|type=Utilities
| author = Kartik (hax0kartik)
|version=4.0
| website = https://gbatemp.net/threads/wip-rehid-hid-module-rewrite-for-easy-button-remapping-and-more.585387/
|license=Mixed
| download = https://dlhb.gamebrew.org/3dshomebrew/rehidv3.7z
|download=https://dlhb.gamebrew.org/3dshomebrews/rehid.7z?k33p0fil35
| source = https://github.com/hax0kartik/rehid/
|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.  
Rehid is a HID module (which are responsible for user-input) rewrite with the aim of easier button remapping for the 3DS.  


Line 20: Line 21:


==Installation==
==Installation==
You need to have the latest [[Luma3DS|luma]] for this to work correctly.
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 release of rehidhelper.3dsx.
 
* Open homebrew launcher and run the 3dsx.
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.
* Click A on the Download Rehid option.
 
* Restart your 3DS and remap the buttons using one of the methods below (then apply your remapping file to use).
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==
==User guide==
===Remap Buttons===
===How to use===
You first need to create a rehid.json file with the remappings you want. The file will contain what buttons you want to remap.
Run the app on 3DS, and select the "Download rehid" option.


'''Option 1:'''
Reboot your 3DS.
* You can generate your rehid.json files using [https://mikahjc.github.io/3dsRemapBuilder/config this site] written by @mcaboosec.
* Once you have the file ready, run rehidhelper again.
* Select the Scan QR code option, then scan your QR.


'''Option 2:'''
Generate your remappings using https://mikahjc.github.io/3dsRemapBuilder/config
* Alternatively, you can manually generate your rehid.json file using the [https://www.reddit.com/r/3dshacks/comments/mihwk9/how_to_remap_controls_or_touch_screen/ step by step guide] written by @MarioKartFan.


===Premade 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].
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==
==Media==
Line 46: Line 81:


==Changelog==
==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'''
'''v3.0 2021/06/07'''
* You can now use luma's input redirection with rehid.
* You can now use luma's input redirection with rehid.
Line 89: Line 135:
* GBAtemp - https://gbatemp.net/threads/wip-rehid-button-remapping-for-3ds.585387
* GBAtemp - https://gbatemp.net/threads/wip-rehid-button-remapping-for-3ds.585387
* 3DS Remap Builder - https://mikahjc.github.io/3dsRemapBuilder/config
* 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


[[Category:3DS homebrew applications]]
[[Category:Support the author]]
[[Category:Homebrew utility applications on 3DS]]

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: