inputs
inputs copied to clipboard
inputs.UnknownEventType: We don't know what kind of event a Key is.
code:
print(inputs.DeviceManager().gamepads[0].read())
I also have this issue. To detect gamepads which have been plugged in after the program is started, you need to create a new DeviceManager()
instance. However, whenever I try to use a gamepad gotten from a new DeviceManager
instance, I get an inputs.UnknownEventType
error.