Misc fixes, mostly related to no-joycon controls
This commit is contained in:
@@ -98,4 +98,9 @@ Inputs *hidWait(){
|
||||
while (!(in->buttons))
|
||||
hidRead();
|
||||
return in;
|
||||
}
|
||||
|
||||
bool hidConnected(){
|
||||
jc_gamepad_rpt_t *controller = joycon_poll();
|
||||
return (controller->conn_l && controller->conn_r) ? 1 : 0;
|
||||
}
|
||||
Reference in New Issue
Block a user