tags:

views:

141

answers:

2

In the onkeydown() handler I am getting 219 as the keycode for '['; however, the actual character value of '[' is 91. Is there any way to map these two?

+1  A: 

If you are using Windows, you should look into the ToUnicodeEx function.

Zach Johnson
A: 

MapVirtualKey() is also useful.

Ashish