Lydzje / lynput

Lynput is an input library for LÖVE that makes input handling very easy and intuitive :blue_heart:
MIT License
38 stars 2 forks source link

Multi-button actions #9

Open UndeadTwo opened 5 years ago

UndeadTwo commented 5 years ago

I've done some refactoring to make the code base a bit cleaner, and implemented chording (a name for multiple simultaneous button presses as a single action) for binary inputs. Currently, analog inputs (sticks and triggers) aren't tested and are not expected to be supported for chording. Please review these changes and let me know any additional changes you'd want made before you're ready to merge this into master.

Lydzje commented 5 years ago

Thank you so much for your contribution, as soon as I review the changes I'll let you know.