mirror of
https://github.com/cathery/sys-con.git
synced 2025-03-20 10:20:44 +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:
|
default:
|
||||||
return false;
|
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:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user