/dports/games/openbor4432/openbor-ba1eb4f/engine/wii/ |
H A D | control.h | 12 #define MAX_BUTTONS 21 macro 51 #define CONTROL_DEFAULT2_UP (1+MAX_BUTTONS) 52 #define CONTROL_DEFAULT2_RIGHT (2+MAX_BUTTONS) 53 #define CONTROL_DEFAULT2_DOWN (3+MAX_BUTTONS) 54 #define CONTROL_DEFAULT2_LEFT (4+MAX_BUTTONS) 55 #define CONTROL_DEFAULT2_FIRE1 (5+MAX_BUTTONS) 56 #define CONTROL_DEFAULT2_FIRE2 (7+MAX_BUTTONS) 57 #define CONTROL_DEFAULT2_FIRE3 (16+MAX_BUTTONS) 58 #define CONTROL_DEFAULT2_FIRE4 (17+MAX_BUTTONS) 59 #define CONTROL_DEFAULT2_FIRE5 (6+MAX_BUTTONS) [all …]
|
/dports/games/openbor3979/openbor-2bcf25b/engine/wii/ |
H A D | control.h | 12 #define MAX_BUTTONS 21 macro 51 #define CONTROL_DEFAULT2_UP (1+MAX_BUTTONS) 52 #define CONTROL_DEFAULT2_RIGHT (2+MAX_BUTTONS) 53 #define CONTROL_DEFAULT2_DOWN (3+MAX_BUTTONS) 54 #define CONTROL_DEFAULT2_LEFT (4+MAX_BUTTONS) 55 #define CONTROL_DEFAULT2_FIRE1 (5+MAX_BUTTONS) 56 #define CONTROL_DEFAULT2_FIRE2 (7+MAX_BUTTONS) 57 #define CONTROL_DEFAULT2_FIRE3 (16+MAX_BUTTONS) 58 #define CONTROL_DEFAULT2_FIRE4 (17+MAX_BUTTONS) 59 #define CONTROL_DEFAULT2_FIRE5 (6+MAX_BUTTONS) [all …]
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/wii/ |
H A D | control.h | 12 #define MAX_BUTTONS 21 macro 51 #define CONTROL_DEFAULT2_UP (1+MAX_BUTTONS) 52 #define CONTROL_DEFAULT2_RIGHT (2+MAX_BUTTONS) 53 #define CONTROL_DEFAULT2_DOWN (3+MAX_BUTTONS) 54 #define CONTROL_DEFAULT2_LEFT (4+MAX_BUTTONS) 55 #define CONTROL_DEFAULT2_FIRE1 (5+MAX_BUTTONS) 56 #define CONTROL_DEFAULT2_FIRE2 (7+MAX_BUTTONS) 57 #define CONTROL_DEFAULT2_FIRE3 (16+MAX_BUTTONS) 58 #define CONTROL_DEFAULT2_FIRE4 (17+MAX_BUTTONS) 59 #define CONTROL_DEFAULT2_FIRE5 (6+MAX_BUTTONS) [all …]
|
/dports/games/openbor3711/openbor-6ec17fa/engine/wii/ |
H A D | control.h | 12 #define MAX_BUTTONS 21 macro 51 #define CONTROL_DEFAULT2_UP (1+MAX_BUTTONS) 52 #define CONTROL_DEFAULT2_RIGHT (2+MAX_BUTTONS) 53 #define CONTROL_DEFAULT2_DOWN (3+MAX_BUTTONS) 54 #define CONTROL_DEFAULT2_LEFT (4+MAX_BUTTONS) 55 #define CONTROL_DEFAULT2_FIRE1 (5+MAX_BUTTONS) 56 #define CONTROL_DEFAULT2_FIRE2 (7+MAX_BUTTONS) 57 #define CONTROL_DEFAULT2_FIRE3 (16+MAX_BUTTONS) 58 #define CONTROL_DEFAULT2_FIRE4 (17+MAX_BUTTONS) 59 #define CONTROL_DEFAULT2_FIRE5 (6+MAX_BUTTONS) [all …]
|
/dports/games/julius/julius-1.7.0/src/window/ |
H A D | overlay_menu.c | 20 #define MAX_BUTTONS 8 macro 50 static const int MENU_ID_TO_OVERLAY[MAX_BUTTONS] = {OVERLAY_NONE, OVERLAY_WATER, 1, 3, 5, 6, 7, OVE… 51 static const int MENU_ID_TO_SUBMENU_ID[MAX_BUTTONS] = {0, 0, 1, 2, 3, 4, 5, 0}; 53 static const int SUBMENU_ID_TO_OVERLAY[6][MAX_BUTTONS] = { 154 m->y > MENU_Y_OFFSET + MENU_CLICK_MARGIN + MENU_ITEM_HEIGHT * MAX_BUTTONS); in click_outside_menu() 162 menu_buttons, MAX_BUTTONS, &data.menu_focus_button_id); in handle_input()
|
H A D | main_menu.c | 24 #define MAX_BUTTONS 6 macro 73 for (int i = 0; i < MAX_BUTTONS; i++) { in draw_foreground() 90 if (generic_buttons_handle_mouse(m_dialog, 0, 0, buttons, MAX_BUTTONS, &focus_button_id)) { in handle_input()
|
/dports/games/warmux/warmux-11.04/build/android/jni/sdl/src/video/android/ |
H A D | SDL_touchscreenkeyboard.c | 59 static SDLKey buttonKeysyms[MAX_BUTTONS] = { 76 static int pointerInButtonRect[MAX_BUTTONS + 1] = {0}; 213 for( i = 0; i < MAX_BUTTONS; i++ ) in SDL_ANDROID_drawTouchscreenKeyboard() 328 if( pointerInButtonRect[MAX_BUTTONS] == -1 ) in SDL_ANDROID_processTouchscreenKeyboard() 330 pointerInButtonRect[MAX_BUTTONS] = pointerId; in SDL_ANDROID_processTouchscreenKeyboard() 352 for( i = 0; i < MAX_BUTTONS; i++ ) in SDL_ANDROID_processTouchscreenKeyboard() 382 if( pointerInButtonRect[MAX_BUTTONS] == pointerId ) in SDL_ANDROID_processTouchscreenKeyboard() 385 pointerInButtonRect[MAX_BUTTONS] = -1; in SDL_ANDROID_processTouchscreenKeyboard() 400 for( i = 0; i < MAX_BUTTONS; i++ ) in SDL_ANDROID_processTouchscreenKeyboard() 438 pointerInButtonRect[MAX_BUTTONS] = -1; in SDL_ANDROID_processTouchscreenKeyboard() [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/input/ |
H A D | InputBindingManager.cpp | 20 uint32 CInputBindingManager::m_buttonDefaultValue[PS2::CControllerInfo::MAX_BUTTONS] = 110 for(unsigned int button = 0; button < PS2::CControllerInfo::MAX_BUTTONS; button++) in HasBindings() 154 for(unsigned int button = 0; button < PS2::CControllerInfo::MAX_BUTTONS; button++) in OnInputEventReceived() 167 for(unsigned int button = 0; button < PS2::CControllerInfo::MAX_BUTTONS; button++) in Reload() 182 for(unsigned int button = 0; button < PS2::CControllerInfo::MAX_BUTTONS; button++) in Reload() 225 for(unsigned int button = 0; button < PS2::CControllerInfo::MAX_BUTTONS; button++) in Save() 246 if((pad >= MAX_PADS) || (button >= PS2::CControllerInfo::MAX_BUTTONS)) in GetBinding() 256 assert(button < PS2::CControllerInfo::MAX_BUTTONS); in GetBindingValue() 283 if((pad >= MAX_PADS) || (button >= PS2::CControllerInfo::MAX_BUTTONS)) in SetSimpleBinding() 292 if((pad >= MAX_PADS) || (button >= PS2::CControllerInfo::MAX_BUTTONS)) in SetPovHatBinding() [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ |
H A D | PH_Generic.cpp | 24 for(unsigned int i = 0; i < PS2::CControllerInfo::MAX_BUTTONS; i++) in Update() 42 assert(buttonId < PS2::CControllerInfo::MAX_BUTTONS); in SetButtonState() 48 assert(buttonId < PS2::CControllerInfo::MAX_BUTTONS); in SetAxisState()
|
H A D | PH_Generic.h | 19 bool m_buttonStates[PS2::CControllerInfo::MAX_BUTTONS]; 20 float m_axisStates[PS2::CControllerInfo::MAX_BUTTONS];
|
H A D | ControllerInfo.h | 32 MAX_BUTTONS enumerator 35 static const char* m_buttonName[MAX_BUTTONS];
|
H A D | VirtualPad.h | 17 PS2::CControllerInfo::BUTTON code0 = PS2::CControllerInfo::MAX_BUTTONS; 18 PS2::CControllerInfo::BUTTON code1 = PS2::CControllerInfo::MAX_BUTTONS;
|
/dports/games/d2x/d2x-0.2.5/unused/bios/ |
H A D | joyc.c | 53 #define MAX_BUTTONS 28 macro 55 #define MAX_BUTTONS 20 macro 73 Button_info buttons[MAX_BUTTONS]; 125 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_flush() 166 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_handler() 314 for (i=0; i<MAX_BUTTONS; i++ ) in joy_init() 520 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_state() 535 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_up_cnt() 550 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_cnt() 566 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_time()
|
/dports/x11/controllermap/SDL2-2.0.18/src/video/wayland/ |
H A D | SDL_waylandmessagebox.c | 36 #define MAX_BUTTONS 8 /* Maximum number of buttons supported */ macro 44 if (messageboxdata->numbuttons > MAX_BUTTONS) { in Wayland_ShowMessageBox() 45 return SDL_SetError("Too many buttons (%d max allowed)", MAX_BUTTONS); in Wayland_ShowMessageBox() 55 …const char* argv[5 + 2/* icon name */ + 2/* title */ + 2/* message */ + 2*MAX_BUTTONS + 1/* NULL *… in Wayland_ShowMessageBox()
|
/dports/devel/sdl20/SDL2-2.0.18/src/video/wayland/ |
H A D | SDL_waylandmessagebox.c | 36 #define MAX_BUTTONS 8 /* Maximum number of buttons supported */ macro 44 if (messageboxdata->numbuttons > MAX_BUTTONS) { in Wayland_ShowMessageBox() 45 return SDL_SetError("Too many buttons (%d max allowed)", MAX_BUTTONS); in Wayland_ShowMessageBox() 55 …const char* argv[5 + 2/* icon name */ + 2/* title */ + 2/* message */ + 2*MAX_BUTTONS + 1/* NULL *… in Wayland_ShowMessageBox()
|
/dports/games/d2x/d2x-0.2.5/arch/win32/ |
H A D | joyhh.c | 72 Button_info buttons[MAX_BUTTONS]; 122 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_flush() 171 for (i = 0; i < MAX_BUTTONS; i++) in joy_handler32() 176 if ( i < (MAX_BUTTONS-4) ) in joy_handler32() 220 for (i = 0; i < MAX_BUTTONS; i++) { in joy_read_raw_buttons() 302 for (i=0; i<MAX_BUTTONS; i++) in joy_init() 562 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_state() 575 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_up_cnt() 588 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_cnt() 603 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_time()
|
/dports/devel/allegro5/allegro5-5.2.7.0/include/allegro5/internal/ |
H A D | aintern_wjoydxnu.h | 14 #define MAX_BUTTONS 32 macro 22 ALLEGRO_STATIC_ASSERT(wjoydxnu, _AL_MAX_JOYSTICK_BUTTONS >= MAX_BUTTONS); 53 int num_buttons; TCHAR name_button[MAX_BUTTONS][NAME_LEN];
|
H A D | aintern_wjoyxi.h | 14 #define MAX_BUTTONS 14 macro 22 ALLEGRO_STATIC_ASSERT(wjoydxnu, _AL_MAX_JOYSTICK_BUTTONS >= MAX_BUTTONS);
|
/dports/games/augustus/augustus-3.1.0/src/widget/ |
H A D | map_editor_pause_menu.c | 26 #define MAX_BUTTONS 6 macro 56 for (int i = 0; i < MAX_BUTTONS; i++) { in draw_foreground() 74 if (generic_buttons_handle_mouse(m_dialog, 0, 0, buttons, MAX_BUTTONS, &focus_button_id)) { in handle_input()
|
H A D | city_pause_menu.c | 23 #define MAX_BUTTONS 6 macro 44 for (int i = 0; i < MAX_BUTTONS; i++) { in draw_foreground() 62 if (generic_buttons_handle_mouse(m_dialog, 0, 0, buttons, MAX_BUTTONS, &focus_button_id)) { in handle_input()
|
/dports/games/d2x/d2x-0.2.5/unused/win95/ |
H A D | joyc.c | 45 #define MAX_BUTTONS 20 macro 66 Button_info buttons[MAX_BUTTONS]; 113 for (i=0; i<MAX_BUTTONS; i++) in joy_init() 238 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_flush() 545 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_state() 559 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_up_cnt() 573 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_cnt() 587 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_time() 833 for (i = 0; i < MAX_BUTTONS; i++) in joy_handler_win() 840 if ( i < (MAX_BUTTONS-4) ) state = (value >> i) & 1; in joy_handler_win()
|
/dports/games/augustus/augustus-3.1.0/src/window/ |
H A D | main_menu.c | 26 #define MAX_BUTTONS 6 macro 78 for (int i = 0; i < MAX_BUTTONS; i++) { in draw_foreground() 95 if (generic_buttons_handle_mouse(m_dialog, 0, 0, buttons, MAX_BUTTONS, &data.focus_button_id)) { in handle_input()
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/jd-amigainput/ |
H A D | joystick.c | 21 #define MAX_BUTTONS 12 macro 43 uint32 buttonBufferOffset[MAX_BUTTONS]; 44 int32 buttonData[MAX_BUTTONS]; 117 if (joy->buttonCount > MAX_BUTTONS) joy->buttonCount = MAX_BUTTONS; in enumerateJoysticks()
|
/dports/games/d2x/d2x-0.2.5/arch/dos/ |
H A D | joyc.c | 223 Button_info buttons[MAX_BUTTONS]; 280 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_flush() 312 for (i=0; i<MAX_BUTTONS; i++ ) { in joy_handler() 466 for (i=0; i<MAX_BUTTONS; i++ ) in joy_init() 728 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_state() 743 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_up_cnt() 758 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_cnt() 774 if ( btn >= MAX_BUTTONS ) return 0; in joy_get_button_down_time()
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/jd-amigaos/ |
H A D | joystick.c | 25 #define MAX_BUTTONS 2 macro 123 return MAX_AXLES + MAX_BUTTONS; in get_joystick_widget_num() 128 if (num >= MAX_AXLES && num < MAX_AXLES+MAX_BUTTONS) { in get_joystick_widget_type()
|