add automatic mapping of joysticks
This commit is contained in:
@@ -108,6 +108,11 @@ bool USBDevice::Open(int VID, int PID, int num)
|
||||
return h != INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
bool USBDevice::IsOpen()
|
||||
{
|
||||
return h != INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
int USBDevice::GetPadEvent()
|
||||
{
|
||||
if(h == INVALID_HANDLE_VALUE)
|
||||
|
||||
Reference in New Issue
Block a user