mirror of
https://github.com/swarm-game/swarm.git
synced 2025-01-05 23:34:35 +03:00
687bad8610
* create a new `SwarmEvent` enumeration * define configuration names (`swarmEvents`) * define default keybindings (`defaultSwarmBindings`) * add `KeyConfig` and `KeyDispatcher`s to `AppState` * load custom bindings from an INI file * migrate key event controller code to use `onEvent` * call `handleKey` with handlers * show the shortcuts in TUI * check for conflicts between parent/child handler (right now `mainHandler` and the rest) * generate the INI file (`keybinding --init`) with commented-out (`;`) settings * allow `brick` version 2.4 to get uppercase keybindings fix --- * Closes #523 * Closes #1962 |
||
---|---|---|
.. | ||
doc | ||
scene | ||
Swarm | ||
tournament | ||
Main.hs |