Changes between Version 1 and Version 2 of KeyboardInput
- Timestamp:
- May 11, 2018 3:12:02 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KeyboardInput
v1 v2 6 6 7 7 The code which picks up keyboard events from the host for the default user interface it in the files: 8 8 {{{ 9 9 src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp 10 10 src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp 11 11 }}} 12 12 Unfortunately there is no logging available here. The code to read the keyboard is different for Windows, X11 and OS X. 13 13 14 14 After this, the events are passed on to Main, which is the middle-layer between front-ends and virtual machines. 15 15 {{{ 16 16 src/VBox/Main/src-client/KeyboardImpl.cpp 17 17 }}} 18 18 Main takes care of things which otherwise all front-ends would have to do (not much for the keyboard), then passes the events on to the device emulation code. The path here will be different depending on whether we are using PS/2 keyboard emulation (almost always) or USB keyboard. The device emulation makes the events appear on the guest virtual hardware. 19 19 {{{ 20 20 src/VBox/Devices/Input/ 21 21 }}} 22 22 There is logging<2> code here, respectively log group "dev_kbd" and "usb_kbd" 23 23