Hello, I created in my project a menu where I give people the choice to use either the mouse keyboard or the game pad, I created 2 global variables, number 1 for smiling keyboard, number 2 for the gamepad. As a condition I put by pressing any key on the keyboard or a mouse click, it makes you choose the mouse keyboard, if pressing any button on a gamepad makes you choose the gamepad, I don't understand but it doesn't work, the mouse and gamepad controls are mixed. Maybe the parameter of my variables are not good? Thank you in advance for your help.
dropbox.com/s/0lrrg1xsle5k1pl/FunShooter%20%2817%29.c3p