Corrected Logical errors in ResourceManager.cpp

* Removed comparison of -1 to unsigned int
* Corrected comparison of current_device to HID_INTERFACE_ANY
* Exposed downstream errors in Windows implementation of CM_MP750
controller corrected
* Added "Off" mode
This commit is contained in:
Chris 2021-01-01 22:32:04 +11:00 committed by Adam Honse
parent 14834e1e28
commit 215baa487a
5 changed files with 57 additions and 56 deletions

View file

@ -42,8 +42,8 @@ typedef struct
HIDDeviceDetectorFunction function;
unsigned int address;
int interface;
int usage_page;
int usage;
unsigned short usage_page;
unsigned short usage;
} HIDDeviceDetectorBlock;
typedef void (*DeviceListChangeCallback)(void *);