Original Post
Hi everyone, I've been slowly building a 2d fighting engine and its getting to the point where I need to worry about how I want the players to store which keyboard keys or joystick keys will be the ones they will use when playing the game. So at the moment its currently using just some default keys, but I've got it so you can change which keys will be used within the code. But before I go to far down this road I was wondering if there any examples of saving in and out custom input for both keyboard and gamepad devices? How would you go about this? etc. Anything would be helpful. I know a lot of the sdl emulators have some sort of custom key binding system, but I'm not sure where to start. Thanks for everyone's time