51473a7c53
This introduces abstractions for a game key (`wxGameKey`), a game control (`wxGameControl`) and a common global handler for in-game user input processing (`wxGameControlState`). User configuration is changed from a vector to a map of `wxGameControl` to a set of `wxUserInput`, which simplifies input configuration updates. User input processing for in-game controls is now unified between keyboard and joypad input, and is much faster in general since access to game control state is now always logarithmic rather than linear. This comes at the expense of slightly slower user input configuration updates. However, in the worst case scenario, this is still done in O(log(n)). This removes all uses of `wxJoyKeyBinding`. However, some uses of the key, mod, joy triplets remain and will be cleaned up in follow-up PRs. Issue: #745 |
||
---|---|---|
.. | ||
wxvbam | ||
CMakeLists.txt |