more small stuff
This commit is contained in:
@@ -16,7 +16,6 @@ Joystick::Joystick() : id( InputDevice_Invalid ),
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool JoystickDevice::AddLogicalDevice( int usagePage, int usage )
|
||||
{
|
||||
if( usagePage != kHIDPage_GenericDesktop )
|
||||
@@ -146,7 +145,7 @@ bool JoystickDevice::InitDevice( int vid, int pid )
|
||||
{
|
||||
if( vid != 0x0507 || pid != 0x0011 )
|
||||
return true;
|
||||
// It's a Para controller so try to power it on.
|
||||
// It's a Para controller, so try to power it on.
|
||||
uint8_t powerOn = 1;
|
||||
IOReturn ret = SetReport( kIOHIDReportTypeFeature, 0, &powerOn, 1, 10 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user