@dank-inc/super-mouse
v0.5.8
Published
A dank mouse utility!
Downloads
16
Readme
SuperMouse™
A dank mouse utility that does some neat physics-esque stuff and handles modifier keys, to be used with creative applications :)
Examples
Give your users some nifty things to fidget with, all while letting SuperMouse™ do all the heavy lifting.
Mousewheel + Mouse Inertia
TODO
- [ ] Handler overrides
- [ ] Modifyer keymap
- [ ] add helpful message about keyevents in console
- [ ] State objects for each button / gesture
- [ ] gestures?
- [ ] moar listenerz
- [ ] docs
- [ ] update the demo
DONE
- [x] basic event listeners
- [x] hacky demo
- [x] dom target
LATER
- [ ] delta time on mouse move
- [ ] encapsulate scroll, position, etc into separate concerns
- [ ] add inertia to scroll behavior