Add CTRL key definition

This commit is contained in:
Ry 2023-01-20 23:29:51 -08:00
parent 155eed220c
commit 2893b71847
2 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,7 @@ const EVENT_TYPE_MENU_ACK: 0x00000007
const EVENT_TYPE_EMPTY: 0xFFFFFFFF
; keys
const KEY_CTRL: 0x1D
const KEY_LSHIFT: 0x2A
const KEY_RSHIFT: 0x36
const KEY_CAPS: 0x3A

View File

@ -53,6 +53,7 @@ caps_pressed:
; scancode set 1:
; https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_1
const CTRL: 0x1D
const LSHIFT: 0x2A
const RSHIFT: 0x36
const CAPS: 0x3A