yannbouteiller / vgamepad

Virtual XBox360 and DualShock4 gamepads in python
MIT License
169 stars 21 forks source link

Mappings for Xbox 360 Joystick clicks ? #12

Closed XLuma closed 2 years ago

XLuma commented 2 years ago

Hello ! First of all, I want to thank you for working on this library and maintaining it, it makes working with XInput and integrating it a breeze.

I noticed today when I wanted to implement some stuff using the joystick clicks, that vgamepad had no mapping for them. Was there plans to add support for that ? They may be the only inputs not supported yet in vgamepad, I haven't checked if they were in VigEm though.

Thanks again for working on this :)

yannbouteiller commented 2 years ago

Hi, glad you like vgamepad :) I expect vigem to support this, I have no access to my PC right now but I will look into this in a couple days.

XLuma commented 2 years ago

Hi, glad you like vgamepad :) I expect vigem to support this, I have no access to my PC right now but I will look into this in a couple days.

Thank you so much !

yannbouteiller commented 2 years ago

Well, I just checked on gamepad tester and they are implemented in vgamepad: these are XUSB_GAMEPAD_LEFT_THUMB and XUSB_GAMEPAD_RIGHT_THUMB :)