Open seisatsu opened 7 years ago
What does it mean for an action to have multiple keybinds?
For example, left shift and right shift could both activate the same action.
If we expose the fact that we're using SDL to game authors then it'll cause trouble if we ever switch away from SDL in the future.
For instance, we might like to allow authors to say "LSHIFT+UP" instead of the SDL-specific "SDLK_LSHIFT+SDLK_UP".
For example, allow us to bind SHIFT + OTHER KEY to do an action. This will also let us rebind the Quit keybind which is currently hard-coded. As an aside, we should probably make the pause key not hard-coded at the same time.
This will involve allowing a keybind value such as "SDLK_LSHIFT+SDLK_UP", as well as making keybind values lists of strings instead of just strings.