Decoupling input bindings from game systems with C++/SDL

This is the 4th devlog of Warmonger Dynasty, a 4X turn-based strategy game made in C++/SDL. If you want to read the previous entries, take a look at my reading list.

When developing a game, you almost certainly want to read inputs from the player. Be it via the mouse, the keyboard, a gamepad, or a touchscreen.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store