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
} |
|
◆ VSF_GAMEPAD_DEF_ITEM_INFO_LINEAR
#define VSF_GAMEPAD_DEF_ITEM_INFO_LINEAR |
( |
|
__NAME, |
|
|
|
__BITOFFSET, |
|
|
|
__BITLEN, |
|
|
|
__IS_SIGNED, |
|
|
|
__CONFIG |
|
) |
| |
Value:
(__BITOFFSET), (__BITLEN), (__IS_SIGNED), (__CONFIG))
#define VSF_MCONNECT2(a, b)
Definition vsf_connect_macro.h:72
◆ VSF_GAMEPAD_DEF_ITEM_INFO
#define VSF_GAMEPAD_DEF_ITEM_INFO |
( |
|
__NAME, |
|
|
|
__BITOFFSET, |
|
|
|
__BITLEN, |
|
|
|
__IS_SIGNED |
|
) |
| |
Value:
(__BITOFFSET), (__BITLEN), (__IS_SIGNED))
◆ vsf_gamepad_id_t
◆ vk_gamepad_evt_t
◆ anonymous enum
Enumerator |
---|
VSF_INPUT_TYPE_GAMEPAD | |
◆ vsf_gamepad_id_t
Enumerator |
---|
GAMEPAD_ID_DUMMY | |
GAMEPAD_ID_LU | |
GAMEPAD_ID_L_UP | |
GAMEPAD_ID_LD | |
GAMEPAD_ID_L_DOWN | |
GAMEPAD_ID_LL | |
GAMEPAD_ID_L_LEFT | |
GAMEPAD_ID_LR | |
GAMEPAD_ID_L_RIGHT | |
GAMEPAD_ID_RU | |
GAMEPAD_ID_R_UP | |
GAMEPAD_ID_RD | |
GAMEPAD_ID_R_DOWN | |
GAMEPAD_ID_RL | |
GAMEPAD_ID_R_LEFT | |
GAMEPAD_ID_RR | |
GAMEPAD_ID_R_RIGHT | |
GAMEPAD_ID_LB | |
GAMEPAD_ID_L_BUMPER | |
GAMEPAD_ID_RB | |
GAMEPAD_ID_R_BUMPER | |
GAMEPAD_ID_LS | |
GAMEPAD_ID_L_STICK | |
GAMEPAD_ID_RS | |
GAMEPAD_ID_R_STICK | |
GAMEPAD_ID_MENU_LEFT | |
GAMEPAD_ID_MENU_RIGHT | |
GAMEPAD_ID_MENU_MAIN | |
GAMEPAD_ID_SPECIAL | |
GAMEPAD_ID_LX | |
GAMEPAD_ID_LY | |
GAMEPAD_ID_RX | |
GAMEPAD_ID_RY | |
GAMEPAD_ID_LT | |
GAMEPAD_ID_RT | |
GAMEPAD_ID_DPAD | |
GAMEPAD_ID_PADDLE1 | |
GAMEPAD_ID_PADDLE2 | |
GAMEPAD_ID_PADDLE3 | |
GAMEPAD_ID_PADDLE4 | |
GAMEPAD_ID_NUM | |
GAMEPAD_ID_USER | |
◆ vk_gamepad_input_parse()