zeth / inputs

Cross-platform Python support for keyboards, mice and gamepads
BSD 3-Clause "New" or "Revised" License
269 stars 87 forks source link

Checking if the button is still pressed #70

Open ghost opened 5 years ago

ghost commented 5 years ago

I'm trying to make a script to controll my drone and I need to not if the button is still pressed. The event is being returned only on the first button press, but I need to know if the user is still holding the button. Probably there is a way to do this using the library, but I can't find anything in Docs