Closed zarlicho closed 2 years ago
Hello, can you paste the traceback of the error you get, please?
(PS: if you are using left_joystick_float(), make sure you are passing values between -1.0 and +1.0)
I have resolved the error but a bug appears, the virtual gamepad is read by pygame so looping occurs
Haha I see. You need a way to find out which one is the virtual gamepad so as to ignore it in pygame I guess.
The get_guid() and get_name() methods in pygame might help you here. Or maybe simpler : try creating the Joystick object in pygame before creating the virtual gamepad.
ok i try
I use float data from ps3 controller with pygame as vgamepad input, but I have an error so I can't. does anyone want to try my code?