FabGL
ESP32 Display Controller and Graphics Library
|
bool setScancodeSet | ( | int | value | ) |
Sets the scancode set.
Scancode set 1 is used on original IBM PC XT (https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_1) Scancode set 2 is used on IBM PC AT (https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_2) Scancode set 3 is used on IBM 3270 (https://web.archive.org/web/20170108131104/http://www.computer-engineering.org/ps2keyboard/scancodes3.html)
When virtual keys are enabled only set 1 and set 2 are available.
value | Scancode set (1, 2 or 3). |
Definition at line 156 of file keyboard.cpp.