mirror of
https://github.com/cathery/sys-con.git
synced 2025-03-19 16:20:47 +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…
x
Reference in New Issue
Block a user