Convert Mouse Movements Into Actions: Moousture
6
Jan
// php the_time('Y') ?>
Moousture is a JavaScript mouse gesture library, built with MooTools.
It simply checks the mouse movements & catches them if they follow any given route.
The library is very customizable. Variables like:
- miliseconds mouse movements will be traced
- interval of the number of mouse steps
- errored movements to be ignored (in pixels)
can be defined.
With the help of a direction pad, new gestures can be created by simply mentioning their numbers in an order like:
gstr.addGesture([4,3,2,1,0,], functionName); would be a "u" character.
The Moousture is also compatible with most of the mobile devices (including iPhone).
The library website includes a demo worth-checking which can display a menu with a mouse gesture.
Requirements: MooTools
Compatibility: All Major Browsers
Website: http://neofreeman.freepgs.com/Moousture/
Demo: http://neofreeman.freepgs.com/Moousture/demo_menu.html
Download: http://github.com/maxpert/moousture/tree/master
Compatibility: All Major Browsers
Website: http://neofreeman.freepgs.com/Moousture/
Demo: http://neofreeman.freepgs.com/Moousture/demo_menu.html
Download: http://github.com/maxpert/moousture/tree/master
- Tags:
Javascript Mouse
- Filed under: Browsing, Goodies, MIT License
- 1 Comment
















One Response for "Convert Mouse Movements Into Actions: Moousture"
I think it would work better if it picked up on clock-wise and anti-clockwise, the default seems more natural for a left hander IMO.