Found 2 DirectInput devices:
0: 'Keyboard' axes: 0, hats: 0, buttons: 256 (buffered) 1: 'Mouse' axes: 0, hats: 0, buttons: 8 (buffered) it's only just beginning
This commit is contained in:
@@ -322,7 +322,6 @@ static int ConvertScancodeToKey( int scancode )
|
|||||||
|
|
||||||
static BOOL CALLBACK DIMouse_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev, LPVOID data)
|
static BOOL CALLBACK DIMouse_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev, LPVOID data)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
DIDevice *device = (DIDevice *) data;
|
DIDevice *device = (DIDevice *) data;
|
||||||
|
|
||||||
input_t in;
|
input_t in;
|
||||||
@@ -341,7 +340,6 @@ static BOOL CALLBACK DIMouse_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev, L
|
|||||||
}
|
}
|
||||||
|
|
||||||
device->Inputs.push_back(in);
|
device->Inputs.push_back(in);
|
||||||
*/
|
|
||||||
|
|
||||||
return DIENUM_CONTINUE;
|
return DIENUM_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user