예제 #1
0
        public SDLHaptic(SDLJoystick Joystick)
        {
            myPtr = SDL.SDL_HapticOpenFromJoystick(Joystick);

            CheckPtr();

            myDeviceIndex = Joystick.DeviceIndex;
        }
예제 #2
0
        public SDLGameController(SDLJoystick Joystick)
        {
            myPtr = SDL.SDL_GameControllerOpen(Joystick.DeviceIndex);

            CheckPtr();

            myDeviceIndex = Joystick.DeviceIndex;
        }