while developing my own game I came accross this problem: since each player plays with different devices with different input methods, there's the need to support different controls schemes.
These are different input methods like keyboard, gamepad, mouse and touch.
For some of these there's also an input mapping which basically assigns a certain input (keyboard key "A" or gamepad button "1") to a game command (such as "jump");
Also some players may want to customize input command so they won't be forced to use the default scheme (such as WASD+SPACE combination)
Also there is the need of a customize control interface which allows to assign to each player a control scheme, customize it (if possible), viewing which inputs are binded to which command ("A" = "jump") and also avoiding two different players to use the same scheme or even two schemes to have some inputs in common.
I already solved this partially by programming a proper event sheet with some variables (the customize controls interface is yet to be done) but now i was wondering if there's a behaviour/plugin/game template that helps solving this problem common to many games, and if not, would you find it useful to make one?
Also, how did you solved this problem?