summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-10-20 20:44:30 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-10-20 20:44:30 +0000
commit9ce9cfc0a92673555042b58af0772a2f2a35ab12 (patch)
tree94a1754bd3564eec108be772112828a376ee2835 /firmware/export/usb.h
parentcb2db20a32b1bdb81803c11c7a3133e94c10a560 (diff)
D2 should have HAVE_USB_POWER defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23298 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 2707541bff..911fa931d9 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -89,6 +89,9 @@ enum {
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
#define USBPOWER_BUTTON BUTTON_RIGHT
#define USBPOWER_BTN_IGNORE BUTTON_LEFT
+#elif CONFIG_KEYPAD == COWOND2_PAD
+#define USBPOWER_BUTTON BUTTON_MENU
+#define USBPOWER_BTN_IGNORE BUTTON_MINUS
#endif
#endif /* HAVE_USB_POWER */