Hello,
I'd like to try out a joystick to control a game character -- basically, moving around.
I am assuming that a USB joystick would appear like a keyboard with keys pressed? Is this correct?
Can one use two joy sticks and configure them somehow to use different sets of key for controlling two game characters in parallel.
thank you,
Dan
You need to use Gamepad object.
With multiple connected gamepads, each of them will have a unique ID, which you can use to control different characters.
Great thank you.
Are there particular gamepads that i need to buy -- like makes or models that are known to work, say, in windows and ubuntu -- all in the browser -- or, any will essentially, do.
thanks,
Develop games in your browser. Powerful, performant & highly capable.
ok. got it
the xbox gamepads are the preferred ones, per documentation