https://github.com/procedural/ofxInputKeys
Ever wanted to know how long your button is pressed, use mouse wheel or handle double clicks properly with respect of system’s sensivity settings? Well, now you can
https://github.com/procedural/ofxInputKeys
Ever wanted to know how long your button is pressed, use mouse wheel or handle double clicks properly with respect of system’s sensivity settings? Well, now you can
Very nice!
This doesn’t handle keys, but is related, attempting to create a common events system for pen, touch and mouse pointers.
That’s a good idea, Christopher! As more computers have touch screens built in them nowadays, I think openFrameworks should pick up this addon and use it by default in near future.
As I can see your onPointerDoublePress works only for double taps for now? Mouse double click can be treated like double press too. ofxInputKeys even tracks double presses for keyboard keys…
The addon is renamed to ofxImmediateModeInput to better reflect its purpose, and support for tablets under Linux was added.