18#ifndef __VSF_USB_DS4_H__
19#define __VSF_USB_DS4_H__
31#define DS4_ACC_RANGE 4
32#define DS4_GYRO_RANGE 2000
signed short int16_t
Definition lvgl.h:42
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
Definition vsf_usb_ds4.h:38
uint8_t unknown1
Definition vsf_usb_ds4.h:63
uint8_t l2_click
Definition vsf_usb_ds4.h:51
uint8_t l3
Definition vsf_usb_ds4.h:55
uint8_t ry
Definition vsf_usb_ds4.h:43
uint8_t ly
Definition vsf_usb_ds4.h:41
uint8_t unknown4[12]
Definition vsf_usb_ds4.h:78
int16_t gyro_pitch
Definition vsf_usb_ds4.h:64
uint8_t lx
Definition vsf_usb_ds4.h:40
uint8_t circle
Definition vsf_usb_ds4.h:47
int16_t acc_x
Definition vsf_usb_ds4.h:67
uint8_t touch[19]
Definition vsf_usb_ds4.h:77
uint8_t l1
Definition vsf_usb_ds4.h:49
uint8_t plug_audio
Definition vsf_usb_ds4.h:73
uint8_t r1
Definition vsf_usb_ds4.h:50
uint8_t r2_click
Definition vsf_usb_ds4.h:52
uint8_t unknown3[2]
Definition vsf_usb_ds4.h:76
uint8_t menu_right
Definition vsf_usb_ds4.h:54
uint8_t menu_main
Definition vsf_usb_ds4.h:57
uint8_t rx
Definition vsf_usb_ds4.h:42
uint8_t triangle
Definition vsf_usb_ds4.h:48
uint8_t plug_mic
Definition vsf_usb_ds4.h:74
uint8_t l2
Definition vsf_usb_ds4.h:60
uint8_t id
Definition vsf_usb_ds4.h:39
uint8_t plug_usb
Definition vsf_usb_ds4.h:72
uint8_t menu_left
Definition vsf_usb_ds4.h:53
uint8_t r2
Definition vsf_usb_ds4.h:61
uint8_t square
Definition vsf_usb_ds4.h:45
int16_t acc_z
Definition vsf_usb_ds4.h:69
uint8_t battery
Definition vsf_usb_ds4.h:71
int16_t gyro_yaw
Definition vsf_usb_ds4.h:65
uint16_t timestamp16
Definition vsf_usb_ds4.h:62
uint8_t timestamp6
Definition vsf_usb_ds4.h:59
uint8_t cross
Definition vsf_usb_ds4.h:46
uint8_t touch_click
Definition vsf_usb_ds4.h:58
uint8_t unknown2[5]
Definition vsf_usb_ds4.h:70
uint8_t r3
Definition vsf_usb_ds4.h:56
uint8_t d_pad
Definition vsf_usb_ds4.h:44
uint8_t zero
Definition vsf_usb_ds4.h:75
int16_t acc_y
Definition vsf_usb_ds4.h:68
int16_t gyro_roll
Definition vsf_usb_ds4.h:66
Definition vsf_usb_ds4.h:82
uint8_t rumble_l
Definition vsf_usb_ds4.h:88
uint8_t id
Definition vsf_usb_ds4.h:83
uint8_t dummyFF
Definition vsf_usb_ds4.h:84
uint8_t led_g
Definition vsf_usb_ds4.h:90
uint8_t dummy1[2]
Definition vsf_usb_ds4.h:85
uint8_t flash_bright
Definition vsf_usb_ds4.h:93
uint8_t led_r
Definition vsf_usb_ds4.h:89
uint8_t rumble_r
Definition vsf_usb_ds4.h:87
uint8_t flash_dark
Definition vsf_usb_ds4.h:94
uint8_t dummy2[21]
Definition vsf_usb_ds4.h:96
uint8_t led_b
Definition vsf_usb_ds4.h:91
struct vsf_usb_ds4_gamepad_in_report_t VSF_CAL_PACKED