Hello Coders =)
I need a tiny help how to bound keyboard and gamepad if they can equally assign.
On this website JavaScript Key Code can you check the "key" like "ArrowLeft" or " " or "Enter".
question for this, how can the "key" recognize for gamePad?
if key = "Enter" than the Enter Key works, but not the Z in this case.
What would be the best use to make both keyboard and gamepad work?
I ask this because I created a FakeMouse controller to use for keyboard, but can be used with gamepad
if they are equal or assign correctly to use both them.
the keyarrows and for fakeMouse works, as well for real mouse on my htmlTicTacToe game.
but while I cannot test a controller, I love to know how to add this one, so it can control both.
I need a tiny help how to bound keyboard and gamepad if they can equally assign.
On this website JavaScript Key Code can you check the "key" like "ArrowLeft" or " " or "Enter".
question for this, how can the "key" recognize for gamePad?
if key = "Enter" than the Enter Key works, but not the Z in this case.
What would be the best use to make both keyboard and gamepad work?
I ask this because I created a FakeMouse controller to use for keyboard, but can be used with gamepad
if they are equal or assign correctly to use both them.
the keyarrows and for fakeMouse works, as well for real mouse on my htmlTicTacToe game.
but while I cannot test a controller, I love to know how to add this one, so it can control both.