summaryrefslogtreecommitdiffstats
path: root/apps/action.h
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-09-30 10:06:04 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-09-30 10:06:04 +0000
commit8c5141b32ea74a3093073d9bb11205acb7640233 (patch)
tree486f8e4f94053a389d840b04724567a524b9b4ea /apps/action.h
parentd7f4f9ff750872a9eb570409966e500099d84d7d (diff)
downloadrockbox-8c5141b32ea74a3093073d9bb11205acb7640233.tar.gz
rockbox-8c5141b32ea74a3093073d9bb11205acb7640233.tar.bz2
rockbox-8c5141b32ea74a3093073d9bb11205acb7640233.zip
Commit "FS#10468 - USB HID: Show keypad mode on screen"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h53
1 files changed, 46 insertions, 7 deletions
diff --git a/apps/action.h b/apps/action.h
index 5df8639cdf..39e3e09d73 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -76,6 +76,7 @@ enum {
CONTEXT_KEYBOARD,
CONTEXT_FM,
CONTEXT_USB_HID,
+ CONTEXT_USB_HID_MOUSE,
};
@@ -241,14 +242,52 @@ enum {
#endif
/* USB HID codes */
- ACTION_USB_HID_PLAY,
- ACTION_USB_HID_STOP,
- ACTION_USB_HID_SKIPPREV,
- ACTION_USB_HID_SKIPNEXT,
- ACTION_USB_HID_VOLDOWN,
- ACTION_USB_HID_VOLUP,
- ACTION_USB_HID_MUTE,
+ ACTION_USB_HID_FIRST, /* Place holder */
+ ACTION_USB_HID_DEC,
+ ACTION_USB_HID_INC,
+ ACTION_USB_HID_START,
+ ACTION_USB_HID_START_LONG,
+ ACTION_USB_HID_QUIT,
+ ACTION_USB_HID_QUIT_LONG,
+ ACTION_USB_HID_LEFT,
+ ACTION_USB_HID_LEFT_LONG,
+ ACTION_USB_HID_RIGHT,
+ ACTION_USB_HID_RIGHT_LONG,
+ ACTION_USB_HID_SELECT,
+ ACTION_USB_HID_SELECT_LONG,
ACTION_USB_HID_MENU,
+ ACTION_USB_HID_MENU_LONG,
+ ACTION_USB_HID_MODE,
+ ACTION_USB_HID_MODE_LONG,
+ ACTION_USB_HID_MOUSE_UP,
+ ACTION_USB_HID_MOUSE_UP_REP,
+ ACTION_USB_HID_MOUSE_DOWN,
+ ACTION_USB_HID_MOUSE_DOWN_REP,
+ ACTION_USB_HID_MOUSE_LEFT,
+ ACTION_USB_HID_MOUSE_LEFT_REP,
+ ACTION_USB_HID_MOUSE_RIGHT,
+ ACTION_USB_HID_MOUSE_RIGHT_REP,
+ ACTION_USB_HID_MOUSE_LDRAG_UP,
+ ACTION_USB_HID_MOUSE_LDRAG_UP_REP,
+ ACTION_USB_HID_MOUSE_LDRAG_DOWN,
+ ACTION_USB_HID_MOUSE_LDRAG_DOWN_REP,
+ ACTION_USB_HID_MOUSE_LDRAG_LEFT,
+ ACTION_USB_HID_MOUSE_LDRAG_LEFT_REP,
+ ACTION_USB_HID_MOUSE_LDRAG_RIGHT,
+ ACTION_USB_HID_MOUSE_LDRAG_RIGHT_REP,
+ ACTION_USB_HID_MOUSE_RDRAG_UP,
+ ACTION_USB_HID_MOUSE_RDRAG_UP_REP,
+ ACTION_USB_HID_MOUSE_RDRAG_DOWN,
+ ACTION_USB_HID_MOUSE_RDRAG_DOWN_REP,
+ ACTION_USB_HID_MOUSE_RDRAG_LEFT,
+ ACTION_USB_HID_MOUSE_RDRAG_LEFT_REP,
+ ACTION_USB_HID_MOUSE_RDRAG_RIGHT,
+ ACTION_USB_HID_MOUSE_RDRAG_RIGHT_REP,
+ ACTION_USB_HID_MOUSE_BUTTON_LEFT,
+ ACTION_USB_HID_MOUSE_BUTTON_LEFT_REL,
+ ACTION_USB_HID_MOUSE_BUTTON_RIGHT,
+ ACTION_USB_HID_MOUSE_BUTTON_RIGHT_REL,
+ ACTION_USB_HID_LAST, /* Place holder */
LAST_ACTION_PLACEHOLDER, /* custom actions should be this + something */
};