uplift bdk

Signed-off-by: Damien Zhao <zdm65477730@126.com>
This commit is contained in:
Damien Zhao committed 2024-04-13 12:27:17 +08:00
1 parent cf9ec7683b
commit 029b32f722
109 files changed
+58033 -2060

No files matched your search

+10
View File
@@ -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
{
u16 x_max:12;
u16 y_max:12;
u16 x_center:12;
u16 y_center:12;
u16 x_min:12;
u16 y_min:12;
} __attribute__((packed)) jc_calib_t;
void jc_init_hw();
void jc_deinit();
jc_gamepad_rpt_t *joycon_poll();