I'm developing a basic game in Javascript
, and the player has some actions, I've already implemented ActionListener
, but I'm having difficulty finding key values to use in ActionListener
. I was picking up 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?