hid-mitm v0.1.2 Released

hid-mitm v0.1.2 Released


jakibaki has released a new version of his NSP format plugin called hid-mitm which is a sysmodule mitming the Horizon hid (human interface device) services. hid-mitm allows you to reconfigure the gamepad mapping and/or use external unsupported bluetooth based HID devices (such as using a Dualshock 4 controller) on your homebrew enabled Nintendo Switch hybrid video gaming console.

What's New?

Quote:
No new features, just a fix for 8.1 until some proper hid-mitm alternative comes along (the approach used in hid-mitm is obsolete)

Thanks to everyone in the 8.1 support issue for figuring that out!
 
thanks to @friedkeenan's great contributions hid-mitm has support for setting deadzones now https://github.com/jakibaki/hid-mitm/blob/master/hid_mitm/config.ini#L4
Description

hid-mitm is a sysmodule mitming the Horizon hid (human interface device) services. hid-mitm allows you to reconfigure the gamepad mapping and/or use external unsupported bluetooth based HID devices (such as using a Dualshock 4 controller) on your homebrew enabled Nintendo Switch hybrid video gaming console. hid-mitm is best used with the Kosmos all-in-one homebrew solution as it includes an easy to use configuration GUI, but can also be used in vanilla atmosphere with manual configuration.

Features

*   Rebind buttons on your gamepads.
*   Use custom gamepads on your nintendo switch by using your phone/pc as a proxy.
Instructions

[ Setup ]

While hid-mitm will work perfectly fine on stock atmosphere and possibly reinx the recommended setup is to download the latest [Kosmos](https://github.com/AtlasNX/Kosmos) since it comes preconfigured with the awesome Kosmos Toolbox which allows you to easily configure hid-mitm.

On Kosmos it's just a matter of opening the Kosmos Toolbox, enabling the hid-mitm sysmodule and rebooting.

On Atmosphere, installing hid-mitm can be done by dragging the content of the [release](https://github.com/jakibaki/hid-mitm/releases).

No help for ReiNX is provided, if it runs that's fine but if you run into problems please try on a supported cfw before reporting.

No support whatsoever for sxos.

[ Usage ]

Rebinding Buttons

Simply open the Kosmos toolbox, go to the sysmodule menu and continue to the hid-mitm menu from there (it's a simple button-press explained in the bottom bar)

After that a screen will pop up in which you can select the button you want to rebind and then what you want it to rebind for.
After you're done, be sure to touch the button in the middle to save your changes.

You can also configure it manually by editing the `/modules/hid_mitm/config.ini` file.

Custom Gamepads

The way that custom gamepads work with hid-mitm is not by directly connecting the gamepad to your switch but by connecting your gamepad to your phone (and experimentally pc) and then running the hid-mitm app which then in turn sends the input to your switch which will recognize it as an additional pro-controller.

Download the `companion_apps.zip` from the [release page](https://github.com/jakibaki/hid-mitm/releases).

Android

*   Install the `hid-mitm.apk` from the zip on your phone.
*   Make sure that your switch has hid-mitm enabled and is connected to the same network as your phone. You can use 90dns if you don't want your switch to connect to nintendos servers.
*   Connect your gamepad to your phone
*   Enter the ip-address of your nintendo switch in the hid-mitm app (it can be found in the network settings) and press "connect"
*   Your switch now should now pick up your gamepad as an additional pro-controller! :)

iOS

*   Install the `hid-mitm.ipa` from the zip on your phone. You can use Cydia Impactor for that, don't worry it will work just fine even without a jailbreak.
*   Make sure that your switch has hid-mitm enabled and is connected to the same network as your phone. You can use 90dns if you don't want your switch to connect to nintendos servers.
*   Connect your gamepad to your phone (please note that apple is rather restrictive with the choice of gamepads that they allow you to use)
*   Enter the ip-address of your nintendo switch in the hid-mitm app (it can be found in the network settings) and press "connect"
*   Your switch now should now pick up your gamepad as an additional pro-controller! :)

As a workaround to iOS not recognizing a plus and minus button `l1+l2+r1+r2+x` will result in a `plus` and `l1+l2+r1+r2+dpad-left` in a `minus`.

Hid-mitm can also easily be repurposed to do scripted inputs (for example a "twitch plays").
Check out the `input_pc.py` for some reference of how to talk to hid-mitm.

Changelog

v0.1.2

No new features, just a fix for 8.1 until some proper hid-mitm alternative comes along (the approach used in hid-mitm is obsolete)

Thanks to everyone in the 8.1 support issue for figuring that out!

EDIT: Sorry I'm an idiot: thanks to @friedkeenan's great contributions hid-mitm has support for setting deadzones now https://github.com/jakibaki/hid-mitm/blob/master/hid_mitm/config.ini#L4

v0.1.1

* This release is just a hotfix for 8.0 support being broken.
* Also moves the config path from /modules to /config

v0.1

* Initial release - Please check out the Readme for more information.
Links & Downloads
https://github.com/jakibaki/hid-mitm/releases

Post a Comment

0 Comments