Should You Get Wear? Wearer’s Practical Observations

Wear is said to not offer enough for mass adoption, even though its been in … more

SlimRoms: Updates on the Horizon

SlimRoms’ website has been experiencing technical difficulties for the last month or so, but … more

Your Favorite Wireless Charger?

Wireless charging is becoming more and more common as many OEMs are now starting to include this feature … more

ASUS US Invites Developers at XDA to Special Event

ASUS has built a solid name over the years for their computer components, but in the … more
Post Reply Subscribe to Thread Email Thread

[DEV/WIP] doubletap2wake & swipe2wake

22nd August 2013, 01:04 PM   |  #1  
TheRinseM's Avatar
OP Senior Member
Thanks Meter: 1,349
 
899 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse
24th August 2013, 05:52 PM   |  #2  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 713
 
1,711 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by TheRinseM

Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse

actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .

https://play.google.com/store/apps/d...ury.pgm2&hl=en
24th August 2013, 06:36 PM   |  #3  
TheRinseM's Avatar
OP Senior Member
Thanks Meter: 1,349
 
899 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by shriom_manerker

actually, the stock kernel has support for this,only with root, but sadly its a propitiatory app (i dont get it either) called PGM nexus which makes use of it and u can double tap to wake, slide to wake and touch to wake .

https://play.google.com/store/apps/d...ury.pgm2&hl=en

Thanks alot sir! I'll request to delete this thread.

Thanks!!

Rinse
25th August 2013, 04:43 AM   |  #4  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 713
 
1,711 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by TheRinseM

Thanks alot sir! I'll request to delete this thread.

Thanks!!

Rinse

hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great
26th August 2013, 01:02 PM   |  #5  
sert00's Avatar
Senior Member
Flag cesena,IT
Thanks Meter: 505
 
1,082 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shriom_manerker

hold on, never give your hopes up, This is only for the galaxy nexus and the nexus 4 if you can do this for other devices it would be great

And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly
The Following User Says Thank You to sert00 For This Useful Post: [ View ]
26th August 2013, 04:32 PM   |  #6  
shriom_manerker's Avatar
Senior Member
Flag Margao,Goa
Thanks Meter: 713
 
1,711 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by sert00

And better if possible via kernel SysFS,not an app.A module like sweep2wake(the one from Showp1984) would be better!And not closed source like PGM is..sadly

yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible
The Following User Says Thank You to shriom_manerker For This Useful Post: [ View ]
26th August 2013, 05:45 PM   |  #7  
sert00's Avatar
Senior Member
Flag cesena,IT
Thanks Meter: 505
 
1,082 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by shriom_manerker

yes ! exactly ! open source is the way to go besides pgm no longer supports newer kernels for 4.3 (only stock no trace and trace methods are supported ) which i guess some kernel developers dont use. anyways please make it open source if possible

Sadly my C\C++ skills are very limited,i would have been happy to help you out
3rd December 2013, 06:27 PM   |  #8  
jugster's Avatar
Senior Member
Thanks Meter: 142
 
335 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by TheRinseM

Hello,

I'm currently implementing doubletap2wake and swipe2wake into the stock unsecured kernel.
If someone could help, that would be great. My C/C+ experience = 0%.
So if you guys have tips or source, help is always welcome!


Thanks,

Rinse

How far have you come?
I can imagine, with 0% C/C++ experience, it is somewhat of an uphill.

Quote:
Originally Posted by sert00

Sadly my C\C++ skills are very limited,i would have been happy to help you out

Here is an implementation for Nexus7 (2013)
https://github.com/flar2/flo/tree/ElementalX
Something to work with perhaps?

Cheers,
/J
5th December 2013, 08:22 AM   |  #9  
Senior Member
Thanks Meter: 379
 
2,194 posts
Join Date:Joined: Sep 2010
Donate to Me
More
I'd check @faux123 git. He's done this for a few devices with settings to turn on and off in his app.
31st October 2014, 06:12 AM   |  #10  
7175's Avatar
Senior Member
Thanks Meter: 438
 
309 posts
Join Date:Joined: Feb 2013
More
Anybody still working on? Got a few thoughts.

A good place to start would be to look up the "gpm hack" and "gpm mouse" in duckduckgo. I think there is a lot of good stuff you'll find. Another thing to get familiar with is parsing the output of /dev/input/event* and the builtin touch screen emulation with android's "input" command line function, "input touchscreen" to be more exact.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes