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...")
 
No edit summary
Line 3: Line 3:
| image = https://dlhb.gamebrew.org/3dshomebrew/rehid.jpg|250px
| image = https://dlhb.gamebrew.org/3dshomebrew/rehid.jpg|250px
| type = Utilities
| type = Utilities
| version = v2.0
| version = v3.0 (7 Jun 2021)
| licence = Mixed
| licence = Mixed
| author = Kartik
| author = Kartik
Line 10: Line 10:
| source = https://dlhb.gamebrew.org/3dshomebrew/rehid.rar
| source = https://dlhb.gamebrew.org/3dshomebrew/rehid.rar
}}
}}
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==
'''Note:''' You need to have the latest luma for this to work correctly.
Download the latest release of rehidhelper.3dsx.
Open homebrew launcher and run the 3dsx.
Click A on the Download Rehid option.
Restart your 3DS.
==User guide==
===Remap Buttons===
You first need to create a rehid.json file with the remappings you want. The 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 you have the file ready, run rehidhelper again.
** Select the Scan QR code option, then scan your QR.
* 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.
Some premade configs can be found [https://github.com/Nanashi13/Rehid-configs-files-3DS here].
==Media==
<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==
'''v3.0 7 Jun 2021'''
* 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 12 May 2021'''
* Fixed the issue where gyros/motion controls did not work properly for some people.
 
'''v2.0 7 May 2021'''
* 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 22 Mar 2021'''
* First public release.


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:-
==Credits==
@luigoalma Help, testing and supports.


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;} ] }
Druivensap on discord server for testings.


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.
Luma3ds devs and contributors.


Latest release:v1.0 Any ideas/suggestions/bug reports are most welcome.
[[Category:3DS homebrew application]]
[[Category:Homebrew utility programs on 3DS]]

Revision as of 08:22, 4 July 2021

Template:Infobox 3DS homebrew

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

Note: You need to have the latest luma for this to work correctly.

Download the latest release of rehidhelper.3dsx.

Open homebrew launcher and run the 3dsx.

Click A on the Download Rehid option.

Restart your 3DS.

User guide

Remap Buttons

You first need to create a rehid.json file with the remappings you want. The file will contain what buttons you want to remap.

  • You can generate your rehid.json files using this site written by @mcaboosec.
    • Once you have the file ready, run rehidhelper again.
    • Select the Scan QR code option, then scan your QR.
  • Alternatively, you can manually generate your rehid.json file using the step by step guide written by @MarioKartFan.

Some premade configs can be found here.

Media

Changelog

v3.0 7 Jun 2021

  • 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 12 May 2021

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

v2.0 7 May 2021

  • 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 22 Mar 2021

  • First public release.

Credits

@luigoalma Help, testing and supports.

Druivensap on discord server for testings.

Luma3ds devs and contributors.

Advertising: