Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Pro Controller Support? #55

Closed
hamhub7 opened this issue Sep 20, 2018 · 6 comments
Closed

Switch Pro Controller Support? #55

hamhub7 opened this issue Sep 20, 2018 · 6 comments

Comments

@hamhub7
Copy link

hamhub7 commented Sep 20, 2018

I play steam games using my Switch pro controller, and It works great. I have gotten my pro controller to work with your plugin, but the buttons are in the x-box controller layout. Is there any way that you could release a preset that would light up the correct buttons when pressed? I have tried for hours but yet I am unable to get anything close to what I am looking for. I can get the button labels in the right spot, but then when I press x, y will light up and vice versa. If not, maybe you could give me an explanation on how to make my own? Maybe I'm missing something simple. If not, thanks anyway!

@univrsal
Copy link
Owner

With the current version there's no way of changing the mappings.
I could give you a test build of 5.0, so you can test and see if you can get it to work there, although I can not guarantee stability.
I attached a build of the config creation tool, the new gamepad overlay and the plugin.

First extract and open io-cct.exe. Then select the texture path textbox and drag and drop gamepad.png into the window, then do the same with the gamepad.ini file.
After pressing 'OK' you should see the gamepad overlay. You can now select individual buttons and modify them like this:

gif

After selecting the keycode textbox try pressing the corresponding button on your controller, if the gamepad was correctly detected it should fill the textbox. If it doesn't work you can enter the keycode manually, but you'll have to figure out which button on the switch controller corresponds to which button on an xbox gamepad. Here's the keycodes for each button on an xbox gamepad:

PAD_A           0xEC00
PAD_B           0xEC01
PAD_X           0xEC02
PAD_Y           0xEC03
PAD_LB          0xEC04
PAD_RB          0xEC05
PAD_BACK        0xEC06
PAD_START       0xEC07
PAD_X_BOX_KEY   0xEC08
PAD_L_ANALOG    0xEC09
PAD_R_ANALOG    0xEC0A
PAD_DPAD_LEFT   0xEC0B
PAD_DPAD_RIGHT  0xEC0C
PAD_DPAD_UP     0xEC0D
PAD_DPAD_DOWN   0xEC0E
PAD_LT          0xEC0F
PAD_RT          0xEC10

gamepad.zip
io-cct v1-build 2.zip
input-overlay v5.zip

@hamhub7
Copy link
Author

hamhub7 commented Sep 24, 2018

So far, it looks like it's working! thanks so much!

@univrsal
Copy link
Owner

No problem, just keep in mind that this is still work in progress

@Ethan-Ka
Copy link

Ethan-Ka commented Sep 7, 2020

gif

What software is that? I would like to create my own overlays and I think that might be useful

Also great plugin! 10/10

@univrsal
Copy link
Owner

univrsal commented Sep 8, 2020

gif

* @univrsal

What software is that? I would like to create my own overlays and I think that might be useful

Also great plugin! 10/10

might wanna read the whole message

@Ethan-Ka
Copy link

Ethan-Ka commented Sep 8, 2020

might wanna read the whole message

im blind lol
sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants