Updated keymappings in getKey2KeycodeMapping()
git-svn-id: http://jintellitype.googlecode.com/svn/trunk@10 46e98894-136e-cd33-ffd5-f4f03a221aa8
This commit is contained in:
@@ -457,7 +457,7 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("typed", KeyEvent.KEY_TYPED);
|
||||
map.put("pressed", KeyEvent.KEY_PRESSED);
|
||||
map.put("released", KeyEvent.KEY_RELEASED);
|
||||
map.put("enter", KeyEvent.VK_ENTER);
|
||||
map.put("enter", 13);
|
||||
map.put("back_space", KeyEvent.VK_BACK_SPACE);
|
||||
map.put("tab", KeyEvent.VK_TAB);
|
||||
map.put("cancel", KeyEvent.VK_CANCEL);
|
||||
@@ -474,10 +474,10 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("up", KeyEvent.VK_UP);
|
||||
map.put("right", KeyEvent.VK_RIGHT);
|
||||
map.put("down", KeyEvent.VK_DOWN);
|
||||
map.put("comma", KeyEvent.VK_COMMA);
|
||||
map.put("minus", KeyEvent.VK_MINUS);
|
||||
map.put("period", KeyEvent.VK_PERIOD);
|
||||
map.put("slash", KeyEvent.VK_SLASH);
|
||||
map.put("comma", 188);
|
||||
map.put("minus", 109);
|
||||
map.put("period", 110);
|
||||
map.put("slash", 191);
|
||||
map.put("0", KeyEvent.VK_0);
|
||||
map.put("1", KeyEvent.VK_1);
|
||||
map.put("2", KeyEvent.VK_2);
|
||||
@@ -488,8 +488,8 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("7", KeyEvent.VK_7);
|
||||
map.put("8", KeyEvent.VK_8);
|
||||
map.put("9", KeyEvent.VK_9);
|
||||
map.put("semicolon", KeyEvent.VK_SEMICOLON);
|
||||
map.put("equals", KeyEvent.VK_EQUALS);
|
||||
map.put("semicolon", 186);
|
||||
map.put("equals", 187);
|
||||
map.put("a", KeyEvent.VK_A);
|
||||
map.put("b", KeyEvent.VK_B);
|
||||
map.put("c", KeyEvent.VK_C);
|
||||
@@ -516,9 +516,9 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("x", KeyEvent.VK_X);
|
||||
map.put("y", KeyEvent.VK_Y);
|
||||
map.put("z", KeyEvent.VK_Z);
|
||||
map.put("open_bracket", KeyEvent.VK_OPEN_BRACKET);
|
||||
map.put("back_slash", KeyEvent.VK_BACK_SLASH);
|
||||
map.put("close_bracket", KeyEvent.VK_CLOSE_BRACKET);
|
||||
map.put("open_bracket", 219);
|
||||
map.put("back_slash", 220);
|
||||
map.put("close_bracket", 221);
|
||||
map.put("numpad0", KeyEvent.VK_NUMPAD0);
|
||||
map.put("numpad1", KeyEvent.VK_NUMPAD1);
|
||||
map.put("numpad2", KeyEvent.VK_NUMPAD2);
|
||||
@@ -535,7 +535,7 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("subtract", KeyEvent.VK_SUBTRACT);
|
||||
map.put("decimal", KeyEvent.VK_DECIMAL);
|
||||
map.put("divide", KeyEvent.VK_DIVIDE);
|
||||
map.put("delete", KeyEvent.VK_DELETE);
|
||||
map.put("delete", 46);
|
||||
map.put("num_lock", KeyEvent.VK_NUM_LOCK);
|
||||
map.put("scroll_lock", KeyEvent.VK_SCROLL_LOCK);
|
||||
map.put("f1", KeyEvent.VK_F1);
|
||||
@@ -562,9 +562,9 @@ public final class JIntellitype implements JIntellitypeConstants {
|
||||
map.put("f22", KeyEvent.VK_F22);
|
||||
map.put("f23", KeyEvent.VK_F23);
|
||||
map.put("f24", KeyEvent.VK_F24);
|
||||
map.put("printscreen", KeyEvent.VK_PRINTSCREEN);
|
||||
map.put("insert", KeyEvent.VK_INSERT);
|
||||
map.put("help", KeyEvent.VK_HELP);
|
||||
map.put("printscreen", 44);
|
||||
map.put("insert", 45);
|
||||
map.put("help", 47);
|
||||
map.put("meta", KeyEvent.VK_META);
|
||||
map.put("back_quote", KeyEvent.VK_BACK_QUOTE);
|
||||
map.put("quote", KeyEvent.VK_QUOTE);
|
||||
|
||||
Reference in New Issue
Block a user