src/joystick/SDL_gamecontroller.c
changeset 6913 7e9c4d29e668
parent 6912 8264db362231
child 6915 d58bf9cfd709
equal deleted inserted replaced
6912:8264db362231 6913:7e9c4d29e668
   433 			ridx = (hat << 4) | mask;
   433 			ridx = (hat << 4) | mask;
   434 			pMapping->rhatasbutton[ ridx ] = button;
   434 			pMapping->rhatasbutton[ ridx ] = button;
   435 		}
   435 		}
   436 		else if ( axis != SDL_CONTROLLER_AXIS_INVALID )
   436 		else if ( axis != SDL_CONTROLLER_AXIS_INVALID )
   437 		{
   437 		{
   438 			SDL_assert( !"Support has as axis" );
   438 			SDL_assert( !"Support hat as axis" );
   439 		}
   439 		}
   440 		else
   440 		else
   441 		{
   441 		{
   442 			SDL_assert( !"How did we get here?" );
   442 			SDL_assert( !"How did we get here?" );
   443 		}
   443 		}