Home
last modified time | relevance | path

Searched refs:joy (Results 226 – 250 of 2159) sorted by relevance

12345678910>>...87

/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/demos/
H A Dfire.c347 JOYINFO joy; in dojoy() local
354 if (max[0] < joy.wXpos) in dojoy()
355 max[0] = joy.wXpos; in dojoy()
356 if (min[0] > joy.wXpos) in dojoy()
357 min[0] = joy.wXpos; in dojoy()
360 if (max[1] < joy.wYpos) in dojoy()
361 max[1] = joy.wYpos; in dojoy()
362 if (min[1] > joy.wYpos) in dojoy()
363 min[1] = joy.wYpos; in dojoy()
373 if (joy.wButtons & JOY_BUTTON1) in dojoy()
[all …]
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/demos/
H A Dfire.c347 JOYINFO joy; in dojoy() local
354 if (max[0] < joy.wXpos) in dojoy()
355 max[0] = joy.wXpos; in dojoy()
356 if (min[0] > joy.wXpos) in dojoy()
357 min[0] = joy.wXpos; in dojoy()
360 if (max[1] < joy.wYpos) in dojoy()
361 max[1] = joy.wYpos; in dojoy()
362 if (min[1] > joy.wYpos) in dojoy()
363 min[1] = joy.wYpos; in dojoy()
373 if (joy.wButtons & JOY_BUTTON1) in dojoy()
[all …]
H A Dray.c567 JOYINFO joy; in dojoy() local
574 if (max[0] < joy.wXpos) in dojoy()
575 max[0] = joy.wXpos; in dojoy()
576 if (min[0] > joy.wXpos) in dojoy()
577 min[0] = joy.wXpos; in dojoy()
580 if (max[1] < joy.wYpos) in dojoy()
581 max[1] = joy.wYpos; in dojoy()
582 if (min[1] > joy.wYpos) in dojoy()
583 min[1] = joy.wYpos; in dojoy()
593 if (joy.wButtons & JOY_BUTTON1) in dojoy()
[all …]
/dports/lang/huc/huc-3.21/include/pce/
H A Djoypad.asm34 ; First read should be for 'joy' and second for
184 tii joy, joyold, 5
201 sta joy,Y ; store in 'current' area
206 ora joy,Y ; merge 2 nybbles into 1 byte
208 sta joy,Y ; store it
/dports/games/dodgindiamond2/dd2-0.2.2/src/
H A Dcontrol.c28 void control_player_joy(SDL_Joystick *joy, pDesc *p) in control_player_joy() argument
36 x=SDL_JoystickGetAxis(joy,0); in control_player_joy()
37 y=SDL_JoystickGetAxis(joy,1); in control_player_joy()
58 but=SDL_JoystickGetButton(joy, 0); in control_player_joy()
/dports/emulators/joytran/joytran-0.9.5.2/src/
H A Dhandle_events.h10 void handle_XY_axis(SDL_Joystick *joy, int id, int x, int y);
11 void handle_hat(SDL_Joystick *joy, int id, int n, int x, int y);
12 void handle_button(SDL_Joystick *joy, int id, int button, int press);
/dports/games/py-fife/fifengine-0.4.2/engine/core/eventchannel/joystick/
H A Djoystickmanager.cpp97 Joystick* joy = NULL; in getJoystick() local
100 joy = m_joysticks[it->second]; in getJoystick()
102 return joy; in getJoystick()
222 Joystick* joy = addJoystick(event.jdevice.which); in processJoystickEvent() local
223 if (joy) { in processJoystickEvent()
224 joyevt.setInstanceId(joy->getInstanceId()); in processJoystickEvent()
236 Joystick* joy = getJoystick(joyevt.getInstanceId()); in processJoystickEvent() local
237 …dispatch = dispatch && (!joy->isController() || (event.type == SDL_JOYDEVICEREMOVED || event.type … in processJoystickEvent()
239 joyevt.setController(joy->isController()); in processJoystickEvent()
244 removeJoystick(joy); in processJoystickEvent()
/dports/games/quake2-source/quake2-r0.16.2/src/solaris/
H A Drw_sdl.c111 static SDL_Joystick *joy; variable
183 if (joy) { in RW_IN_Shutdown()
184 SDL_JoystickClose(joy); in RW_IN_Shutdown()
185 joy = NULL; in RW_IN_Shutdown()
224 if (joystick_avail && joy) { in RW_IN_Commands()
313 if (joystick_avail && joy) { in RW_IN_Move()
587 joy = NULL; in InitJoystick()
600 joy = SDL_JoystickOpen(i); in InitJoystick()
601 if (joy) { in InitJoystick()
609 if (!joy) { in InitJoystick()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/solaris/
H A Drw_sdl.c111 static SDL_Joystick *joy; variable
183 if (joy) { in RW_IN_Shutdown()
184 SDL_JoystickClose(joy); in RW_IN_Shutdown()
185 joy = NULL; in RW_IN_Shutdown()
224 if (joystick_avail && joy) { in RW_IN_Commands()
313 if (joystick_avail && joy) { in RW_IN_Move()
587 joy = NULL; in InitJoystick()
600 joy = SDL_JoystickOpen(i); in InitJoystick()
601 if (joy) { in InitJoystick()
609 if (!joy) { in InitJoystick()
[all …]
/dports/emulators/teo/teo/src/media/
H A Djoystick.c68 void joystick_Move(int joy, int pos) in END_OF_FUNCTION()
82 if (joy) in END_OF_FUNCTION()
94 void joystick_Button(int joy, int button, int state) in END_OF_FUNCTION()
96 if (joy) in END_OF_FUNCTION()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/
H A DMakefile.in115 joy-osx-hidmgr.$(OBJEXT) joy-osx-hidutil.$(OBJEXT) \
116 joy-osx.$(OBJEXT) joy-unix-usb.$(OBJEXT) joy-unix.$(OBJEXT) \
117 joy-win32-dinput-handle.$(OBJEXT) joy-win32.$(OBJEXT) \
509 joy-osx-hid.c \
512 joy-osx.c \
514 joy-unix.c \
516 joy-win32.c \
577 joy-osx.h \
578 joy-unix.h \
580 joy-win32.h \
[all …]
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/wx/
H A Dpanel.cpp1182 keys_pressed[kpno].joy == joy) in process_key_press()
1203 wxJoyKeyBinding jb = { key, mod, joy }; in process_key_press()
1214 if (b[k].key == key && b[k].mod == mod && b[k].joy == joy) in process_key_press()
1226 b[k2].joy == joy)) in process_key_press()
1232 keys_pressed[kpno].joy == b[k2].joy) in process_key_press()
1264 int joy = ev.GetJoy() + 1; in OnSDLJoy() local
1281 process_key_press(false, key, WXJB_HAT_N, joy); in OnSDLJoy()
1282 process_key_press(false, key, WXJB_HAT_S, joy); in OnSDLJoy()
1283 process_key_press(false, key, WXJB_HAT_E, joy); in OnSDLJoy()
1284 process_key_press(false, key, WXJB_HAT_W, joy); in OnSDLJoy()
[all …]
/dports/games/egoboo/egoboo-2.8.1/src/game/
H A Dinput.c54 device_joystick_t joy[MAXJOYSTICK]; variable
107 memset( joy + i, 0, sizeof( device_joystick_t ) ); in input_init_joysticks()
111 joy[i].sdl_ptr = SDL_JoystickOpen( i ); in input_init_joysticks()
112 joy[i].on = ( NULL != joy[i].sdl_ptr ); in input_init_joysticks()
175 if ( !joy[which].on ) return; in input_read_joystick()
177 pjoy = joy + which; in input_read_joystick()
393 buttonmask = joy[which_device - INPUT_DEVICE_JOY].b; in input_get_buttonmask()
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/platform/libpicofe/
H A Din_sdl.c24 SDL_Joystick *joy; member
173 SDL_Joystick *joy; in in_sdl_probe() local
195 joy = SDL_JoystickOpen(i); in in_sdl_probe()
196 if (joy == NULL) in in_sdl_probe()
204 state->joy = joy; in in_sdl_probe()
221 if (state->joy != NULL) in in_sdl_free()
222 SDL_JoystickClose(state->joy); in in_sdl_free()
356 Uint32 mask = state->joy ? JOY_EVENTS : (SDL_ALLEVENTS & ~JOY_EVENTS); in collect_events()
374 if (state->joy) { in collect_events()
460 if (state->joy) { in in_sdl_menu_translate()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pre90s/
H A Dd_snk68.cpp513 if (joy[0] && joy[2]) return 1; // up left in Joy2RotateInvert()
514 if (joy[0] && joy[3]) return 7; // up right in Joy2RotateInvert()
516 if (joy[1] && joy[2]) return 3; // down left in Joy2RotateInvert()
517 if (joy[1] && joy[3]) return 5; // down right in Joy2RotateInvert()
519 if (joy[0]) return 0; // up in Joy2RotateInvert()
529 return Joy2RotateInvert(joy); in Joy2Rotate()
531 if (joy[0] && joy[2]) return 7; // up left in Joy2Rotate()
532 if (joy[0] && joy[3]) return 1; // up right in Joy2Rotate()
534 if (joy[1] && joy[2]) return 5; // down left in Joy2Rotate()
535 if (joy[1] && joy[3]) return 3; // down right in Joy2Rotate()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/
H A Dd_snk68.cpp515 if (joy[0] && joy[2]) return 1; // up left in Joy2RotateInvert()
516 if (joy[0] && joy[3]) return 7; // up right in Joy2RotateInvert()
518 if (joy[1] && joy[2]) return 3; // down left in Joy2RotateInvert()
519 if (joy[1] && joy[3]) return 5; // down right in Joy2RotateInvert()
521 if (joy[0]) return 0; // up in Joy2RotateInvert()
531 return Joy2RotateInvert(joy); in Joy2Rotate()
533 if (joy[0] && joy[2]) return 7; // up left in Joy2Rotate()
534 if (joy[0] && joy[3]) return 1; // up right in Joy2Rotate()
536 if (joy[1] && joy[2]) return 5; // down left in Joy2Rotate()
537 if (joy[1] && joy[3]) return 3; // down right in Joy2Rotate()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/fluent-bundle/benches/
H A Dunescape.ftl1 face-with-tears-of-joy = ��
8 emoji-in-text = A face �� with tears of joy.
9 emoji-in-string = {"A face �� with tears of joy."}
/dports/devel/allegro/allegro-4.4.3.1/src/linux/
H A Dljoy.c119 j = &joy[i]; in joy_init()
173 for (j = 0; j < joy[i].num_sticks; j++) in joy_exit()
174 _AL_FREE((void *)joy[i].stick[j].name); in joy_exit()
175 for (j = 0; j < joy[i].num_buttons; j++) in joy_exit()
176 _AL_FREE((void *)joy[i].button[j].name); in joy_exit()
214 if (e[k].number < joy[i].num_buttons) in joy_poll()
215 joy[i].button[e[k].number].b = e[k].value; in joy_poll()
/dports/emulators/uae/uae-0.8.29/src/od-linux/
H A Djoystick.c194 static char *get_joystick_name (int joy) in get_joystick_name() argument
197 sprintf (name, "%d: %s%d", joy + 1, js_prefix, joy); in get_joystick_name()
201 static int get_joystick_widget_num (int joy) in get_joystick_widget_num() argument
206 static int get_joystick_widget_type (int joy, int num, char *name, uae_u32 *dummy) in get_joystick_widget_type() argument
220 static int get_joystick_widget_first (int joy, int type) in get_joystick_widget_first() argument
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Ddongle.cpp201 int dongle_analogjoy (int joy, int axis) in dongle_analogjoy() argument
209 if (joy == 1 && axis == 0) in dongle_analogjoy()
213 if (joy == 1) { in dongle_analogjoy()
221 if (joy == 1) { in dongle_analogjoy()
/dports/games/quake2-source/quake2-r0.16.2/src/linux/
H A Drw_sdl.c92 static SDL_Joystick *joy; variable
103 if (joy) { in CloseJoystick()
104 SDL_JoystickClose(joy); in CloseJoystick()
105 joy = NULL; in CloseJoystick()
114 if (joy) { in PlatformJoyCommands()
129 axis_vals[axis_map[i]] = (int)SDL_JoystickGetAxis(joy, i); in PlatformJoyCommands()
390 joy = NULL; in OpenJoystick()
402 joy = SDL_JoystickOpen(i); in OpenJoystick()
403 if (joy) { in OpenJoystick()
405 joy_numbuttons = SDL_JoystickNumButtons(joy); in OpenJoystick()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/linux/
H A Drw_sdl.c92 static SDL_Joystick *joy; variable
103 if (joy) { in CloseJoystick()
104 SDL_JoystickClose(joy); in CloseJoystick()
105 joy = NULL; in CloseJoystick()
114 if (joy) { in PlatformJoyCommands()
129 axis_vals[axis_map[i]] = (int)SDL_JoystickGetAxis(joy, i); in PlatformJoyCommands()
390 joy = NULL; in OpenJoystick()
402 joy = SDL_JoystickOpen(i); in OpenJoystick()
403 if (joy) { in OpenJoystick()
405 joy_numbuttons = SDL_JoystickNumButtons(joy); in OpenJoystick()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/qt/
H A Dqinputinterface.h27 int joystickHat(int joy, int hat);
28 int joystickAxis(int joy, int axis);
29 int joystickButton(int joy, int button);
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burner/qt/
H A Dqinputinterface.h27 int joystickHat(int joy, int hat);
28 int joystickAxis(int joy, int axis);
29 int joystickButton(int joy, int button);
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/fluent-syntax/tests/fixtures/
H A Dastral.ftl1 face-with-tears-of-joy = ��
8 emoji-in-text = A face �� with tears of joy.
9 emoji-in-string = {"A face �� with tears of joy."}

12345678910>>...87