An Action System would allow decoupling the specific input devices (Keyboard, Mouse, Controller) and even the specific input methods (Buttons, Joysticks, Scroll wheel, etc.) from the game code. This will allow for rebinding keys and avoid creating messy or duplicated code in order to support the three peripheral types.
An Action System would allow decoupling the specific input devices (Keyboard, Mouse, Controller) and even the specific input methods (Buttons, Joysticks, Scroll wheel, etc.) from the game code. This will allow for rebinding keys and avoid creating messy or duplicated code in order to support the three peripheral types.