| 1 | // Copyright David Colson. All rights reserved. |
| 2 | |
| 3 | struct Axis { |
| 4 | f32 axisValue { 0.0f }; |
| 5 | |
| 6 | bool ignoreVirtual { false }; |
| 7 | bool isMouseDriver { false }; |
| 8 | |
| 9 | // Virtual axis input state |
| 10 | bool positiveInput { false }; |
| 11 | bool negativeInput { false }; |
| 12 | |
| 13 | // Virtual axis mapping |
| 14 | SDL_Keycode positiveScanCode { SDLK_UNKNOWN }; |
| 15 | SDL_Keycode negativeScanCode { SDLK_UNKNOWN }; |
| 16 | i32 positiveMouseButton { 0 }; |
| 17 | i32 negativeMouseButton { 0 }; |
| 18 | }; |
| 19 | |
| 20 | struct InputState { |
| 21 | Arena* pArena; |
nothing calls this directly
no outgoing calls
no test coverage detected