Home
last modified time | relevance | path

Searched refs:userid (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_xinputjoystick.c75 GetXInputName(const Uint8 userid, BYTE SubType) in GetXInputName() argument
143 if (s_arrXInputDevicePath[userid]) { in GuessXInputDevice()
201 if (s_arrXInputDevicePath[userid]) { in GuessXInputDevice()
277 pNewJoystick->XInputUserId = userid; in AddXInputDevice()
309 DelXInputDevice(Uint8 userid) in DelXInputDevice() argument
311 if (s_arrXInputDevicePath[userid]) { in DelXInputDevice()
312 SDL_free(s_arrXInputDevicePath[userid]); in DelXInputDevice()
313 s_arrXInputDevicePath[userid] = NULL; in DelXInputDevice()
328 const Uint8 userid = (Uint8)iuserid; in SDL_XINPUT_JoystickDetect() local
345 DelXInputDevice(userid); in SDL_XINPUT_JoystickDetect()
[all …]
A DSDL_windowsjoystick_c.h84 Uint8 userid; /* XInput userid index for this joystick */ member
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_xinputhaptic.c63 const Uint8 userid = (Uint8)dwUserid; in SDL_XINPUT_MaybeAddDevice() local
73 if (item->bXInputHaptic && item->userid == userid) { in SDL_XINPUT_MaybeAddDevice()
104 item->userid = userid; in SDL_XINPUT_MaybeAddDevice()
112 const Uint8 userid = (Uint8)dwUserid; in SDL_XINPUT_MaybeRemoveDevice() local
121 if (item->bXInputHaptic && item->userid == userid) { in SDL_XINPUT_MaybeRemoveDevice()
157 XINPUTSETSTATE(hwdata->userid, &vibration); in SDL_RunXInputHaptic()
171 XINPUTSETSTATE(userid, &vibration); in SDL_XINPUT_HapticOpenFromUserIndex()
197 haptic->hwdata->userid = userid; in SDL_XINPUT_HapticOpenFromUserIndex()
230 return (haptic->hwdata->userid == joystick->hwdata->userid); in SDL_XINPUT_JoystickSameHaptic()
241 if (item->bXInputHaptic && item->userid == joystick->hwdata->userid) { in SDL_XINPUT_HapticOpenFromJoystick()
[all …]
A DSDL_windowshaptic_c.h42 Uint8 userid; /* XInput userid index for this joystick */ member
76 Uint8 userid; /* XInput userid index for this joystick */ member

Completed in 7 milliseconds