16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 06:49:19 +02:00

key binding lookup, ai vehicle activation delay

This commit is contained in:
tmj-fstate
2020-02-23 03:43:05 +01:00
parent fcc8460d88
commit 4e9eabbcfe
12 changed files with 73 additions and 28 deletions

View File

@@ -71,6 +71,9 @@ public:
std::string
get_input_hint( user_command const Command ) const;
*/
// provides key code associated with specified command
int
key_binding( user_command const Command ) const;
// input handlers
void
on_key( int const Key, int const Scancode, int const Action, int const Mods );