diff options
author | tmk <nobody@nowhere> | 2011-07-01 01:10:55 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-07-01 01:10:55 +0900 |
commit | 1bda8a8c69e7b1e5e62233d9f5a63d0dca0ef4fb (patch) | |
tree | 26ce61a480fd4dced76f73fcc6824c67e5e083a8 /usb_keycodes.h | |
parent | 6d45e05ede8ea1a96df9a04d58a7d7ede51afd9b (diff) | |
download | firmware-1bda8a8c69e7b1e5e62233d9f5a63d0dca0ef4fb.tar.gz firmware-1bda8a8c69e7b1e5e62233d9f5a63d0dca0ef4fb.tar.bz2 firmware-1bda8a8c69e7b1e5e62233d9f5a63d0dca0ef4fb.zip |
Add special keycodes for media control. Fix power down command.
Diffstat (limited to 'usb_keycodes.h')
-rw-r--r-- | usb_keycodes.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usb_keycodes.h b/usb_keycodes.h index bdec95391..e39a847bf 100644 --- a/usb_keycodes.h +++ b/usb_keycodes.h @@ -91,9 +91,26 @@ #define KB_WH_R KB_MS_WH_RIGHT /* Sytem Control & Consumer usage */ #define KB_PWR KB_SYSTEM_POWER +#define KB_SLEP KB_SYSTEM_SLEEP +#define KB_WAKE KB_SYSTEM_WAKE #define KB_MUTE KB_AUDIO_MUTE #define KB_VOLU KB_AUDIO_VOL_UP #define KB_VOLD KB_AUDIO_VOL_DOWN +#define KB_MNXT KB_MEDIA_NEXT_TRACK +#define KB_MPRV KB_MEDIA_PREV_TRACK +#define KB_MSTP KB_MEDIA_STOP +#define KB_MPLY KB_MEDIA_PLAY_PAUSE +#define KB_MSEL KB_MEDIA_SELECT +#define KB_MAIL KB_MAIL +#define KB_CALC KB_CALCULATOR +#define KB_MYCM KB_MY_COMPUTER +#define KB_WSCH KB_WWW_SEARCH +#define KB_WHOM KB_WWW_HOME +#define KB_WBAK KB_WWW_BACK +#define KB_WFWD KB_WWW_FORWARD +#define KB_WSTP KB_WWW_STOP +#define KB_WREF KB_WWW_REFRESH +#define KB_WFAV KB_WWW_FAVORITES /* Special keycode */ |