Hi there
I hope this hasn't been asked before, I didn't search that thoroughly yet, so forgive me if it has :S
I currently have a config.cfg file from which I read strings like "Up", "Down", "Left", "Right" etc... corresponding to the buttons pressed.
Now I want those strings to be converted to a sf::Event so I can actually react to those inputs.
To make where I'm trying to go a bit more clear: I want the user to be able to change the config file to inputs like maybe replace "Up" with "Joystick1Button1" so the Up input in my game/menu would be replaced with a button on the Joystick or whatever the user enters into the config.
I would be glad if anyone could help me with this
greetings