Homebrew RELEASE HID-Mitm: Rebind buttons and use custom gamepads on your switch!

NoNAND

Give me back my legions!
Member
Joined
Aug 22, 2015
Messages
2,274
Trophies
1
Location
Somewhere
XP
5,065
Country
Albania
i tried this one out and it works really well with all of my switch games except for xenoblade 2
it crashes the game throwing me back at the home menu
i'm using ams 0.8.9
 

jammybudga777

Well-Known Member
Member
Joined
Aug 23, 2013
Messages
2,284
Trophies
1
Age
37
XP
2,193
Country
would be an awesome feature to have multiple controllers. also has anyone tested ps4 and xbox one controllers via bluetooth? i have both and the xbox controller seems to have no lag while the ps4 is abit choppy at times?
 

sergiou87

Active Member
Newcomer
Joined
Apr 28, 2019
Messages
31
Trophies
0
Age
36
XP
749
Country
Spain
It works pretty well!! Nice job!

Will it be possible at some point to connect the controllers to the Switch without using a companion app?
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,820
Trophies
0
Location
Yorosso
XP
3,136
Country
Mali
would be an awesome feature to have multiple controllers. also has anyone tested ps4 and xbox one controllers via bluetooth? i have both and the xbox controller seems to have no lag while the ps4 is abit choppy at times?

Network maybe?
If you're using a phone maybe using a cable will help?
 
  • Like
Reactions: jammybudga777

Karones

Well-Known Member
Newcomer
Joined
Dec 31, 2018
Messages
64
Trophies
0
Age
24
XP
1,274
Country
Brazil
I might be doing something really dumb, but I can't get the switch to detect the controller. It has the hid-mitm sysmodule ON, it is connected to the same network as my pc with a medium signal, I run start.bat and input the IP address of my switch(I've checked multiple times if the IP is correct), it says "Joystick 0 connected" and open an empty window called HID-MITM. I only have my xbone controller connected and if I disconnect it then after inputing the IP it doesn't say anything and only opens the empty window, so I believe it is correctly recognizing my controller. Any ideas?
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,820
Trophies
0
Location
Yorosso
XP
3,136
Country
Mali
I must be one of the few people to use the original tinfoil homebrew: I've had a weird issue were launching tinfoil the joycons would stop working. But if connected wirelessly they would work. It turns out this happens when Hid-mitm is on.
 
  • Like
Reactions: Mothafuckka

Mothafuckka

Well-Known Member
Newcomer
Joined
Nov 29, 2018
Messages
45
Trophies
0
Age
34
Location
São Paulo
XP
397
Country
Brazil
I might be doing something really dumb, but I can't get the switch to detect the controller. It has the hid-mitm sysmodule ON, it is connected to the same network as my pc with a medium signal, I run start.bat and input the IP address of my switch(I've checked multiple times if the IP is correct), it says "Joystick 0 connected" and open an empty window called HID-MITM. I only have my xbone controller connected and if I disconnect it then after inputing the IP it doesn't say anything and only opens the empty window, so I believe it is correctly recognizing my controller. Any ideas?

The window empty must be in front of everything, if you change the window, the controller stops to respond on switch.


Sent from my iPhone using Tapatalk
 

Mothafuckka

Well-Known Member
Newcomer
Joined
Nov 29, 2018
Messages
45
Trophies
0
Age
34
Location
São Paulo
XP
397
Country
Brazil
I must be one of the few people to use the original tinfoil homebrew: I've had a weird issue were launching tinfoil the joycons would stop working. But if connected wirelessly they would work. It turns out this happens when Hid-mitm is on.

Yes it does.
I am one of the few people that use the original tinfoil as well.
Lol


Sent from my iPhone using Tapatalk
 

Paperpomf

Member
Newcomer
Joined
Apr 2, 2017
Messages
14
Trophies
0
Age
36
XP
368
Country
Mexico
i tried this one out and it works really well with all of my switch games except for xenoblade 2
it crashes the game throwing me back at the home menu
i'm using ams 0.8.9

same problem, same game. crashes as soon as you start running around. and by some reason i cant access the homebrew menu (r+a).
 

NFates

Wants to understand™
Member
Joined
Mar 13, 2016
Messages
646
Trophies
0
Location
Probably home.
XP
2,709
Country
Dominican Republic
This happened to me the other day and I forgot to put it on this thread.
So, GameCube controllers (2) aren't connecting, but only in Smash. I tested Cuphead and Mario Kart 8 Deluxe, and they work flawlessly, but in Smash they won't even show up. Tried restarting the console and game, changing controller ports and USB ports, and reinstalling update. Doesn't work.

Things to take in account:

1- They worked before, but now I installed the 3.0.1 update and they don't anymore.

2- The game is a cartridge.

3- Running FW 8.0.1 and Atmosphere 0.8.9 with sweet patches.

Thanks for any input!

EDIT: The "only" in the title is not supposed to be there, lol
 

Hambrew

Well-Known Member
Member
Joined
Oct 9, 2018
Messages
597
Trophies
0
Location
Yoyle City
XP
1,600
Country
United States
hid-mitm

This is the official discussion-thread of hid-mitm.

https://github.com/jakibaki/hid-mitm

Disclaimer:
This sysmodule is in beta! Problems are to be expected. If you encounter any that aren't listed in the known issues section please report it here if nobody else did already.

Features
  • Rebind buttons on your gamepads.

  • Use custom gamepads on your nintendo switch by using your phone/pc as a proxy.
Setup
While hid-mitm will work perfectly fine on stock atmosphere and possibly reinx the recommended setup is to download the latest 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.

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.

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.

Known issues
  • In some games the "connect gamepad" dialog will pop up every few minutes when playing in multiplayer with a custom gamepad connected
  • There are various problems that happen if hid-mitm and sys-ftpd are enabled at the same time.
  • Some phones have a terrible bluetooth connection which will result in input-delay if using bluetooth gamepads. I can't do anything about that, that's an issue with android.
  • On some wifi-networks iPhones have problems which will result in terrible input delay. You can work around this by just opening a hotspot on your phone and letting the switch connect to that. If you don't want your switch to use up mobile data be sure to enable 90dns.
  • Some gamepads won't have their inputs mapped correctly on android.
    If anyone who has experience with android development wants to get that fixed by adding some kind of "setup interface" it would be greatly appreciated.
  • Tetris 99 doesn't want to recognize custom gamepads for some reason
  • The switch doesn't seem to accept using the custom gamepad as "activity" so the screen will automatically fade out after a while. You can work around that by turning off the auto-screen-off feature in the system settings.
Planned features
  • Support for connecting multiple custom gamepads
  • Support for motion controls
  • (maybe) vibration support
  • Support for "disguising" gamepads as something else. To allow for example to play pokemon with a pro-controller.
Support
The best way to get your questions answered is by asking in the AtlasNX discord.
this is the HID-VPAD Switch counterpart. The Switch truly is the console of rereleases.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
  • BakerMan @ BakerMan:
    fellas
    BakerMan @ BakerMan: fellas