/dports/lang/io-devel/io-9bfac31d/extras/win32vc2005/freeglut-2.2.0/src/ |
H A D | freeglut_joystick.c | 184 status = joyGetPosEx( joy->js_id, &joy->js ); in fghJoystickRawRead() 247 joy->tmp_axes[ joy->js.number ] = ( float )joy->js.value; in fghJoystickRawRead() 259 status = read( joy->fd, &joy->js, JS_RETURN ); in fghJoystickRawRead() 358 joy->js.dwSize = sizeof( joy->js ); in fghJoystickOpen() 406 joy->center [ i ] = (joy->max[i] + joy->min[i]) * 0.5f; in fghJoystickOpen() 438 joy->fd = open( joy->fname, O_RDONLY ); in fghJoystickOpen() 440 joy->error = (joy->fd < 0); in fghJoystickOpen() 463 &joy->min[ 0 ], &joy->center[ 0 ], &joy->max[ 0 ], in fghJoystickOpen() 464 &joy->min[ 1 ], &joy->center[ 1 ], &joy->max[ 1 ] in fghJoystickOpen() 503 fghJoystickRawRead( joy, NULL, joy->center ); in fghJoystickOpen() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/src/x11/ |
H A D | fg_joystick_x11.c | 58 …int status = read ( joy->pJoystick.os->fd, &joy->pJoystick.os->ajs, sizeof(joy->pJoystick.os->ajs)… in fgPlatformJoystickRawRead() 77 …while ( ( len = read ( joy->pJoystick.os->fd, joy->pJoystick.os->hid_data_buf, joy->pJoystick.os->… in fgPlatformJoystickRawRead() 165 if ( joy->pJoystick.js.number < joy->num_axes ) in fgPlatformJoystickRawRead() 167 … joy->pJoystick.tmp_axes[ joy->pJoystick.js.number ] = ( float )joy->pJoystick.js.value; in fgPlatformJoystickRawRead() 243 joy->error =( joy->pJoystick.os->fd < 0 ); in fgPlatformJoystickOpen() 275 &joy->min[ 0 ], &joy->center[ 0 ], &joy->max[ 0 ], in fgPlatformJoystickOpen() 276 &joy->min[ 1 ], &joy->center[ 1 ], &joy->max[ 1 ] ); in fgPlatformJoystickOpen() 350 joy->error =( joy->pJoystick.fd < 0 ); in fgPlatformJoystickOpen() 365 ioctl( joy->pJoystick.fd, JSIOCGNAME( sizeof( joy->name ) ), joy->name ); in fgPlatformJoystickOpen() 382 fghJoystickRawRead( joy, NULL, joy->center ); in fgPlatformJoystickOpen() [all …]
|
/dports/graphics/freeglut/freeglut-3.2.1/src/mswin/ |
H A D | fg_joystick_mswin.c | 176 joy->pJoystick.js.dwSize = sizeof( joy->pJoystick.js ); in fgPlatformJoystickOpen() 181 …( joyGetDevCaps( joy->pJoystick.js_id, &joy->pJoystick.jsCaps, sizeof( joy->pJoystick.jsCaps ) ) != in fgPlatformJoystickOpen() 194 if ( ! fghJoystickGetOEMProductName( joy, joy->name, in fgPlatformJoystickOpen() 198 strncpy( joy->name, joy->pJoystick.jsCaps.szPname, sizeof( joy->name ) ); in fgPlatformJoystickOpen() 213 joy->min[ 5 ] = ( float )joy->pJoystick.jsCaps.wVmin; in fgPlatformJoystickOpen() 214 joy->max[ 5 ] = ( float )joy->pJoystick.jsCaps.wVmax; in fgPlatformJoystickOpen() 215 joy->min[ 4 ] = ( float )joy->pJoystick.jsCaps.wUmin; in fgPlatformJoystickOpen() 216 joy->max[ 4 ] = ( float )joy->pJoystick.jsCaps.wUmax; in fgPlatformJoystickOpen() 217 joy->min[ 3 ] = ( float )joy->pJoystick.jsCaps.wRmin; in fgPlatformJoystickOpen() 218 joy->max[ 3 ] = ( float )joy->pJoystick.jsCaps.wRmax; in fgPlatformJoystickOpen() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/src/mswin/ |
H A D | fg_joystick_mswin.c | 176 joy->pJoystick.js.dwSize = sizeof( joy->pJoystick.js ); in fgPlatformJoystickOpen() 181 …( joyGetDevCaps( joy->pJoystick.js_id, &joy->pJoystick.jsCaps, sizeof( joy->pJoystick.jsCaps ) ) != in fgPlatformJoystickOpen() 194 if ( ! fghJoystickGetOEMProductName( joy, joy->name, in fgPlatformJoystickOpen() 198 strncpy( joy->name, joy->pJoystick.jsCaps.szPname, sizeof( joy->name ) ); in fgPlatformJoystickOpen() 213 joy->min[ 5 ] = ( float )joy->pJoystick.jsCaps.wVmin; in fgPlatformJoystickOpen() 214 joy->max[ 5 ] = ( float )joy->pJoystick.jsCaps.wVmax; in fgPlatformJoystickOpen() 215 joy->min[ 4 ] = ( float )joy->pJoystick.jsCaps.wUmin; in fgPlatformJoystickOpen() 216 joy->max[ 4 ] = ( float )joy->pJoystick.jsCaps.wUmax; in fgPlatformJoystickOpen() 217 joy->min[ 3 ] = ( float )joy->pJoystick.jsCaps.wRmin; in fgPlatformJoystickOpen() 218 joy->max[ 3 ] = ( float )joy->pJoystick.jsCaps.wRmax; in fgPlatformJoystickOpen() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/dos/ |
H A D | psxpad.c | 967 …joy[joynum].stick[0].axis[0].pos = joy[joynum].stick[1].axis[0].pos = joy[joynum].stick[3].axis[0]… in psx_poll() 968 …joy[joynum].stick[0].axis[1].pos = joy[joynum].stick[1].axis[1].pos = joy[joynum].stick[2].axis[1]… in psx_poll() 970 …joy[joynum].stick[0].axis[0].d1 = joy[joynum].stick[1].axis[0].d1 = joy[joynum].stick[3].axis[0].d… in psx_poll() 971 …joy[joynum].stick[0].axis[0].d2 = joy[joynum].stick[1].axis[0].d2 = joy[joynum].stick[3].axis[0].d… in psx_poll() 972 …joy[joynum].stick[0].axis[1].d1 = joy[joynum].stick[1].axis[1].d1 = joy[joynum].stick[2].axis[1].d… in psx_poll() 973 …joy[joynum].stick[0].axis[1].d2 = joy[joynum].stick[1].axis[1].d2 = joy[joynum].stick[2].axis[1].d… in psx_poll() 988 …joy[joynum].stick[0].axis[0].d1 = joy[joynum].stick[1].axis[0].d1 = joy[joynum].stick[2].axis[0].d… in psx_poll() 989 …joy[joynum].stick[0].axis[0].d2 = joy[joynum].stick[1].axis[0].d2 = joy[joynum].stick[2].axis[0].d… in psx_poll() 990 …joy[joynum].stick[0].axis[1].d1 = joy[joynum].stick[1].axis[1].d1 = joy[joynum].stick[2].axis[1].d… in psx_poll() 991 …joy[joynum].stick[0].axis[1].d2 = joy[joynum].stick[1].axis[1].d2 = joy[joynum].stick[2].axis[1].d… in psx_poll() [all …]
|
H A D | ww.c | 120 joy[0].num_sticks = 4; in ww_init() 121 joy[0].num_buttons = 4; in ww_init() 183 joy[0].stick[0].axis[0].d1 = joy[0].stick[0].axis[0].pos < -64; in ww_poll() 184 joy[0].stick[0].axis[0].d2 = joy[0].stick[0].axis[0].pos > 64; in ww_poll() 185 joy[0].stick[0].axis[1].d1 = joy[0].stick[0].axis[1].pos < -64; in ww_poll() 186 joy[0].stick[0].axis[1].d2 = joy[0].stick[0].axis[1].pos > 64; in ww_poll() 188 joy[0].stick[1].axis[0].d1 = joy[0].stick[1].axis[0].pos < -64; in ww_poll() 189 joy[0].stick[1].axis[0].d2 = joy[0].stick[1].axis[0].pos > 64; in ww_poll() 191 joy[0].stick[2].axis[0].d2 = joy[0].stick[2].axis[0].pos > 255*2/3; in ww_poll() 205 joy[0].stick[0].axis[0].pos = 128*joy[0].stick[0].axis[0].d2 - in ww_poll() [all …]
|
H A D | ifsega.c | 70 joy[i].flags = JOYFLAG_ANALOGUE; in sg_init() 71 joy[i].num_sticks = 2; in sg_init() 75 joy[i].stick[j].num_axis = 2; in sg_init() 81 joy[i].num_buttons = 9; in sg_init() 222 joy[num].stick[1].axis[0].d1 = 0; in sg_poll_sub() 223 joy[num].stick[1].axis[0].d2 = 0; in sg_poll_sub() 224 joy[num].stick[1].axis[1].d1 = 0; in sg_poll_sub() 225 joy[num].stick[1].axis[1].d2 = 0; in sg_poll_sub() 302 if (joy[num].stick[0].axis[i].d1) in sg_poll_sub3() 319 if (joy[num].stick[0].axis[1].d2) in sg_poll_sub3() [all …]
|
H A D | multijoy.c | 196 joy[0].flags = joy[1].flags = JOYFLAG_DIGITAL | JOYFLAG_SIGNED; in db9_init() 197 joy[0].num_sticks = joy[1].num_sticks = 1; in db9_init() 198 joy[0].num_buttons = joy[1].num_buttons = 2; in db9_init() 199 joy[0].stick[0].flags = in db9_init() 201 joy[0].stick[0].num_axis = in db9_init() 202 joy[1].stick[0].num_axis = 2; in db9_init() 207 joy[0].stick[0].name = in db9_init() 209 joy[0].button[0].name = in db9_init() 211 joy[0].button[1].name = in db9_init() 309 joy[number].num_sticks = 1; in tgx_init() [all …]
|
H A D | ifsega2p.c | 128 joy[i].num_sticks = 2; in _sg_pci_init() 132 joy[i].stick[j].num_axis = 2; in _sg_pci_init() 138 joy[i].num_buttons = 9; in _sg_pci_init() 260 joy[num].stick[1].axis[0].d1 = 0; in sg_pci_poll_sub() 261 joy[num].stick[1].axis[0].d2 = 0; in sg_pci_poll_sub() 262 joy[num].stick[1].axis[1].d1 = 0; in sg_pci_poll_sub() 263 joy[num].stick[1].axis[1].d2 = 0; in sg_pci_poll_sub() 264 joy[num].stick[1].axis[0].pos = 0; in sg_pci_poll_sub() 392 if (joy[num].stick[0].axis[i].d1) in sg_pci_poll_sub3() 409 if (joy[num].stick[0].axis[1].d2) in sg_pci_poll_sub3() [all …]
|
H A D | gripjoy.c | 157 joy[j].stick[s].axis[a].d1 = joy[j].stick[s].axis[a].pos < -64; in read_grip() 159 joy[j].stick[s].axis[a].d2 = joy[j].stick[s].axis[a].pos > 64; in read_grip() 172 joy[j].stick[s].axis[0].d2 = 0; in read_grip() 267 joy[i].num_sticks = 0; in grip_init() 292 if (joy[i].num_sticks > 1) { in grip_init() 340 joy[i].num_sticks += num_pads; in grip_init() 397 pov_start = joy[i].num_sticks; in grip_init() 398 joy[i].num_sticks += num_hats; in grip_init() 476 joy[i].num_sticks += 1; in grip_init() 532 joy[i].num_buttons = 0; in grip_init() [all …]
|
H A D | n64pad.c | 124 joy[i].num_sticks = 2; in n64_init() 127 joy[i].stick[0].num_axis = 2; in n64_init() 133 joy[i].stick[1].num_axis = 2; in n64_init() 138 joy[i].num_buttons = 10; in n64_init() 288 joy[joynum].stick[1].axis[i].pos = -128; in n64_poll() 291 joy[joynum].stick[1].axis[i].pos = 128; in n64_poll() 294 joy[joynum].stick[1].axis[i].pos = 0; in n64_poll() 323 joy[joynum].stick[0].axis[0].d1 = (joy[joynum].stick[0].axis[0].pos < -64); in n64_poll() 324 joy[joynum].stick[0].axis[0].d2 = (joy[joynum].stick[0].axis[0].pos > 64); in n64_poll() 325 joy[joynum].stick[0].axis[1].d1 = (joy[joynum].stick[0].axis[1].pos < -64); in n64_poll() [all …]
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/box2d/freeglut/ |
H A D | freeglut_joystick.c | 636 …while ( ( len = read ( joy->os->fd, joy->os->hid_data_buf, joy->os->hid_dlen ) ) == joy->os->hid_d… in fghJoystickRawRead() 732 joy->tmp_axes[ joy->js.number ] = ( float )joy->js.value; in fghJoystickRawRead() 1177 err = ISpInit( joy->isp_num_needs, joy->isp_needs, joy->isp_elem, 1181 joy->num_buttons = joy->isp_num_needs - joy->isp_num_axis; 1251 joy->js.dwSize = sizeof( joy->js ); 1273 strncpy( joy->name, joy->jsCaps.szPname, sizeof( joy->name ) ); 1305 joy->center [ i ] = ( joy->max[ i ] + joy->min[ i ] ) * 0.5f; 1325 joy->error =( joy->os->fd < 0 ); 1357 &joy->min[ 0 ], &joy->center[ 0 ], &joy->max[ 0 ], 1432 joy->error =( joy->fd < 0 ); [all …]
|
/dports/graphics/freeglut/freeglut-3.2.1/src/x11/ |
H A D | fg_joystick_x11.c | 236 …int status = read ( joy->pJoystick.os->fd, &joy->pJoystick.os->ajs, sizeof(joy->pJoystick.os->ajs)… in fgPlatformJoystickRawRead() 255 …while ( ( len = read ( joy->pJoystick.os->fd, joy->pJoystick.os->hid_data_buf, joy->pJoystick.os->… in fgPlatformJoystickRawRead() 343 if ( joy->pJoystick.js.number < joy->num_axes ) in fgPlatformJoystickRawRead() 345 … joy->pJoystick.tmp_axes[ joy->pJoystick.js.number ] = ( float )joy->pJoystick.js.value; in fgPlatformJoystickRawRead() 421 joy->error =( joy->pJoystick.os->fd < 0 ); in fgPlatformJoystickOpen() 453 &joy->min[ 0 ], &joy->center[ 0 ], &joy->max[ 0 ], in fgPlatformJoystickOpen() 454 &joy->min[ 1 ], &joy->center[ 1 ], &joy->max[ 1 ] ); in fgPlatformJoystickOpen() 528 joy->error =( joy->pJoystick.fd < 0 ); in fgPlatformJoystickOpen() 543 ioctl( joy->pJoystick.fd, JSIOCGNAME( sizeof( joy->name ) ), joy->name ); in fgPlatformJoystickOpen() 560 fgJoystickRawRead( joy, NULL, joy->center ); in fgPlatformJoystickOpen() [all …]
|
/dports/emulators/quasi88/quasi88-0.6.4/src/X11/ |
H A D | joy-bsd.c | 97 joy->item[idx].border = joy->item[idx].adj * 50 / 100; /* ���� 50% */ in set_item() 136 if (joy->fd != -1) { in joystick_init() 162 joy->buf = malloc(joy->size); in joystick_init() 259 free(joy->buf); in joystick_init() 264 close(joy->fd); in joystick_init() 265 joy->fd = -1; in joystick_init() 290 if (joy->item[j].hitem) free(joy->item[j].hitem); in joystick_exit() 292 free(joy->buf); in joystick_exit() 293 close(joy->fd); in joystick_exit() 314 if (read(joy->fd, joy->buf, joy->size) != joy->size) continue; in joystick_update() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/ |
H A D | joy-osx-hid.c | 86 joy->num_hid_axis = 0; in detect_elements() 87 joy->num_hid_buttons = 0; in detect_elements() 88 joy->num_hid_hat_switches = 0; in detect_elements() 149 joy->hid->all_hat_switches[joy->num_hid_hat_switches] = element; in detect_elements() 167 joy->hid->all_buttons[joy->num_hid_buttons] = element; in detect_elements() 238 joy->hid->device = device; in joy_hid_map_device() 239 joy->mapped = 1; in joy_hid_map_device() 259 joy->mapped = 0; in joy_hid_unmap_device() 283 joy->axis[id].min = 0; in joy_hid_reset_axis_range() 284 joy->axis[id].max = 0; in joy_hid_reset_axis_range() [all …]
|
/dports/emulators/vice/vice-3.5/src/arch/gtk3/ |
H A D | joy-osx-hid.c | 84 joy->num_hid_axis = 0; in detect_elements() 85 joy->num_hid_buttons = 0; in detect_elements() 86 joy->num_hid_hat_switches = 0; in detect_elements() 147 joy->hid->all_hat_switches[joy->num_hid_hat_switches] = element; in detect_elements() 165 joy->hid->all_buttons[joy->num_hid_buttons] = element; in detect_elements() 237 joy->hid->device = device; in joy_hid_map_device() 238 joy->mapped = 1; in joy_hid_map_device() 258 joy->mapped = 0; in joy_hid_unmap_device() 282 joy->axis[id].min = 0; in joy_hid_reset_axis_range() 283 joy->axis[id].max = 0; in joy_hid_reset_axis_range() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/beos/ |
H A D | bjoyapi.cpp | 97 joy[i].stick[0].num_axis = 2; in be_joy_init() 98 joy[i].stick[0].name = name_stick; in be_joy_init() 103 joy[i].stick[0].axis[0].name = name_x; in be_joy_init() 108 joy[i].stick[0].axis[1].name = name_y; in be_joy_init() 113 joy[i].stick[stick].num_axis = 1; in be_joy_init() 120 joy[i].stick[stick].num_axis = 2; in be_joy_init() 127 joy[i].num_sticks = stick; in be_joy_init() 128 joy[i].num_buttons = num_buttons; in be_joy_init() 131 joy[i].button[j].name = name_b[j]; in be_joy_init() 181 for (j = 0; j < joy[i].num_sticks; j++) { in be_joy_poll() [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/ |
H A D | joynu.c | 165 ASSERT(joy); in al_release_joystick() 176 ASSERT(joy); in al_get_joystick_active() 187 ASSERT(joy); in al_get_joystick_name() 198 ASSERT(joy); in al_get_joystick_num_sticks() 209 ASSERT(joy); in al_get_joystick_stick_flags() 224 ASSERT(joy); in al_get_joystick_stick_name() 239 ASSERT(joy); in al_get_joystick_num_axes() 253 ASSERT(joy); in al_get_joystick_axis_name() 270 ASSERT(joy); in al_get_joystick_num_buttons() 281 ASSERT(joy); in al_get_joystick_button_name() [all …]
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/jd-amigainput/ |
H A D | joystick.c | 116 if (joy->axisCount > MAX_AXES) joy->axisCount = MAX_AXES; in enumerateJoysticks() 117 if (joy->buttonCount > MAX_BUTTONS) joy->buttonCount = MAX_BUTTONS; in enumerateJoysticks() 131 *count, joy->id, joy->name, joy->axisCount, joy->buttonCount); in enumerateJoysticks() 177 if (joy->handle) { in close_joysticks() 178 AIN_ReleaseDevice (joy->context, joy->handle); in close_joysticks() 179 joy->handle = 0; in close_joysticks() 201 if (AIN_ReadDevice (joy->context, joy->handle, &buffer)) { in read_joy() 257 if (widgetnum >= joy->axisCount && widgetnum < joy->axisCount + joy->buttonCount) { in get_joystick_widget_type() 303 joy->handle = AIN_ObtainDevice (joy->context, joy->id); in acquire_joy() 305 if (joy->handle) in acquire_joy() [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/ |
H A D | macjoy.c | 341 (*joy->iface)->Release(joy->iface); in joy_release_joystick() 348 if(joy->axes) in joy_release_joystick() 351 if(joy->hats) in joy_release_joystick() 410 if((*joy->iface)->open(joy->iface, 0)) { in joy_open_joystick() 414 joy->open = 1; in joy_open_joystick() 427 rv = (*joy->iface)->close(joy->iface); in joy_close_joystick() 437 joy->open = 0; in joy_close_joystick() 463 return joy_read_element(joy, joy->buttons + num); in joy_read_button() 475 value = joy_read_element(joy, joy->axes + index) / in joy_read_axis() 489 value = joy_read_element(joy, joy->hats + index) - joy->hats[index].min; in joy_read_hat() [all …]
|
/dports/graphics/freeglut/freeglut-3.2.1/src/ |
H A D | fg_joystick.c | 91 if( joy->error ) in fghJoystickRawRead() 104 float xx = ( value - joy->center[ axis ] ) / ( joy->center[ axis ] - in fghJoystickFudgeAxis() 113 xx = ( xx + joy->dead_band[ axis ] ) / ( joy->saturate[ axis ] - in fghJoystickFudgeAxis() 120 float xx = ( value - joy->center [ axis ] ) / ( joy->max[ axis ] - in fghJoystickFudgeAxis() 129 xx = ( xx - joy->dead_band[ axis ] ) / ( joy->saturate[ axis ] - in fghJoystickFudgeAxis() 144 if( joy->error ) in fghJoystickRead() 451 joy->num_buttons = joy->num_axes = 0; 483 …(*(joy->pJoystick.hidDev))->getElementValue ( joy->pJoystick.hidDev, joy->pJoystick.buttonCookies[… 494 …(*(joy->pJoystick.hidDev))->getElementValue ( joy->pJoystick.hidDev, joy->pJoystick.axisCookies[i]… 544 rv = ( *( joy->pJoystick.hidDev ) )->open( joy->pJoystick.hidDev, 0 ); [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/win/ |
H A D | wjoyhelp.c | 73 max_stick = joy[n].num_sticks - 1; in win_update_joystick_status() 75 max_stick = joy[n].num_sticks; in win_update_joystick_status() 109 joy[n].stick[n_stick].axis[0].pos = 0; in win_update_joystick_status() 110 joy[n].stick[n_stick].axis[1].pos = 0; in win_update_joystick_status() 114 joy[n].stick[n_stick].axis[0].d1 = TRUE; in win_update_joystick_status() 115 joy[n].stick[n_stick].axis[0].pos = -128; in win_update_joystick_status() 118 joy[n].stick[n_stick].axis[0].d1 = FALSE; in win_update_joystick_status() 123 joy[n].stick[n_stick].axis[0].d2 = TRUE; in win_update_joystick_status() 133 joy[n].stick[n_stick].axis[1].d1 = TRUE; in win_update_joystick_status() 142 joy[n].stick[n_stick].axis[1].d2 = TRUE; in win_update_joystick_status() [all …]
|
/dports/devel/sdl12/SDL-1.2.15/src/joystick/bsd/ |
H A D | SDL_sysjoystick.c | 445 if (joy->hwdata->x < joy->hwdata->xmin) { 446 joy->hwdata->xmin = joy->hwdata->x; 448 if (joy->hwdata->x > joy->hwdata->xmax) { 449 joy->hwdata->xmax = joy->hwdata->x; 451 if (joy->hwdata->xmin == joy->hwdata->xmax) { 456 v -= (joy->hwdata->xmax + joy->hwdata->xmin + 1)/2; 462 if (joy->hwdata->y < joy->hwdata->ymin) { 463 joy->hwdata->ymin = joy->hwdata->y; 465 if (joy->hwdata->y > joy->hwdata->ymax) { 466 joy->hwdata->ymax = joy->hwdata->y; [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/linux/ |
H A D | ljoynu.c | 262 if (joy && al_ustr_equal(device_name, joy->device_name)) in ljoy_by_device_name() 290 joy = *slot; in ljoy_allocate_structure() 296 joy = al_calloc(1, sizeof *joy); in ljoy_allocate_structure() 298 *slot = joy; in ljoy_allocate_structure() 299 return joy; in ljoy_allocate_structure() 314 joy->fd = -1; in inactivate_joy() 320 memset(&joy->parent.info, 0, sizeof(joy->parent.info)); in inactivate_joy() 321 memset(&joy->joystate, 0, sizeof(joy->joystate)); in inactivate_joy() 458 if (joy) { in ljoy_device() 488 joy->fd = fd; in ljoy_device() [all …]
|
/dports/emulators/jzintv/jzintv-20200712-src/src/joy/ |
H A D | subMakefile | 5 joy/joy_null.$(O): joy/joy_null.c joy/joy.h 6 joy/joy_null.$(O): config.h joy/subMakefile 8 joy/joy_sdl.$(O): joy/joy_sdl.c joy/joy.h joy/joy_sdl.h 11 joy/joy_sdl.$(O): config.h sdl_jzintv.h joy/subMakefile 13 joy/joy_gp2x.$(O): joy/joy_gp2x.c joy/joy.h joy/joy_gp2x.h 16 joy/joy_gp2x.$(O): config.h sdl_jzintv.h joy/subMakefile 18 OBJS_NULL += joy/joy_null.$(O) 19 OBJS_SDL1 += joy/joy_sdl.$(O) 20 OBJS_SDL2 += joy/joy_sdl.$(O) 25 TOCLEAN += $(R)/joy_diag.rom joy/joy_diag.lst joy/joy_diag.sym [all …]
|