Fixed constructor to map useGamepad properly