mirror of
https://github.com/AxioDL/boo.git
synced 2025-07-01 10:53:48 +00:00
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 =
|
usbdevfs_bulktransfer xfer =
|
||||||
{
|
{
|
||||||
m_usbIntfOutPipe | USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
|
m_usbIntfOutPipe | USB_DIR_OUT,
|
||||||
(unsigned)length,
|
(unsigned)length,
|
||||||
30,
|
30,
|
||||||
(void*)data
|
(void*)data
|
||||||
|
@ -49,7 +49,7 @@ class HIDListenerUdev final : public IHIDListener
|
|||||||
|
|
||||||
int vid = 0, pid = 0;
|
int vid = 0, pid = 0;
|
||||||
udev_list_entry* attrs = udev_device_get_properties_list_entry(device);
|
udev_list_entry* attrs = udev_device_get_properties_list_entry(device);
|
||||||
#if 0
|
#if 1
|
||||||
udev_list_entry* att = nullptr;
|
udev_list_entry* att = nullptr;
|
||||||
udev_list_entry_foreach(att, attrs)
|
udev_list_entry_foreach(att, attrs)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user