bdk: joycon: add Sio support (for Hoag)

This commit is contained in:
CTCaer
2022-05-09 06:09:06 +03:00
parent f452d916c9
commit f31170bb51
2 changed files with 335 additions and 85 deletions

View File

@@ -83,8 +83,9 @@ typedef struct _jc_gamepad_rpt_t
bool center_stick_r;
bool conn_l;
bool conn_r;
u8 batt_info_l;
u8 batt_info_r;
bool sio_mode;
u8 batt_info_l; // Also Sio Connected status.
u8 batt_info_r; // Also Sio IRQ.
jc_bt_conn_t bt_conn_l;
jc_bt_conn_t bt_conn_r;
} jc_gamepad_rpt_t;