Howdy, so I figured that since I have nexus then PGM has to made for it. So I did. It should work on GSM Nexus with sane kernel.
This comes in two versions. Free can't be configured and only slide2wake works (the best feature for free duh!). The rest and configuration options come with paid version also on the market (I'd like to add more actions later).
You can see how it works on the video.
*** ROOT REQUIRED ***
If it doesn't work for you, please contact me and we'll see why
THIS IS HIGHLY EXPERIMENTAL AND ALWAYS BE - PLEASE USE AT YOUR OWN RISK!
start point: X and Y values (as seen from portrait mode) in pixels - where the gesture should start
stop point: the same as above
Threshold: also X and Y - defines how much your finger can go off the perfect line connecting start and stop
timeout (ms): time in milliseconds to discard gesture, so if your swipe takes longer than N millis then it's discarded
Supported kernels (might not be complete):
Franco nightly 194
Faux123 standard kernel (default from AOKP)
Trinity alpha 95
This is not a simple application. It's a kernel module which controls input requests from the hardware. Phone should go into deep sleep and battery performance should not be affected more than 1-5% (IRL I really can't tell if it causes any battery drain at all - if it is - it's insignificant).
updated support for AK, SKL and other kernels
BUGFIX for doubletap2wake (should be working now)
1.13 2012-12-21 (end of the world)
BUGFIX for screen not being responsive sometimes (I hope)
BUG FIX for android 4.2 which caused screen to be responsive when calling
fixed timeout problem in slide2wake
fixed "up" gesture not working as expected
changed touch2wake to wake after finger-UP not finger-DOWN - might help with spontaneous wakeups
added pressure verification for touch2wake to not react on large input (thigh?)
fixed start on boot issue when using superuser
FIXED double swipe problem (and more)
FIXED CRT animation not working with lock
Added new gesture - touch2wake
Added new gesture - doubletap2wake
few bugs fixed
IF IT'S NOT WORKING AFTER BOOT - INSTALL SUPERSU INSTEAD SUPERUSER
module unloading should work now (if rom/kernel supports it)
FIXED support for more kernels made for ICS
FIXED support for more kernels made for JB
FIXED SUPPORT FOR 4.1 JELLYBEAN
fixed input fields schizophrenia
fixed enabled/disabled toggling in gestures which was craaazyyy
fixed values switching between gestures
fixed spontaneous reboot on some kernels
module not loading on boot should also be fixed
reboots upon loading module still happen on some kernels - won'tfix
NEW GESTURE! (FULL APP ONLY) - slide2media_next - play next song (or start playing) with swiping left->right on the bottom of screen
fixed error that prevented locking after boot
fixed a bug where unlocked app showed as locked
fixed gesture descriptions
fixed one FC
added support for more kernels
fixed a few bugs
XDA:DevDB Information TouchControl, a Tool/Utility for the Samsung Galaxy Nexus
REALTIME MODULE REQUESTS STATS PER KERNEL ____________
Quick info about stats - it shows how much requests I'm getting for each kernel. So even if there is no module for that kernel it will be accounted as request. Also only one request per user per day is accounted. These stats are from last 7 days.
When you press download at the module loader prompt I am actually getting info about your kernel. This is added to the stats if haven't requested during last 24 hours.
This will NOT add additional battery drain when the screen is not touched. When you touch the screen there's a bit of processing for that but it's really insignificant when you compare it to a few minutes of screen battery drain. Despite what some people are saying, there is no polling, no thread running. Devices use interrupts, so this mod is totally inactive until you touch the screen (it is "woken up" in that moment). I've this on Evo3D when I had it and I've found no additional battery drain. Here I'm using it for few days and I don't see the difference in battery life.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?