VK_xxx in Java for ~ (tilde), ? (question mark), % (percent), | (vert bar) and " (dbl quote) -


i trying find vk_xxx in keyevent keys can type in on keyboard. can find of them, except above 5. idea why these 5 missing? should using shift mask these? if go route, can use shift mask 2 (vk_at), 3 (vk_number_sign), 4 (vk_dollar), etc., too?

the context - reading string file contains arbitrary ascii characters, , trying have awt robot press , release vk's put string somewhere. thank you.

http://download.oracle.com/javase/6/docs/api/java/awt/event/keyevent.html

it states: not characters have keycode associated them. example, there no keycode question mark because there no keyboard appears on primary layer.

vk_dead_tilde, vk_quotedbl.

so have capture charcode event, besides keyreleased.

a bit unportable shift+5 etc.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -