Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tute/notamouse

JS library for capturing mobile gesture events. A fun and useful playground.
https://github.com/tute/notamouse

Last synced: 3 days ago
JSON representation

JS library for capturing mobile gesture events. A fun and useful playground.

Awesome Lists containing this project

README

        

# You Are Not a Mouse: Javascript library for mobile gestures

Just a fun and useful playground for now.

## Developing & Usage

See `index.html` for code examples.

Built with coffescript. To compile while you edit it, run:

coffee --watch --compile --bare *.coffee

You may then open `index.html` on a mobile browser to see/test your changes.

See http://tutecosta.com/notamouse from a mobile browser for a
demonstration. Swipe with one finger in four directions to move around
the red box.

# Forget about LightBoxes and small arrows, slide photos as if you were a human.

### Resources

Used [jquery-touchwipe-iphone-ipad-library](http://www.netcu.de/jquery-touchwipe-iphone-ipad-library) as a starting point.

[iOS Safari events documentation](http://developer.apple.com/library/IOs/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html).