Add setting for suppressing input from mouse, keyboard, or gamepads (#941)

This commit is contained in:
Brian Kendall
2023-03-08 07:47:19 -05:00
committed by GitHub
parent 31885434f2
commit f238cf5303
4 changed files with 98 additions and 0 deletions

View File

@@ -100,6 +100,10 @@ struct input_t {
std::chrono::duration<double> key_repeat_period;
std::string gamepad;
bool keyboard;
bool mouse;
bool controller;
};
namespace flag {