Reputation: 14320
By adding the wasd-controls
-attribute, you can move using this keys on a Qwerty keyboard. But I have an Azerty keyboard. My question is now could I use this keys: Z (up), Q (left), S (down) and D (right) or maby the arrow keys ↑, ←, ↓ and →?
Upvotes: 0
Views: 1126
Reputation: 14645
WASD-CONTROLS
enable You to move using the arrow keys.WASD-CONTROLS
in here, and it seems You can't add any attribute to the WASD-CONTROLS
to make them work with other keys.WASD-CONTROLS
and rewrite the listeners, or make an easy component with Your own implementation of acceleration etc. Upvotes: 1