diff options
Diffstat (limited to 'apps/usb_keymaps.c')
-rw-r--r-- | apps/usb_keymaps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/usb_keymaps.c b/apps/usb_keymaps.c index 466cf6f9e8..23f7333a64 100644 --- a/apps/usb_keymaps.c +++ b/apps/usb_keymaps.c | |||
@@ -50,7 +50,7 @@ typedef struct | |||
50 | } hid_key_mapping_t; | 50 | } hid_key_mapping_t; |
51 | 51 | ||
52 | static const hid_key_mapping_t hid_key_mapping_multimedia = { | 52 | static const hid_key_mapping_t hid_key_mapping_multimedia = { |
53 | LANG_MULTIMEDIA, | 53 | LANG_MULTIMEDIA_MODE, |
54 | HID_USAGE_PAGE_CONSUMER, | 54 | HID_USAGE_PAGE_CONSUMER, |
55 | { | 55 | { |
56 | /* Volume up */ | 56 | /* Volume up */ |
@@ -72,7 +72,7 @@ static const hid_key_mapping_t hid_key_mapping_multimedia = { | |||
72 | }; | 72 | }; |
73 | 73 | ||
74 | static const hid_key_mapping_t hid_key_mapping_presentation = { | 74 | static const hid_key_mapping_t hid_key_mapping_presentation = { |
75 | LANG_PRESENTATION, | 75 | LANG_PRESENTATION_MODE, |
76 | HID_USAGE_PAGE_KEYBOARD_KEYPAD, | 76 | HID_USAGE_PAGE_KEYBOARD_KEYPAD, |
77 | { | 77 | { |
78 | /* Slideshow start */ | 78 | /* Slideshow start */ |
@@ -104,7 +104,7 @@ static const hid_key_mapping_t hid_key_mapping_presentation = { | |||
104 | }; | 104 | }; |
105 | 105 | ||
106 | static const hid_key_mapping_t hid_key_mapping_browser = { | 106 | static const hid_key_mapping_t hid_key_mapping_browser = { |
107 | LANG_BROWSER, | 107 | LANG_BROWSER_MODE, |
108 | HID_USAGE_PAGE_KEYBOARD_KEYPAD, | 108 | HID_USAGE_PAGE_KEYBOARD_KEYPAD, |
109 | { | 109 | { |
110 | /* Scroll up */ | 110 | /* Scroll up */ |
@@ -139,7 +139,7 @@ static const hid_key_mapping_t hid_key_mapping_browser = { | |||
139 | 139 | ||
140 | #ifdef HAVE_USB_HID_MOUSE | 140 | #ifdef HAVE_USB_HID_MOUSE |
141 | static const hid_key_mapping_t hid_key_mapping_mouse = { | 141 | static const hid_key_mapping_t hid_key_mapping_mouse = { |
142 | LANG_MOUSE, | 142 | LANG_MOUSE_MODE, |
143 | HID_USAGE_PAGE_GENERIC_DESKTOP_CONTROLS, | 143 | HID_USAGE_PAGE_GENERIC_DESKTOP_CONTROLS, |
144 | { | 144 | { |
145 | /* Cursor move up */ | 145 | /* Cursor move up */ |