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
This commit is contained in:
Tomer Shalev 2009-10-03 21:09:38 +00:00
parent ae4025d6bf
commit 8783e8d179

View file

@ -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 */