commit | 3389098ff34aec7308df808266b67e66ee1e3fbc | [log] [tgz] |
---|---|---|
author | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | Tue Mar 19 10:20:27 2019 -0700 |
committer | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | Tue Mar 19 19:26:38 2019 +0000 |
tree | d2f9c4b9327513bd59ed25aef04c29414c65ef75 | |
parent | 2bc661d34abd1fda92a9d2b256ed88ca0e90d09a [diff] |
Fix mouse button mapping issue Mapping of a mouse button event delivered from libvncserver is different from HID gadget driver so this patch swaps bit position 1 and 2 to map center and right button correctly. Tested: KVM mouse buttons worked correctly. Change-Id: Ia1771df6763b906b5cff3041df9095e0c72c892b Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
The obmc-ikvm application is a VNC server that provides access to the host graphics output. The application interfaces with the video device on the BMC that captures the host graphics, and then serves that video data on the RFB (remote framebuffer, also known as VNC) protocol. The application also interfaces with the BMC USB gadget device to pass HID events from the BMC to the host, allowing the user to interact with the host system.
Once the host is running and an appropriate HID gadget device is instantiated on the BMC, the application can be started with the following command: obmc-ikvm -v <video device path> -i <HID gadget device path>
For example:
obmc-ikvm -v /dev/video0 -i /dev/hidg0