Home | History | Annotate | Download | only in joystick

Lines Matching refs:hats

133 		joystick->hats = (Uint8 *)SDL_malloc
145 || ((joystick->nhats > 0) && !joystick->hats)
157 if ( joystick->hats ) {
158 SDL_memset(joystick->hats, 0,
234 * Get the number of hats on a joystick
296 state = joystick->hats[hat];
298 SDL_SetError("Joystick only has %d hats", joystick->nhats);
388 if ( joystick->hats ) {
389 SDL_free(joystick->hats);
472 joystick->hats[hat] = value;