mirror of https://github.com/AxioDL/boo.git
Fix communication with devices
This commit is contained in:
parent
53fec8ac43
commit
5b552cdc5d
|
@ -45,7 +45,7 @@ class HIDDeviceUdev final : public IHIDDevice
|
|||
{
|
||||
usbdevfs_bulktransfer xfer =
|
||||
{
|
||||
m_usbIntfOutPipe | USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
|
||||
m_usbIntfOutPipe | USB_DIR_OUT,
|
||||
(unsigned)length,
|
||||
30,
|
||||
(void*)data
|
||||
|
|
|
@ -49,7 +49,7 @@ class HIDListenerUdev final : public IHIDListener
|
|||
|
||||
int vid = 0, pid = 0;
|
||||
udev_list_entry* attrs = udev_device_get_properties_list_entry(device);
|
||||
#if 0
|
||||
#if 1
|
||||
udev_list_entry* att = nullptr;
|
||||
udev_list_entry_foreach(att, attrs)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue