18#ifndef __VSF_INPUT_GAMEPAD_H__
19#define __VSF_INPUT_GAMEPAD_H__
22#include "../vsf_input_cfg.h"
24#include "../vsf_input_get_type.h"
33#define VSF_GAMEPAD_DEF_ITEM_INFO_LINEAR(__NAME, __BITOFFSET, __BITLEN, __IS_SIGNED, __CONFIG)\
34 [VSF_MCONNECT2(GAMEPAD_ID_, __NAME)] = VSF_INPUT_ITEM_EX( \
35 VSF_MCONNECT2(GAMEPAD_ID_, __NAME), \
36 (__BITOFFSET), (__BITLEN), (__IS_SIGNED), (__CONFIG))
38#define VSF_GAMEPAD_DEF_ITEM_INFO(__NAME, __BITOFFSET, __BITLEN, __IS_SIGNED) \
39 [VSF_MCONNECT2(GAMEPAD_ID_, __NAME)] = VSF_INPUT_ITEM( \
40 VSF_MCONNECT2(GAMEPAD_ID_, __NAME), \
41 (__BITOFFSET), (__BITLEN), (__IS_SIGNED))
unsigned char uint8_t
Definition lvgl.h:40
Definition vsf_input_gamepad.h:103