3
I’m developing a basic game in Javascript
, and the player has some actions, already implemented the ActionListener
, but I’m having trouble finding the key values to use in ActionListener
. I was taking the values of each key by trial and error, but it is very laborious, is it possible to know the value of all keys more easily? If possible, how?
Hello, you can use this code generator + guide to call in your app. https://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
– Gabriel Balladares
A quick way to discover the key code would be by using this website.
– Omni
Could you add your code that you have already done? It would help us better understand your problem!
– Marconi