Add suspend button SCI

This commit is contained in:
Jeremy Soller 2019-12-12 11:08:17 -07:00
parent 84941a85d2
commit c9182c3a06
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ uint16_t keymap_translate(uint16_t key);
#define SCI_BRIGHTNESS_DOWN (0x11)
#define SCI_BRIGHTNESS_UP (0x12)
#define SCI_AIRPLANE_MODE (0x14)
#define SCI_SUSPEND (0x15)
// See http://www.techtoys.com.hk/Downloads/Download/Microchip/PS2_driver/ScanCode.pdf

View File

@ -159,7 +159,7 @@ uint16_t __code KEYMAP[KM_OUT][KM_IN][KM_LAY] = {
K(K_ENTER), // 2
K(0), // 3
K(K_DOWN), // 4
K(K_F12), // 5
{K_F12, KT_SCI | SCI_SUSPEND}, // 5
K(K_END), // 6
K(K_PGDN), // 7
},

View File

@ -159,7 +159,7 @@ uint16_t __code KEYMAP[KM_OUT][KM_IN][KM_LAY] = {
K(K_ENTER), // 2
K(0), // 3
K(K_DOWN), // 4
K(K_F12), // 5
{K_F12, KT_SCI | SCI_SUSPEND}, // 5
K(K_END), // 6
K(K_PGDN), // 7
},