Ignore:
Timestamp:
Aug 10, 2012, 2:15:31 PM (9 years ago)
Author:
sam
Message:

build: split the D3d9 build flags into D3d9 and Xinput for situations where
we want Xinput but not D3D (ie. OpenGL).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/sdl/sdlinput.cpp

    r1709 r1712  
    7070        SDL_Joystick *sdlstick = SDL_JoystickOpen(i);
    7171
    72         /* Blacklist HDAPS, it's not a real joystick */
     72        /* Blacklist some devices:
     73         *  - HDAPS, it's not a real joystick.
     74         *  - X360 controllers, Xinput handles them better since
     75         *    it won't think there is only one trigger axis. */
    7376        char const *name = SDL_JoystickName(i);
    7477        if (strstr(name, "HDAPS")
    75 #   if !defined USE_D3D9
     78#   if defined USE_XINPUT
    7679             || strstr(name, "XBOX 360 For Windows")
    7780#   endif
Note: See TracChangeset for help on using the changeset viewer.