Corrected macro for HID_CONSUMER_AC_DOWNLOAD

These macros were copied and pasted, I'm guessing from the USB HID Usage Tables document,
where this keycode is identified with a parenthetical, unlike all of the others around it:
`AC Download (Save Target As)`. When automatically converted into a preprocessor macro, it
gets a trailing underscore and an argument, which is not what we want.

This change won't actually fix anything that's currently broken, but it might matter
someday.
pull/295/head
Michael Richters 7 years ago
parent f24e97349e
commit c9727199d4

@ -659,7 +659,7 @@
#define HID_CONSUMER_AC_SEND 0x28C // HID type SEL
#define HID_CONSUMER_AC_ATTACH_FILE 0x28D // HID type SEL
#define HID_CONSUMER_AC_UPLOAD 0x28E // HID type SEL
#define HID_CONSUMER_AC_DOWNLOAD_(SAVE_TARGET_AS) 0x28F // HID type SEL
#define HID_CONSUMER_AC_DOWNLOAD 0x28F // HID type SEL
#define HID_CONSUMER_AC_SET_BORDERS 0x290 // HID type SEL
#define HID_CONSUMER_AC_INSERT_ROW 0x291 // HID type SEL
#define HID_CONSUMER_AC_INSERT_COLUMN 0x292 // HID type SEL

@ -367,7 +367,7 @@
#define Consumer_AC_Send CONSUMER_KEY(HID_CONSUMER_AC_SEND, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_AttachFile CONSUMER_KEY(HID_CONSUMER_AC_ATTACH_FILE, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Upload CONSUMER_KEY(HID_CONSUMER_AC_UPLOAD, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Download CONSUMER_KEY(HID_CONSUMER_AC_DOWNLOAD_(SAVE_TARGET_AS), KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_Download CONSUMER_KEY(HID_CONSUMER_AC_DOWNLOAD, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_SetBorders CONSUMER_KEY(HID_CONSUMER_AC_SET_BORDERS, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_InsertRow CONSUMER_KEY(HID_CONSUMER_AC_INSERT_ROW, KEY_FLAGS | HID_TYPE_SEL)
#define Consumer_AC_InsertColumn CONSUMER_KEY(HID_CONSUMER_AC_INSERT_COLUMN, KEY_FLAGS | HID_TYPE_SEL)

Loading…
Cancel
Save