Reputation: 682
I'm trying to type some text into a text field using the Robot class in Java.
The problem I have is, that I can not discover the integer value of the backtick key (to the left of 1 on the keyboard).
I have no idea which one of the VK_ constants in the KeyEvent class it is.
At first I assumed it was 96, but pressing it using the robot gives me 0
(maybe 96 is the numpad zero).
What is the integer keycode for backtick?
Upvotes: 2
Views: 3666
Reputation: 1885
If microsoft layout editor is right, VK_OEM_3 . Does it make sense?
Upvotes: 1