summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-ipod.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-06-20 09:27:17 +0000
committerJens Arnold <amiconn@rockbox.org>2009-06-20 09:27:17 +0000
commit346da2fd5e7d9e0f7b27934d84b5fef848f360af (patch)
tree585a8acc4719ec4347c42c94e5c4448be4906952 /apps/keymaps/keymap-ipod.c
parente82be6ead8a81650b48b7ababd5a61b36bf41fcd (diff)
Fix a few HID contexts to use proper preconditons (no more pause-before-stop and stop event flooding).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-ipod.c')
-rw-r--r--apps/keymaps/keymap-ipod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-ipod.c b/apps/keymaps/keymap-ipod.c
index 8170e8c7e1..02c562eb45 100644
--- a/apps/keymaps/keymap-ipod.c
+++ b/apps/keymaps/keymap-ipod.c
@@ -192,8 +192,8 @@ const struct button_mapping button_context_recscreen[] = {
#ifdef HAVE_USBSTACK
static const struct button_mapping button_context_usb_hid[] = {
- { ACTION_USB_HID_PLAY, BUTTON_PLAY, BUTTON_NONE },
- { ACTION_USB_HID_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_USB_HID_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
+ { ACTION_USB_HID_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY },
{ ACTION_USB_HID_SKIPPREV, BUTTON_LEFT, BUTTON_NONE },
{ ACTION_USB_HID_SKIPNEXT, BUTTON_RIGHT, BUTTON_NONE },
{ ACTION_USB_HID_VOLUP, BUTTON_SCROLL_FWD, BUTTON_NONE },