marklovers / kaplay

🦖 A JavaScript game library
https://kaplayjs.com
MIT License
230 stars 14 forks source link

feat: getTypeOfLastInput() #147

Open amyspark-ng opened 2 weeks ago

amyspark-ng commented 2 weeks ago

Is your feature request related to a problem? Please describe.

It's nice we got the new types of bindings but i'd be cool if you wanted to do a settings menu and you want to get the type of last input (if it's a mouse keyboard or gamepad) so you could change icons or something!