Question
Assigning Keyboard Actions
Hello,
I am wanting my 'H' key to work. I have attached my code below. The function is basically triggered by an event handler from another function.
The code I have works if i want to assign a keycode for SPACEBAR etc however it doesnt work for H.
H only works with the keyCode 72 if the shift key is held in. This is not what I want, i simply want someone to press the H key only and they get the desired effect.
Can anyone help?
Thanks
Lee
I am wanting my 'H' key to work. I have attached my code below. The function is basically triggered by an event handler from another function.
The code I have works if i want to assign a keycode for SPACEBAR etc however it doesnt work for H.
H only works with the keyCode 72 if the shift key is held in. This is not what I want, i simply want someone to press the H key only and they get the desired effect.
Can anyone help?
Thanks
Lee