As converting a way to use a host keyboard from usb to virtio,
disable usb keyboard menu and enable virtio keyboard menu.
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
}
} );
+ /*
// USB Keyboard menu
final MenuItem usbKeyboardItem = new MenuItem(menu, SWT.CASCADE);
usbKeyboardItem.setText("&USB Keyboard");
usbOffItem.addSelectionListener(usbSelectionAdaptor);
usbKeyboardItem.setMenu(usbKeyBoardMenu);
+ */
- /*
// VirtIO Keyboard Menu
final MenuItem hostKeyboardItem = new MenuItem(menu, SWT.CASCADE);
hostKeyboardItem.setText("&Host Keyboard");
kbdOffItem.addSelectionListener(kbdSelectionAdaptor);
hostKeyboardItem.setMenu(hostKeyboardMenu);
- */
/* Diagnosis menu */
if (SwtUtil.isLinuxPlatform()) { //TODO: windows
}
#endif
+#if 0
if (!mloop_evcmd_get_usbkbd_status()) {
TRACE("ignore keyboard input because usb keyboard is dettached.\n");
return;
}
+#endif
scancode = javakeycode_to_scancode(event_type, keycode, state_mask, key_location);