yannbouteiller / vgamepad

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

Feature Request: FFB #3

Closed jrsmile closed 2 years ago

jrsmile commented 3 years ago

Hi, first of all i love the simplicity of vgamepad no more vjoy shenanigans :-) But, i am missing a crutial part of the controller, the force feedback event. Would you be able to write some code to check for events or a blocking function that proceeds if ffb is registered?

Best regards, J

yannbouteiller commented 3 years ago

Hi, thanks for your interest! I have never needed the feedback functions in my projects but I believe they are implemented in vigem, so there is probably a way of implementing the bindings in vgamepad, I will look into this when I get some spare time :)

yannbouteiller commented 2 years ago

Hi, vgamepad now supports processing FFB from version 0.0.6 thanks to PR #7 :)

jrsmile commented 2 years ago

Hi, this is great news. Thank you very much.