18#ifndef __VSF_USBH_DS4_H__
19#define __VSF_USBH_DS4_H__
25#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_DS4 == ENABLED
28#if VSF_USE_INPUT == ENABLED && VSF_INPUT_USE_DS4 == ENABLED
32#if defined(__VSF_USBH_DS4_CLASS_IMPLEMENT)
33# undef __VSF_USBH_DS4_CLASS_IMPLEMENT
34# define __VSF_CLASS_IMPLEMENT__
44#if VSF_USBH_USE_HID != ENABLED
45# error "DS4 driver need VSF_USBH_USE_HID"
51#if VSF_USE_INPUT == ENABLED && VSF_INPUT_USE_DS4 == ENABLED
64#if VSF_USE_INPUT == ENABLED && VSF_INPUT_USE_DS4 == ENABLED
77#if VSF_USE_INPUT == ENABLED && VSF_INPUT_USE_DS4 == ENABLED
85#if VSF_USE_INPUT == ENABLED && VSF_INPUT_USE_DS4 == ENABLED
Definition vsf_usbh.h:268
Definition vsf_usbh_ds4.h:62
Definition vsf_usbh_HID.h:105
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_usb_ds4.h:38
Definition vsf_usb_ds4.h:82
void vk_ds4u_process_input(vk_input_ds4u_t *dev, vsf_usb_ds4_gamepad_in_report_t *data)
Definition vsf_usbh_ds4.c:163
void vk_usbh_ds4_set_rumble(vk_usbh_ds4_t *ds4, uint8_t left, uint8_t right)
Definition vsf_usbh_ds4.c:351
const vk_usbh_class_drv_t vk_usbh_ds4_drv
Definition vsf_usbh_ds4.c:96
const vk_input_item_info_t vk_ds4u_gamepad_item_info[GAMEPAD_ID_NUM]
Definition vsf_usbh_ds4.c:73
void vk_ds4u_free_dev(vk_input_ds4u_t *dev)
Definition vsf_usbh_ds4.c:158
void vk_ds4u_new_dev(vk_input_ds4u_t *dev)
Definition vsf_usbh_ds4.c:152
void vk_usbh_ds4_set_led(vk_usbh_ds4_t *ds4, uint8_t r, uint8_t g, uint8_t b)
Definition vsf_usbh_ds4.c:359
@ VSF_INPUT_TYPE_DS4
Definition vsf_usbh_ds4.h:53
bool vk_usbh_ds4_can_output(vk_usbh_ds4_t *ds4)
Definition vsf_usbh_ds4.c:340