#include<SDL2/SDL.h>intmain(intargc,char*argv[]) {SDL_Init(SDL_INIT_JOYSTICK);SDL_JoystickOpen(0);SDL_Eventevent;while(SDL_WaitEvent(&event)) {switch(event.type) {caseSDL_QUIT:return0;caseSDL_JOYAXISMOTION:printf("Axis %hhu: %hd\n",event.jaxis.axis,event.jaxis.value);break;defaul...