Android library which makes detecting gestures a breeze.
The library is built for simplicity and ease of use. It eliminates most boilerplate code for dealing with setting up gesture detection on Android.
Starting with 1.0.1
, Changes exist in the releases tab.
Available sensor based gesture detectors
- Flip
- onFaceUp
- onFaceDown
- Light
- onDark
- onLight
- Orientation
- onTopSideUp
- onBottomSideUp
- onLeftSideUp
- onRightSideUp
- PinchScale
- OnScale
- OnScaleStart
- OnScaleEnd
- Proximity
- onNear
- onFar
- Shake
- TouchType
- onDoubleTap
- onScroll(direction)
- onSingleTap
- onSwipeLeft
- onSwipeRight
- onLongPress
- onTwoFingerSingleTap
- onThreeFingerSingleTap
For more detailed usage, check the Wiki
- Sensey is available in the MavenCentral, so getting it as simple as adding it as a dependency
compile 'com.github.nisrulz:sensey:1.4.0'
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
- Match coding style (braces, spacing, etc.) This is best achieved using CMD+Option+L (Reformat code) on Mac (not sure for Windows) with Android Studio defaults.
- If its a feature, bugfix, or anything please only change code to what you specify.
- Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
- Pull requests must be made against
develop
branch. Any other branch (unless specified by the maintainers) will get rejected. - Check for existing issues first, before filing an issue.
- Have fun!