gobot.io/x/gobot/v2@v2.1.0/platforms/joystick/test_helper.go (about)

     1  package joystick
     2  
     3  import "github.com/veandco/go-sdl2/sdl"
     4  
     5  type testJoystick struct{}
     6  
     7  func (t *testJoystick) Close()                     {}
     8  func (t *testJoystick) InstanceID() sdl.JoystickID { return 0 }