Home | History | Annotate | Download | only in linux

Lines Matching refs:hats

163    axes, hats, balls, buttons
274 /* The current linux joystick driver maps hats to two axes */
277 } *hats;
484 hats or balls. Unfortunately, the event devices can't
539 joystick->hwdata->hats = (struct hwdata_hat *)SDL_malloc(
541 if ( joystick->hwdata->hats == NULL ) {
545 joystick->hwdata->hats[i].axis[0] = 1;
546 joystick->hwdata->hats[i].axis[1] = 1;
640 /* Remap hats and balls */
694 /* Skip hats */
924 SDL_logical_joydecl(struct joystick_logical_mapping* hats = NULL);
926 the_hat = &stick->hwdata->hats[hat];
946 hats = SDL_joylist[stick->index].map->hatmap+hat;
947 logicaljoy = FindLogicalJoystick(stick, hats);
952 hat = hats->nthing;
1177 if ( joystick->hwdata->hats ) {
1178 SDL_free(joystick->hwdata->hats);