Home | History | Annotate | Download | only in linux

Lines Matching refs:hat

85    {logical joy, logical hat},
606 if ( SDL_strstr(name, "Analog") == name && SDL_strstr(name, "-hat") ) {
607 if ( SDL_sscanf(name,"Analog %d-axis %*d-button %d-hat",
744 printf("Joystick has hat %d\n",(i-ABS_HAT0X)/2);
927 void HandleHat(SDL_Joystick *stick, Uint8 hat, int axis, int value)
938 if (stick->nhats <= hat) {
942 the_hat = &stick->hwdata->hats[hat];
962 hats = SDL_joylist[stick->index].map->hatmap+hat;
968 hat = hats->nthing;
972 SDL_PrivateJoystickHat(stick, hat,