parse input from file

This commit is contained in:
2019-07-27 05:46:42 +02:00
parent de5fa84ac7
commit 39b136d799
5 changed files with 151 additions and 32 deletions

13
config/input.toml Normal file
View File

@@ -0,0 +1,13 @@
[[button]]
name = "QUIT"
scancode = 1
[[button]]
name = "RELOAD_SHADERS"
scancode = 19
ctrl = true
[[axis]]
name = "FORWARD"
scancode_positive = 17
scancode_negative = 31