virtual key codes

This commit is contained in:
2021-10-19 04:23:20 +02:00
parent 020fcd21dc
commit deaed7b456
5 changed files with 318 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
# Scan codes are in decimal
# See here: https://www.millisecond.com/support/docs/v6/html/language/scancodes.htm
# Scan codes are in decimal: https://www.millisecond.com/support/docs/v6/html/language/scancodes.htm
# VK code here: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
[[button]]
name = "quit"
scan_code = 1
vk_code = "VK_ESCAPE"
[[button]]
name = "toggle_edit"

View File

@@ -20,7 +20,7 @@ scan_code = 30
[[button]]
name = "button_right"
scan_code = 32
vk_code = "VK_D"
[[axis]]
name = "move_sideways"