Add support for X1/X2 mouse buttons and Super keys

This commit is contained in:
Cameron Gutman 2020-01-18 16:08:07 -08:00
commit 992cce946c
4 changed files with 26 additions and 8 deletions

View file

@ -24,7 +24,7 @@ struct input_t {
gamepad_state_t gamepad_state;
std::unordered_map<short, bool> key_press;
std::array<std::uint8_t, 3> mouse_press;
std::array<std::uint8_t, 5> mouse_press;
util::ThreadPool::task_id_t back_timeout_id;