Fix HID issues
Mixed type HID report descriptor in the current trunk doesn't work
well so this patch fixes the HID creation logic to make it use
composite configuration which has separated keyboard and mouse
HID descriptor using a single USB port.
ikvm service also should be changed using below setting after
applying this patch:
ExecStart=/usr/bin/env obmc-ikvm -v /dev/video0 -k /dev/hidg0 -p /dev/hidg1
Change-Id: I9b2975f4fdade2c6030def829951d02b24bea562
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
diff --git a/ikvm_manager.cpp b/ikvm_manager.cpp
index 90a9fce..5e014d0 100644
--- a/ikvm_manager.cpp
+++ b/ikvm_manager.cpp
@@ -7,7 +7,7 @@
Manager::Manager(const Args& args) :
continueExecuting(true), serverDone(false), videoDone(true),
- input(args.getInputPath()),
+ input(args.getKeyboardPath(), args.getPointerPath()),
video(args.getVideoPath(), input, args.getFrameRate()),
server(args, input, video)
{