master
Adam Honse 3 years ago
parent f730f7eaae
commit 67bc2053d0

@ -15,7 +15,7 @@ WushiL50USBController::WushiL50USBController(hidapi_wrapper hid_wrapper, hid_dev
WushiL50USBController::~WushiL50USBController()
{
hid_close(dev);
wrapper.hid_close(dev);
}
void WushiL50USBController::setMode(WushiL50State * in_mode)

@ -15,15 +15,6 @@
\*-----------------------------------------------------*/
#define WUSHI_PID 0x1234
/*-----------------------------------------------------*\
| Interface, Usage, and Usage Page |
\*-----------------------------------------------------*/
enum
{
WUSHI_PAGE = 0xFF63,
WUSHI_USAGE = 0x0C
};
void DetectWushiL50USBControllers(hidapi_wrapper wrapper, hid_device_info* info, const std::string& name)
{
hid_device* dev = wrapper.hid_open_path(info->path);

Loading…
Cancel
Save