WT keyboard input
I am trying to get the input from the browser keydown event and use it (transform it in a scan code) in a C app.
I've managed to do this, but I've found a WT (c) limitation: not all the keys are mapped.
The above enum does not contain all the physical keys. E.g. if you press '[' , Key will default to 'Unknown'. There are many like this.
This issue prevents me from getting all the characters right.
What do you think about this? This is a fault, right?
RE: WT keyboard input - Added by Roel Standaert about 1 month ago
I think this is because it was based on the older
keyCode parameter, where the value is implementation-dependent and so can't really be relied upon.
There is a newer
key parameter which should probably get precedence over
keyCode, which we could support. I think then we can't really enumerate all of the possible values, though.