} privatechar[] getKeyChars(KeyState state,intkey) {charc ='\000';booleanshifted = state.isShiftPressed();//TODO:implement configurable keyboard mappings.// The following is only for US keyboardsif(key >= KeyEvent.VK_A && key <= KeyEvent.VK_Z) { shifted ^= capsLock;if(shifted) {...
}elseswitch(linuxKeyCode) {caseLinuxInput.KEY_0:returnKeyEvent.VK_0;caseLinuxInput.KEY_A:returnKeyEvent.VK_A;caseLinuxInput.KEY_B:returnKeyEvent.VK_B;caseLinuxInput.KEY_C:returnKeyEvent.VK_C;caseLinuxInput.KEY_D:returnKeyEvent.VK_D;caseLinuxInput.KEY_E:returnKeyEvent.VK_E;caseLinuxInput...