1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-06-29 00:48:43 +00:00

Add dualshock 4 ControllerSupports

This commit is contained in:
cathery 2020-04-05 12:23:58 +03:00
parent dfbd4ff5d8
commit d009dd01ff

View File

@ -40,6 +40,18 @@ bool DoesControllerSupport(ControllerType type, ControllerSupport supportType)
default:
return false;
}
case CONTROLLER_DUALSHOCK4:
switch (supportType)
{
case SUPPORTS_RUMBLE:
return true;
case SUPPORTS_BLUETOOTH:
return true;
case SUPPORTS_SIXAXIS:
return true;
default:
return false;
}
default:
return false;
}