Add CTRL key definition
This commit is contained in:
parent
155eed220c
commit
2893b71847
|
@ -111,6 +111,7 @@ const EVENT_TYPE_MENU_ACK: 0x00000007
|
||||||
const EVENT_TYPE_EMPTY: 0xFFFFFFFF
|
const EVENT_TYPE_EMPTY: 0xFFFFFFFF
|
||||||
|
|
||||||
; keys
|
; keys
|
||||||
|
const KEY_CTRL: 0x1D
|
||||||
const KEY_LSHIFT: 0x2A
|
const KEY_LSHIFT: 0x2A
|
||||||
const KEY_RSHIFT: 0x36
|
const KEY_RSHIFT: 0x36
|
||||||
const KEY_CAPS: 0x3A
|
const KEY_CAPS: 0x3A
|
||||||
|
|
|
@ -53,6 +53,7 @@ caps_pressed:
|
||||||
|
|
||||||
; scancode set 1:
|
; scancode set 1:
|
||||||
; https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_1
|
; https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_1
|
||||||
|
const CTRL: 0x1D
|
||||||
const LSHIFT: 0x2A
|
const LSHIFT: 0x2A
|
||||||
const RSHIFT: 0x36
|
const RSHIFT: 0x36
|
||||||
const CAPS: 0x3A
|
const CAPS: 0x3A
|
||||||
|
|
Loading…
Reference in New Issue
Block a user