-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mce: KEY_SCREENLOCK on Droid4? #71
Comments
How about single tap KEY_POWER to lock, double tap KEY_POWER to bring up the menu (or the other way around)? |
Possible, but that would introduce some extra state in MCE I think. The nice thing about held down is that we get it for free from the kernel. And then the moment someone releases it, we check how much time has passed. <2s; power menu. <5s; lock. >5s; power off. Or something like that. |
that's already supported by mce/tklock in one way or another - double-click on power key locks the device, etc. |
What you describe is likely what we need. I'll see if I can get that to work. |
Pressing the power key twice does indeed lock screen, but it can't be used to unlock. That is a problem on the droid4 - you have to open the keyboard slider to then "unlock". Also -- if anyone still has elogind installed, uninstall it! (It powers off the machine when you press the button...) |
New MCE ( |
See #65
The Droid4 has a KEY_POWER, and VOLUME_UP and VOLUME_DOWN, but no KEY_SCREENLOCK.
Personally, I think both KEY_SCREENLOCK and KEY_POWER do useful stuff on the N900 -- I was wondering if we can perhaps consider KEY_POWER "Held" for a longer time as KEY_SCREENLOCK as well? Or the other way around?
Or perhaps KEY_POWER and VOLUME_UP as KEY_SCREENLOCK ?
The text was updated successfully, but these errors were encountered: