maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Has anyone figured out how to use hardware keys with the screen locked? (https://talk.maemo.org/showthread.php?t=47696)

qw3rty 2010-03-18 17:20

Has anyone figured out how to use hardware keys with the screen locked?
 
Like the title says. Obvious use would be the volume keys for media players.

Matan 2010-03-18 17:27

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
When the device is locked, the pressing any of the hardware keys does not generate an interrupt, so I do not think it is possible without quite a lot of changes.

qw3rty 2010-03-18 23:21

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
I imagined there'd be some good reason why it hadn't happen yet, but it is still disheartening to hear that.

How about creating an alternative "lock screen"? I know it is possible to change the behaviour of the lock keys, could they be used to trigger some other lock-type state which we could have more control over? Or would that just end up being the same amount of work?

ndi 2010-03-19 01:54

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
It's fixed for at least volume, so it should work with 1.2?

Matan 2010-03-19 12:52

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
This is not when the screen is locked, but actually when you press power while screen is locked, and there is the "slide to unlock" screen. At this time all keys are active.

ndi 2010-03-19 18:54

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
Oh.

Well, isn't that kind of the plan, only allow device to come alive by slide (can't be sat on) and power button (hard to push in unintentionally)? Having volume and camera buttons work while locked could mean never-sleep-in-pocket N900.

qw3rty 2010-03-20 03:49

Re: Has anyone figured out how to use hardware keys with the screen locked?
 
Volume keys are equally hard to push. And if the N900 is playing music then it's not really asleep. Most music phones/mp3 players work just like that, they allow you to use the hardware keys to change volume/skip tracks/etc even if the device is locked. Since it doesn't sound that much of a technical difficulty, you would expect the N900 to be capable of that.

But I guess "power button -> what actually matters" isn't that bad. Here's hoping 1.2 comes soon.


All times are GMT. The time now is 01:50.

vBulletin® Version 3.8.8