add automatic mapping of joysticks

This commit is contained in:
Chris Danford
2003-05-28 02:35:05 +00:00
parent 9ec65e3509
commit 4d182f85a4
19 changed files with 183 additions and 11 deletions
+5
View File
@@ -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)