test/testjoystick.c
changeset 10597 7b2a0f5a4380
parent 9998 f67cf37e9cd4
child 10707 28c1a3f9c88b
     1.1 --- a/test/testjoystick.c	Thu Nov 10 18:53:29 2016 -0800
     1.2 +++ b/test/testjoystick.c	Thu Nov 10 18:53:50 2016 -0800
     1.3 @@ -274,6 +274,7 @@
     1.4              SDL_Log("    buttons: %d\n", SDL_JoystickNumButtons(joystick));
     1.5              SDL_Log("instance id: %d\n", SDL_JoystickInstanceID(joystick));
     1.6              SDL_Log("       guid: %s\n", guid);
     1.7 +            SDL_Log("    VID/PID: 0x%.4x/0x%.4x\n", SDL_JoystickGetVendor(joystick), SDL_JoystickGetProduct(joystick));
     1.8              SDL_JoystickClose(joystick);
     1.9          }
    1.10      }
    1.11 @@ -344,3 +345,5 @@
    1.12  }
    1.13  
    1.14  #endif
    1.15 +
    1.16 +/* vi: set ts=4 sw=4 expandtab: */