|
From: Xiaofan C. <xia...@gm...> - 2007-08-14 05:52:38
|
On 8/14/07, Carl Kenner <car...@gm...> wrote: > The problem is that "the" driver for the device would then remove all > the HID functionality that Windows provides, which means I need to use > a PPJoy virtual joystick to simulate it as a joystick again. > > All I want to do is read one feature report that Windows won't let me > read, and then it will work as a normal HID joystick. > > By the way, when I am using the Device Driver, there is another > problem I am having. Interrupt reads are always failing. So I end up > using the GetInputReport via usb control messages as workaround. > With the current version of libusb 0.1x, I believe you won't be able to achieve what you want to do. since you can not really use the filter driver with HID device. Somewhere I read that the filter driver will not be actively supported but I can not find the reference now. You can do this in Windows without using libusb (using Raw Input). http://www.lvr.com/hidfaq.htm The new development version (1.x) will support HID as a backend. I can find the HID device with the new HID backend. However, read and write are not working yet. Regards, Xiaofan |