Home
last modified time | relevance | path

Searched refs:jhat (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/dports/emulators/gngeo/gngeo-gngeo_0.8/src/
H A Demu.c390 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 0; in main_loop()
391 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which] + 1] = 0; in main_loop()
396 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 0; in main_loop()
401 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 0; in main_loop()
405 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = -32767; in main_loop()
406 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which] + 1] = 0; in main_loop()
410 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 32767; in main_loop()
411 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which] + 1] = 0; in main_loop()
415 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 32767; in main_loop()
420 joy_axe[event.jhat.which][(event.jhat.hat * 2) + joy_numaxes[event.jhat.which]] = 32767; in main_loop()
[all …]
H A Devent.c89 jmap->jhat[jid][code].player=player; in create_joymap_from_string()
90 jmap->jhat[jid][code].map=get_mapid(butid); in create_joymap_from_string()
127 jmap->jhat= calloc(conf.nb_joy,sizeof(struct BUT_MAP*)); in init_event()
139 jmap->jhat[i]=calloc(SDL_JoystickNumHats(conf.joy[i]),sizeof(struct BUT_MAP)); in init_event()
258 int player=jmap->jhat[event.jhat.which][event.jhat.hat].player; in handle_event()
259 int map=jmap->jhat[event.jhat.which][event.jhat.hat].map; in handle_event()
265 if (event.jhat.value&SDL_HAT_UP) joy_state[player][GN_UP]=1; in handle_event()
266 if (event.jhat.value&SDL_HAT_DOWN) joy_state[player][GN_DOWN]=1; in handle_event()
267 if (event.jhat.value&SDL_HAT_LEFT) joy_state[player][GN_LEFT]=1; in handle_event()
268 if (event.jhat.value&SDL_HAT_RIGHT) joy_state[player][GN_RIGHT]=1; in handle_event()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/control/
H A Djoystick_manager.cpp95 JoystickManager::process_hat_event(const SDL_JoyHatEvent& jhat) in process_hat_event() argument
97 Uint8 changed = hat_state ^ jhat.value; in process_hat_event()
101 if (changed & SDL_HAT_UP && jhat.value & SDL_HAT_UP) in process_hat_event()
104 if (changed & SDL_HAT_DOWN && jhat.value & SDL_HAT_DOWN) in process_hat_event()
107 if (changed & SDL_HAT_LEFT && jhat.value & SDL_HAT_LEFT) in process_hat_event()
110 if (changed & SDL_HAT_RIGHT && jhat.value & SDL_HAT_RIGHT) in process_hat_event()
122 set_joy_controls(it->second, (jhat.value & SDL_HAT_UP) != 0); in process_hat_event()
129 set_joy_controls(it->second, (jhat.value & SDL_HAT_DOWN) != 0); in process_hat_event()
136 set_joy_controls(it->second, (jhat.value & SDL_HAT_LEFT) != 0); in process_hat_event()
143 set_joy_controls(it->second, (jhat.value & SDL_HAT_RIGHT) != 0); in process_hat_event()
[all …]
/dports/emulators/snes9x-gtk/snes9x-1.54.1/gtk/src/
H A Dgtk_control.cpp623 if ((event->jhat.value & SDL_HAT_UP) && in handle_event()
624 !(hat[event->jhat.hat] & SDL_HAT_UP)) in handle_event()
629 if (!(event->jhat.value & SDL_HAT_UP) && in handle_event()
630 (hat[event->jhat.hat] & SDL_HAT_UP)) in handle_event()
635 if ((event->jhat.value & SDL_HAT_DOWN) && in handle_event()
641 if (!(event->jhat.value & SDL_HAT_DOWN) && in handle_event()
642 (hat[event->jhat.hat] & SDL_HAT_DOWN)) in handle_event()
647 if ((event->jhat.value & SDL_HAT_LEFT) && in handle_event()
653 if (!(event->jhat.value & SDL_HAT_LEFT) && in handle_event()
654 (hat[event->jhat.hat] & SDL_HAT_LEFT)) in handle_event()
[all …]
/dports/games/libretro-snes9x/snes9x-73aa348/gtk/src/
H A Dgtk_control.cpp737 if ((event->jhat.value & SDL_HAT_UP) && in handle_event()
738 !(hat[event->jhat.hat] & SDL_HAT_UP)) in handle_event()
743 if (!(event->jhat.value & SDL_HAT_UP) && in handle_event()
744 (hat[event->jhat.hat] & SDL_HAT_UP)) in handle_event()
749 if ((event->jhat.value & SDL_HAT_DOWN) && in handle_event()
755 if (!(event->jhat.value & SDL_HAT_DOWN) && in handle_event()
756 (hat[event->jhat.hat] & SDL_HAT_DOWN)) in handle_event()
761 if ((event->jhat.value & SDL_HAT_LEFT) && in handle_event()
767 if (!(event->jhat.value & SDL_HAT_LEFT) && in handle_event()
768 (hat[event->jhat.hat] & SDL_HAT_LEFT)) in handle_event()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/lib/jdk/test/lib/hprof/
H A DREADME1 The jhat tool has been removed. jhat hprof file parser/validator
2 are needed for tests. The old packages for jhat were moved here:
7 jhat was added in JDK 6 and its original implementation was from
8 java.net HAT project [1]. jhat is an experimental, unsupported tool.
9 There hasn't been much update to jhat tool in the JDK. In addition,
/dports/astro/siril/siril/subprojects/wcslib/
H A Ddis.c500 for (jhat = 0; jhat < naxis; jhat++) { in disprt()
509 for (jhat = 0; jhat < naxis; jhat++) { in disprt()
518 for (jhat = 0; jhat < naxis; jhat++) { in disprt()
948 for (jhat = 0; jhat < Nhat; jhat++) { in disset()
956 for (jhat = 0; jhat < naxis; jhat++) { in disset()
967 for (jhat = 0; jhat < Nhat; jhat++) { in disset()
1084 for (jhat = 0; jhat < Nhat; jhat++) { in disp2x()
1173 for (jhat = 0; jhat < Nhat; jhat++) { in disx2p()
1584 for (jhat = 0; jhat <= Nhat; jhat++) { in polyset()
2064 for (jhat = 0; jhat < Nhat; jhat++) { in pol2tpd()
[all …]
/dports/astro/py-astropy/astropy-5.0/cextern/wcslib/C/
H A Ddis.c580 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
589 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
598 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
1028 for (int jhat = 0; jhat < Nhat; jhat++) { in disset() local
1036 for (int jhat = 0; jhat < naxis; jhat++) { in disset() local
1047 for (int jhat = 0; jhat < Nhat; jhat++) { in disset() local
1161 for (int jhat = 0; jhat < Nhat; jhat++) { in disp2x() local
1247 for (int jhat = 0; jhat < Nhat; jhat++) { in disx2p() local
1654 for (int jhat = 0; jhat <= Nhat; jhat++) { in polyset() local
2131 for (int jhat = 0; jhat < Nhat; jhat++) { in pol2tpd() local
[all …]
/dports/astro/wcslib/wcslib-7.7/C/
H A Ddis.c580 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
589 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
598 for (int jhat = 0; jhat < naxis; jhat++) { in disprt() local
1028 for (int jhat = 0; jhat < Nhat; jhat++) { in disset() local
1036 for (int jhat = 0; jhat < naxis; jhat++) { in disset() local
1047 for (int jhat = 0; jhat < Nhat; jhat++) { in disset() local
1161 for (int jhat = 0; jhat < Nhat; jhat++) { in disp2x() local
1247 for (int jhat = 0; jhat < Nhat; jhat++) { in disx2p() local
1654 for (int jhat = 0; jhat <= Nhat; jhat++) { in polyset() local
2131 for (int jhat = 0; jhat < Nhat; jhat++) { in pol2tpd() local
[all …]
/dports/games/xblast/xblast-2.10.4/
H A Dsdl_joystick.c206 if (event->jhat.value & SDL_HAT_UP) { in HandleXBlastJoystick()
210 if (event->jhat.value & SDL_HAT_DOWN) { in HandleXBlastJoystick()
214 if (event->jhat.value & SDL_HAT_RIGHT) { in HandleXBlastJoystick()
218 if (event->jhat.value & SDL_HAT_LEFT) { in HandleXBlastJoystick()
222 if (event->jhat.value & XBGK_STOP_ALL) { in HandleXBlastJoystick()
279 if (event->jhat.value & SDL_HAT_UP) in HandleMenuJoystick()
281 if (event->jhat.value & SDL_HAT_DOWN) in HandleMenuJoystick()
283 if (event->jhat.value & SDL_HAT_RIGHT) in HandleMenuJoystick()
285 if (event->jhat.value & SDL_HAT_LEFT) in HandleMenuJoystick()
/dports/games/devilutionX/devilutionX-1.2.1/SourceX/controls/devices/
H A Djoystick.cpp92 if (event.jhat.hat == JOY_HAT_DPAD_UP_HAT && (event.jhat.value & JOY_HAT_DPAD_UP) != 0) in ToControllerButton()
96 if (event.jhat.hat == JOY_HAT_DPAD_DOWN_HAT && (event.jhat.value & JOY_HAT_DPAD_DOWN) != 0) in ToControllerButton()
100 if (event.jhat.hat == JOY_HAT_DPAD_LEFT_HAT && (event.jhat.value & JOY_HAT_DPAD_LEFT) != 0) in ToControllerButton()
104 if (event.jhat.hat == JOY_HAT_DPAD_RIGHT_HAT && (event.jhat.value & JOY_HAT_DPAD_RIGHT) != 0) in ToControllerButton()
310 return Get(event.jhat.which); in Get()
/dports/devel/sdl12/SDL-1.2.15/test/
H A Dtestjoystick.c54 event.jhat.which, in WatchJoystick()
55 event.jhat.hat); in WatchJoystick()
56 if ( event.jhat.value == SDL_HAT_CENTERED ) in WatchJoystick()
58 if ( event.jhat.value & SDL_HAT_UP ) in WatchJoystick()
60 if ( event.jhat.value & SDL_HAT_RIGHT ) in WatchJoystick()
62 if ( event.jhat.value & SDL_HAT_DOWN ) in WatchJoystick()
64 if ( event.jhat.value & SDL_HAT_LEFT ) in WatchJoystick()
/dports/devel/sdl12-compat/sdl12-compat-release-1.2.52/test/
H A Dtestjoystick.c54 event.jhat.which, in WatchJoystick()
55 event.jhat.hat); in WatchJoystick()
56 if ( event.jhat.value == SDL_HAT_CENTERED ) in WatchJoystick()
58 if ( event.jhat.value & SDL_HAT_UP ) in WatchJoystick()
60 if ( event.jhat.value & SDL_HAT_RIGHT ) in WatchJoystick()
62 if ( event.jhat.value & SDL_HAT_DOWN ) in WatchJoystick()
64 if ( event.jhat.value & SDL_HAT_LEFT ) in WatchJoystick()
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/
H A Dinput.cpp33 mappings[i].jhat = -1; in input_init()
177 int input_get_action_hat(int32_t jhat, int32_t jvalue) in input_get_action_hat() argument
181 if ((mappings[i].jhat == jhat) && (jvalue & mappings[i].jhat_value)) in input_get_action_hat()
361 if (evt.jhat.value != SDL_HAT_CENTERED) in input_poll()
363 last_sdl_action.jhat = evt.jhat.hat; in input_poll()
364 last_sdl_action.jhat_value = evt.jhat.value; in input_poll()
366 ino = input_get_action_hat(evt.jhat.hat, evt.jhat.value); // mappings[key]; in input_poll()
370 if (mappings[i].jhat != -1) in input_poll()
/dports/games/odamex/odamex-src-0.7.0/client/sdl/
H A Di_input.cpp250 if(((*i)->Event.type == ev->type) && ((*i)->Event.jhat.which == ev->jhat.which) in RegisterJoystickEvent()
251 && ((*i)->Event.jhat.hat == ev->jhat.hat) && ((*i)->Event.jhat.value == value)) in RegisterJoystickEvent()
259 evc->Event.jhat.value = value; in RegisterJoystickEvent()
266 event.data1 = (ev->jhat.hat * 4) + KEY_HAT1; in RegisterJoystickEvent()
301 if(!(SDL_JoystickGetHat(openedjoy, (*i)->Event.jhat.hat) & (*i)->Event.jhat.value)) in UpdateJoystickEvents()
318 if((*i)->Event.jhat.value == SDL_HAT_UP) in UpdateJoystickEvents()
677 if (sdl_ev->jhat.which == joy_active) in I_GetEvent()
681 if (sdl_ev->jhat.value & SDL_HAT_UP) in I_GetEvent()
683 if (sdl_ev->jhat.value & SDL_HAT_RIGHT) in I_GetEvent()
685 if (sdl_ev->jhat.value & SDL_HAT_DOWN) in I_GetEvent()
[all …]
/dports/devel/sdl20/SDL2-2.0.18/test/
H A Dtestjoystick.c146 event.jhat.which, event.jhat.hat); in loop()
147 if (event.jhat.value == SDL_HAT_CENTERED) in loop()
149 if (event.jhat.value & SDL_HAT_UP) in loop()
151 if (event.jhat.value & SDL_HAT_RIGHT) in loop()
153 if (event.jhat.value & SDL_HAT_DOWN) in loop()
155 if (event.jhat.value & SDL_HAT_LEFT) in loop()

12345678910>>...12