Home
last modified time | relevance | path

Searched refs:button_mask (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/
A DSDL_sysjoystick.m140 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_A);
141 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_B);
142 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_X);
143 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_Y);
170 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_START); method in is_MFi
197 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_A);
198 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_B);
199 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_X);
200 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_Y);
218 device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_A);
[all …]
A DSDL_sysjoystick_c.h49 Uint16 button_mask; member
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c941 int button_mask; in SDL_CreateMappingForAndroidController() local
946 if (!button_mask && !axis_mask) { in SDL_CreateMappingForAndroidController()
962 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_A)) { in SDL_CreateMappingForAndroidController()
965 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_B)) { in SDL_CreateMappingForAndroidController()
970 button_mask &= ~(1 << SDL_CONTROLLER_BUTTON_BACK); in SDL_CreateMappingForAndroidController()
972 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_X)) { in SDL_CreateMappingForAndroidController()
975 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_Y)) { in SDL_CreateMappingForAndroidController()
978 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_BACK)) { in SDL_CreateMappingForAndroidController()
982 if (button_mask & (1 << SDL_CONTROLLER_BUTTON_GUIDE)) { in SDL_CreateMappingForAndroidController()
990 button_mask &= ~(1 << SDL_CONTROLLER_BUTTON_START); in SDL_CreateMappingForAndroidController()
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/android/
A DSDL_sysjoystick.c325 …r *desc, int vendor_id, int product_id, SDL_bool is_accelerometer, int button_mask, int naxes, int… in Android_AddJoystick() argument
374 button_mask |= ((1 << SDL_CONTROLLER_BUTTON_DPAD_UP) | in Android_AddJoystick()
401 *guid16++ = SDL_SwapLE16(button_mask); in Android_AddJoystick()
419 if (button_mask == 0xFFFFFFFF) { in Android_AddJoystick()
422 for (i = 0; i < sizeof(button_mask)*8; ++i) { in Android_AddJoystick()
423 if (button_mask & (1 << i)) { in Android_AddJoystick()
A DSDL_sysjoystick_c.h35 …r *desc, int vendor_id, int product_id, SDL_bool is_accelerometer, int button_mask, int naxes, int…
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.c249 jboolean is_accelerometer, jint button_mask, jint naxes, jint nhats, jint nballs);
942 jint button_mask, jint naxes, jint nhats, jint nballs) in SDL_JAVA_CONTROLLER_INTERFACE()
948 … desc, vendor_id, product_id, is_accelerometer ? SDL_TRUE : SDL_FALSE, button_mask, naxes, nhats, … in SDL_JAVA_CONTROLLER_INTERFACE()

Completed in 21 milliseconds