100 lines
1.5 KiB
TOML
100 lines
1.5 KiB
TOML
# 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"
|
|
vk_code = "VK_ESCAPE"
|
|
|
|
[[button]]
|
|
name = "toggle_edit"
|
|
vk_code = "VK_F1"
|
|
|
|
[[button]]
|
|
name = "reload_shaders"
|
|
vk_code = "VK_F5"
|
|
|
|
[[button]]
|
|
name = "toggle_framerate"
|
|
vk_code = "VK_F2"
|
|
|
|
[[button]]
|
|
name = "button_forward"
|
|
vk_code = "VK_W"
|
|
|
|
[[button]]
|
|
name = "button_backward"
|
|
vk_code = "VK_S"
|
|
|
|
[[button]]
|
|
name = "button_left"
|
|
vk_code = "VK_A"
|
|
|
|
[[button]]
|
|
name = "button_right"
|
|
vk_code = "VK_D"
|
|
|
|
[[button]]
|
|
name = "test"
|
|
vk_code = "VK_T"
|
|
|
|
[[button]]
|
|
name = "quicksave"
|
|
vk_code = "VK_F6"
|
|
|
|
[[button]]
|
|
name = "quickload"
|
|
vk_code = "VK_F7"
|
|
|
|
[[button]]
|
|
name = "select"
|
|
mouse = "left"
|
|
touch = 1
|
|
|
|
[[axis]]
|
|
name = "move_forward"
|
|
positive_button = "button_forward"
|
|
negative_button = "button_backward"
|
|
|
|
[[axis]]
|
|
name = "move_forward"
|
|
mouse_axis = "wheel"
|
|
|
|
[[axis]]
|
|
name = "move_forward"
|
|
controller_axis = "LeftStickY"
|
|
|
|
[[axis]]
|
|
name = "move_right"
|
|
positive_button = "button_right"
|
|
negative_button = "button_left"
|
|
|
|
[[axis]]
|
|
name = "move_right"
|
|
controller_axis = "LeftStickX"
|
|
|
|
[[axis]]
|
|
name = "look_horizontal"
|
|
mouse_axis = "x"
|
|
|
|
[[axis]]
|
|
name = "look_horizontal"
|
|
controller_axis = "RightStickX"
|
|
|
|
[[axis]]
|
|
name = "look_horizontal"
|
|
touch_axis = "horizontal"
|
|
|
|
[[axis]]
|
|
name = "look_vertical"
|
|
mouse_axis = "y"
|
|
|
|
[[axis]]
|
|
name = "look_vertical"
|
|
controller_axis = "RightStickY"
|
|
|
|
[[axis]]
|
|
name = "look_vertical"
|
|
touch_axis = "vertical"
|
|
|
|
[config]
|
|
line_height_px = 16 |