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:
parent
dfbd4ff5d8
commit
d009dd01ff
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user