mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 19:31:12 +00:00
bdk: use the typedefs on jc calib
This commit is contained in:
parent
820e6d5a6e
commit
d7ad9b874b
1 changed files with 6 additions and 6 deletions
|
@ -92,12 +92,12 @@ typedef struct _jc_gamepad_rpt_t
|
||||||
|
|
||||||
typedef struct _jc_calib_t
|
typedef struct _jc_calib_t
|
||||||
{
|
{
|
||||||
unsigned short x_max:12;
|
u16 x_max:12;
|
||||||
unsigned short y_max:12;
|
u16 y_max:12;
|
||||||
unsigned short x_center:12;
|
u16 x_center:12;
|
||||||
unsigned short y_center:12;
|
u16 y_center:12;
|
||||||
unsigned short x_min:12;
|
u16 x_min:12;
|
||||||
unsigned short y_min:12;
|
u16 y_min:12;
|
||||||
} __attribute__((packed)) jc_calib_t;
|
} __attribute__((packed)) jc_calib_t;
|
||||||
|
|
||||||
void jc_init_hw();
|
void jc_init_hw();
|
||||||
|
|
Loading…
Reference in a new issue