OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82505e
)
Fix CK-20W quirks for play and pause events
author
Daniel Orstadius
<daniel.orstadius@gmail.com>
Tue, 3 Nov 2009 08:22:17 +0000
(10:22 +0200)
committer
Johan Hedberg
<johan.hedberg@nokia.com>
Tue, 3 Nov 2009 11:45:27 +0000
(13:45 +0200)
It seems the play and pause key presses also lack the release event
sometimes so also add the necessary quirk to them.
audio/control.c
patch
|
blob
|
history
diff --git
a/audio/control.c
b/audio/control.c
index
44c03f9
..
a53caef
100644
(file)
--- a/
audio/control.c
+++ b/
audio/control.c
@@
-650,6
+650,8
@@
static void init_uinput(struct control *control)
if (g_str_equal(name, "Nokia CK-20W")) {
control->key_quirks[FORWARD_OP] |= QUIRK_NO_RELEASE;
control->key_quirks[BACKWARD_OP] |= QUIRK_NO_RELEASE;
+ control->key_quirks[PLAY_OP] |= QUIRK_NO_RELEASE;
+ control->key_quirks[PAUSE_OP] |= QUIRK_NO_RELEASE;
}
ba2str(&dev->dst, address);