i want to let the user assign custom keys to his controller (keyboard or joystick), save this configuration and load it at game start.
The "set key" action from the player object allows only direct input, no variables.
The controlX object has only 2 fire buttons.
The joystick object has no actions to set the player buttons.
So i have to workaround it:
Get the pressed keys/buttons with ctrlX/joystick object,
put them in a array and compare them during gameplay in a key pressed condition.
But i could never use the "read joystick state" conditions from the player object.
Is there any way to assign the keys/buttons by variables in a action?