Opened 9 years ago
Closed 9 years ago
#40 closed task (fixed)
Todo: implement the keyboard capture code for Qt frontend
Reported by: | Valery V. Sedletski | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | VBox QT Interface |
Component: | Frontends | Keywords: | qt frontend keyboard hook helper |
Cc: |
Description
The old VBox port from year 2008 contains the code for capturing the keyboard via a keyboard hook DLL. It intercept all keyboard input including special keys and modifiers, hotkeys etc. Here I attached the patch for a Makefile to build a VBoxHlp.dll -- a helper DLL which contains a keyboard hook. The work remained is to refactor the keyboard code to different source files and classes. This is needed because the source code structure is changed in the upstream. Without this code, the Qt frontend may block PM on waiting the input events. It can be used though, if start the frontend like this:
VirtualBox.exe --startvm winxp
Then the selector window will be not running and no communication between them and the VM window. Also, the user experience is even better if you install the VBox additions and use mouse integration (see #29).
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | qtfront-vboxhlp.diff added |
---|
comment:1 by , 9 years ago
The old keyboard code is ported to new VirtualBox code base with r108-r109. The original old changeset URL was https://www.virtualbox.org/changeset/5132/vbox/trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp (it was the 1st code checkin, but I used revision https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Frontends/VirtualBox?rev=9203, which corresponds to VBox ver. 1.6.3. The code was removed much later.). So, the keyboard code is working now, and I close this ticket.
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Keyboard hook helper DLL