OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hats
(Results
1 - 4
of
4
) sorted by null
/external/qemu/distrib/sdl-1.2.15/src/joystick/
SDL_sysjoystick.h
36
int nhats; /* Number of
hats
on the joystick */
37
Uint8 *
hats
; /* Current hat states */
member in struct:_SDL_Joystick
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
SDL_bejoystick.cc
122
/* Get the number of buttons,
hats
, and axes on the joystick */
164
uint8 *
hats
;
local
170
hats
= joystick->hwdata->new_hats;
175
stick->GetHatValues(
hats
);
188
if (
hats
[i] != joystick->
hats
[i] ) {
189
SDL_PrivateJoystickHat(joystick, i, hat_map[
hats
[i]]);
/external/qemu/distrib/sdl-1.2.15/src/joystick/darwin/
SDL_sysjoystick.c
87
long
hats
; /* number of hat switches (calculated, not reported by device) */
member in struct:joystick_hwdata
328
pDevice->
hats
++;
710
joystick->nhats = device->
hats
;
742
for (i = 0; i < device->
hats
; i++)
819
if ( pos != joystick->
hats
[i] )
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
SDL_sysjoystick.c
166
axes,
hats
, balls, buttons
277
/* The current linux joystick driver maps
hats
to two axes */
280
} *
hats
;
member in struct:joystick_hwdata
497
hats
or balls. Unfortunately, the event devices can't
552
joystick->hwdata->
hats
= (struct hwdata_hat *)SDL_malloc(
554
if ( joystick->hwdata->
hats
== NULL ) {
558
joystick->hwdata->
hats
[i].axis[0] = 1;
559
joystick->hwdata->
hats
[i].axis[1] = 1;
652
/* Remap
hats
and balls */
706
/* Skip
hats
*/
[
all
...]
Completed in 39 milliseconds