[Type]
[Module] Emulator
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
JAVA_KEY_INSERT,
JAVA_KEY_F1 = 10,
JAVA_KEY_F20 = 29,
+ JAVA_KEY_CAPS_LOCK = 82,
+ JAVA_KEY_NUM_LOCK,
+ JAVA_KEY_SCROLL_LOCK,
+ JAVA_KEY_PAUSE,
+ JAVA_KEY_BREAK,
+ JAVA_KEY_PRINT_SCREEN
};
case JAVA_KEY_INSERT :
vk = KEY_IC;
break;
+ case JAVA_KEY_CAPS_LOCK :
+ case JAVA_KEY_NUM_LOCK :
+ case JAVA_KEY_SCROLL_LOCK :
+ case JAVA_KEY_PAUSE :
+ case JAVA_KEY_BREAK :
+ case JAVA_KEY_PRINT_SCREEN :
+ //TODO:
+ return -1;
+ break;
default :
+ return -1;
break;
}
}
case '\\' :
vk = '|';
break;
+ case '[' :
+ vk = '{';
+ break;
+ case ']' :
+ vk = '}';
+ break;
+ case ';' :
+ vk = ':';
+ break;
+ case '\'' :
+ vk = '\"';
+ break;
+ case ',' :
+ vk = '<';
+ break;
+ case '.' :
+ vk = '>';
+ break;
+ case '/' :
+ vk = '?';
+ break;
default :
if (vk > 32 && vk < KEY_MAX) { //text keys
vk -= 32; //case sensitive offset
['0'] = 11,
['-'] = 12,
['='] = 13,
- [0x07f] = 14, /* Backspace */
- //[KEY_BACKSPACE] = 14, /* Backspace */
+ [0x07f] = 14, /* Delete */
[0x008] = 14, /* Backspace */
['\t'] = 15, /* Tab */