So I've gotten some posts on the steam community page from people not wanting to purchase my game without the option to remap the controls to their own liking. While I know at least 1 very tedious and code heavy way of doing it. I'm wondering if anyone's dealt with this before, and if it's possible to just check if the button pressed on both gamepad and keyboard equals a signature the event is looking for? Currently I can only find "on that specific key" or "any" key pressed. This forces me to make several events for the same action.
Develop games in your browser. Powerful, performant & highly capable.
Might take a look at key codes.
Not quite sure what you're asking later on. Sounds like you just need to switch to key codes / button indices and make a control config. It doesn't have to be complicated; one of mine is barely 15 events.
THIS might help you out and give you a general direction on how to create a menu for keybinds.
Please note that I didn't make this example, so I cannot guarantee that everything works as intended.
Yeah you're right. I remember checking out the codes previously, but was unable to work with them back then. Worked like a charm now though!