Fixed N64 Mouse detection
This commit is contained in:
parent
4d8a419efa
commit
d6c2116a71
|
@ -602,13 +602,11 @@ EXPORT void CALL ReadController( int Control, BYTE * Command )
|
||||||
#ifdef ENABLE_RAWPAK_DEBUG
|
#ifdef ENABLE_RAWPAK_DEBUG
|
||||||
WriteDatasA( "GetStatus-PreProcessing", Control, Command, 0);
|
WriteDatasA( "GetStatus-PreProcessing", Control, Command, 0);
|
||||||
#endif
|
#endif
|
||||||
Command[3] = RD_GAMEPAD;
|
Command[3] = RD_GAMEPAD | RD_ABSOLUTE;
|
||||||
Command[4] = RD_NOEEPROM;
|
Command[4] = RD_NOEEPROM;
|
||||||
|
|
||||||
if (g_pcControllers[Control].fN64Mouse) // Is Controller a mouse?
|
if (g_pcControllers[Control].fN64Mouse) // Is Controller a mouse?
|
||||||
Command[3] |= RD_RELATIVE;
|
Command[3] = RD_RELATIVE;
|
||||||
else
|
|
||||||
Command[3] |= RD_ABSOLUTE;
|
|
||||||
|
|
||||||
if( g_pcControllers[Control].fPakInitialized && g_pcControllers[Control].pPakData )
|
if( g_pcControllers[Control].fPakInitialized && g_pcControllers[Control].pPakData )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue