diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-03 21:09:38 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-03 21:09:38 +0000 |
commit | 8783e8d17962f6c475e70c551d1123389cdb453c (patch) | |
tree | 33d9117c4155d5bf10dcb3d7101bea7bac055cf1 | |
parent | ae4025d6bf1450929a6dd46152a1c28e23a2912a (diff) |
Fixed mouse keypad mode was not available with HAVE_USB_HID_MOUSE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22901 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/settings_list.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 34e8854421..769664eee3 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1615,9 +1615,21 @@ const struct settings_list settings[] = { #ifdef USB_ENABLE_HID CHOICE_SETTING(0, usb_keypad_mode, LANG_USB_KEYPAD_MODE, 0, - "usb keypad mode", "multimedia,presentation,browser,mouse", - NULL, 3, ID2P(LANG_MULTIMEDIA), ID2P(LANG_PRESENTATION), - ID2P(LANG_BROWSER), ID2P(LANG_MOUSE)), + "usb keypad mode", "multimedia,presentation,browser" +#ifdef HAVE_USB_HID_MOUSE + ",mouse" +#endif + , NULL, +#ifdef HAVE_USB_HID_MOUSE + 4, +#else + 3, +#endif + ID2P(LANG_MULTIMEDIA), ID2P(LANG_PRESENTATION), ID2P(LANG_BROWSER) +#ifdef HAVE_USB_HID_MOUSE + , ID2P(LANG_MOUSE) +#endif + ), /* CHOICE_SETTING( usb_keypad_mode ) */ #endif /* Customizable list */ |