mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 03:11:16 +00:00
bdk: joycon: add calibration struct
This commit is contained in:
parent
937ab52d14
commit
bc0eea11f3
1 changed files with 10 additions and 0 deletions
|
@ -90,6 +90,16 @@ typedef struct _jc_gamepad_rpt_t
|
|||
jc_bt_conn_t bt_conn_r;
|
||||
} jc_gamepad_rpt_t;
|
||||
|
||||
typedef struct _jc_calib_t
|
||||
{
|
||||
unsigned short x_max:12;
|
||||
unsigned short y_max:12;
|
||||
unsigned short x_center:12;
|
||||
unsigned short y_center:12;
|
||||
unsigned short x_min:12;
|
||||
unsigned short y_min:12;
|
||||
} __attribute__((packed)) jc_calib_t;
|
||||
|
||||
void jc_init_hw();
|
||||
void jc_deinit();
|
||||
jc_gamepad_rpt_t *joycon_poll();
|
||||
|
|
Loading…
Reference in a new issue