diff options
author | Paul Fertser <fercerpav@gmail.com> | 2009-06-08 23:46:53 +0400 |
---|---|---|
committer | Nelson Castillo <arhuaco@freaks-unidos.net> | 2009-06-09 21:31:02 -0300 |
commit | 6fbbacd00b2e6e09583b0f88aed39a7a6cfb6c81 (patch) | |
tree | f5790026d3ddbc497e3fcd8c56d652b6aa3326f2 /drivers/md/raid10.c | |
parent | 6e7fee4b8ed7a8669d5e4eaa492e8c6cb6105de6 (diff) |
GTA0[12]: make headset button report PLAY pressed on press
As discussed on the ML, currently headset button reports "KEY_PAUSE
released" on press and "pressed" on release. For "pause" semantics it makes
sense but if someone thinks of that as of just another button, it'd be good
to have "pressed/released" events consistent with button press/release.
Luca Capello <luca@pca.it> suggested to change the button event to KEY_PLAY
and to invert the state to make it more consistent.
This trivial patch inverts button events for GTA03 KEY_PLUS and KEY_MINUS,
i'm not sure how undesirable that is. I can prepare an alternative that
preserves current behaviour on GTA03 per request.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions