public SDLHaptic(SDLJoystick Joystick) { myPtr = SDL.SDL_HapticOpenFromJoystick(Joystick); CheckPtr(); myDeviceIndex = Joystick.DeviceIndex; }
public SDLGameController(SDLJoystick Joystick) { myPtr = SDL.SDL_GameControllerOpen(Joystick.DeviceIndex); CheckPtr(); myDeviceIndex = Joystick.DeviceIndex; }