Create unified button events
Pathoschild opened this issue ยท 1 comments
Letting players configure keyboard + controller + mouse button bindings is unnecessarily convoluted. (It involves custom config handling, three separate events, two enums, and manually parsing MouseState
.) Unsurprisingly, most mods don't bother and only support keyboard bindings.
Add a single enum which covers keyboard + controller + mouse with unified InputEvents.ButtonPressed
/ InputEvents.ButtonReleased
events, so mods get automatic support for keyboard + controller + mouse button bindings.