Hi everyone A few days ago, I initiated a discussion about how to use hidapi.
Now, I make a simple test to use it, but I always get 0 when I plug in a mouse or keyboard and get their 'usage' nad 'usage page' I'm using ubuntu 14.04 (linux) and imx6 device(4.1.15). Here is output of a mouse device on linux: It's a hid device libusb: VID: 3599 PID: 3 device: PID:3 VID:3599 usage:0 usage page:0 release: 258 interface: 0 path: 0002:0002:00 device: PID:3 VID:3599 usage:0 usage page:0 release: 258 interface: 1 path: 0002:0002:01 Manufacturer: VMware Product: VMware Virtual USB Mouse OTOH, I can't get list by hid_enumerate() on ARM but it return success when hid_init(); what's the problem? PS:Here is the files of libusb and hidapi Regards Mihan
USBPlugin.cpp
Description: Binary data
USBPlugin.h
Description: Binary data
USBPlugin.pro
Description: Binary data
usbplugin_global.h
Description: Binary data
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss