Removed dead code from WindowsKeyboard

This commit is contained in:
Elias Naur 2007-06-06 09:01:09 +00:00
parent d4b7b88366
commit 1986b75e82
1 changed files with 0 additions and 1 deletions

View File

@ -112,7 +112,6 @@ final class WindowsKeyboard {
} }
private int translateShift(int scan_code, byte state) { private int translateShift(int scan_code, byte state) {
int state_mask = state != 0 ? 0x8000 : 0x0000;
if (checkShiftKey(WindowsKeycodes.VK_LSHIFT, state)) { if (checkShiftKey(WindowsKeycodes.VK_LSHIFT, state)) {
return WindowsKeycodes.VK_LSHIFT; return WindowsKeycodes.VK_LSHIFT;
} else if (checkShiftKey(WindowsKeycodes.VK_RSHIFT, state)) { } else if (checkShiftKey(WindowsKeycodes.VK_RSHIFT, state)) {