Home | History | Annotate | Download | only in linux

Lines Matching refs:hats

166    axes, hats, balls, buttons
277 /* The current linux joystick driver maps hats to two axes */
280 } *hats;
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 */
936 SDL_logical_joydecl(struct joystick_logical_mapping* hats = NULL);
942 the_hat = &stick->hwdata->hats[hat];
962 hats = SDL_joylist[stick->index].map->hatmap+hat;
963 logicaljoy = FindLogicalJoystick(stick, hats);
968 hat = hats->nthing;
1196 if ( joystick->hwdata->hats ) {
1197 SDL_free(joystick->hwdata->hats);