Linux keys
This commit is contained in:
parent
067d474796
commit
3eeea85e20
2 changed files with 18 additions and 2 deletions
|
|
@ -9,6 +9,10 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define KEY_ESCAPE VK_ESCAPE
|
||||
#define KEY_F1 VK_F1
|
||||
#define KEY_F1 VK_F2
|
||||
#define KEY_P 0x50
|
||||
#elif defined(__ANDROID__)
|
||||
#elif defined(__linux__)
|
||||
#define KEY_ESCAPE 0x9
|
||||
|
|
@ -16,4 +20,7 @@
|
|||
#define KEY_A 0x26
|
||||
#define KEY_S 0x27
|
||||
#define KEY_D 0x28
|
||||
#define KEY_P 0x21
|
||||
#define KEY_F1 0x43
|
||||
#define KEY_F2 0x44
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue