Home | History | Annotate | Download | only in joystick

Lines Matching refs:hats

127 				joystick->hats = (Uint8 *)SDL_malloc
139 || ((joystick->nhats > 0) && !joystick->hats)
150 if ( joystick->hats ) {
151 SDL_memset(joystick->hats, 0,
232 * Get the number of hats on a joystick
294 state = joystick->hats[hat];
296 SDL_SetError("Joystick only has %d hats", joystick->nhats);
389 if ( joystick->hats ) {
390 SDL_free(joystick->hats);
449 joystick->hats[hat] = value;