hybridgroup.gobot/platforms/joystick/test_helper.go

9 lines
205 B
Go

package joystick
import "github.com/veandco/go-sdl2/sdl"
type testJoystick struct{}
func (t *testJoystick) Close() {}
func (t *testJoystick) InstanceID() sdl.JoystickID { return 0 }