Skip to content

Commit

Permalink
joystick: correct test issue
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Evans <[email protected]>
  • Loading branch information
deadprogram committed May 25, 2018
1 parent 0eb9efc commit e7e5fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/joystick/joystick_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func initTestDriver() *Driver {
a.Connect()
d := NewDriver(a, "./configs/xbox360_power_a_mini_proex.json")
d.poll = func() sdl.Event {
return new(interface{})
return nil
}
return d
}
Expand Down

0 comments on commit e7e5fca

Please sign in to comment.