Commit Graph
7 Commits
Author SHA1 Message Date
Yuri Benditovich 13788aef60 vioinput: fix VirtIO printouts
They did not appear with ETW. Fixed.

Signed-off-by: Yuri Benditovich <[email protected]>
2019-12-11 13:55:04 +01:00
Yuri Benditovich f10f740e04 vioinput: output also VirtIO logs as ETW events
Signed-off-by: Yuri Benditovich <[email protected]>
2019-12-11 13:55:04 +01:00
Ladi Prosek 3853cf804a vioinput: Switch to BSD license
The project is switching from GPL to BSD.

Signed-off-by: Ladi Prosek <[email protected]>
2017-08-08 11:28:16 +03:00
Sameeh Jubran ad7f6562c9 Add missing invokes to va_end macro
According to documentation the va_end macro should be invoked before
the function returns whenever va_start has been invoked from that
function.

This commit fixes errors reported by cppcheck tool.

Error sample:
[kvm-guest-drivers-windows/Balloon/sys/utils.c:60]: (error) va_list 'list'
was opened but not closed by va_end().

Signed-off-by: Sameeh Jubran <[email protected]>
2017-03-27 16:20:25 +03:00
Vadim Rozenfeld 87ef07e2fb Bug 1303510 - Change the copyright on all the Windows drivers to "2017" in virtio-win-prewhql build
(cherry-picked from commit a3a92176c31bb5e297f7919e02a652d1580f8b8d)
Signed-off-by: Ladi Prosek <[email protected]>
2017-03-23 10:04:55 +01:00
Ladi Prosek a65fc516da vioinput: Implement full mouse support
The driver now reads the EV_KEY and EV_REL config from the device
and builds an HID report descriptor describing the capabilities
(number of buttons, axes, wheels) of the mouse device. Also being
built is a smaller data structure used to transform EVDEV events
to HID reports at run-time.

Mouse is still the only supported input device class.
2016-07-17 18:10:46 +10:00
Ladi Prosek a1d08f88d3 vioinput: Initial vioinput commit
This commit adds a new driver for the virtio input devices
with VEN 1AF4 and DEV 1052. The initial implementation exposes
all input devices as a basic 3-button mouse so it's useful
only for the mouse device (-device virtio-mouse-pci) for now.

TODO:
- build HID descriptors dynamically depending on the virtual
device capabilities
- implement status queue support (keyboard LEDs and such)

The driver is a miniport HID driver, acting like a lower
filter for MsHidKmdf.sys which ships with Windows 7 and newer.
2016-07-17 18:10:40 +10:00