hybridgroup/gobot

joystick: switch to use github.com/0xcafed00d/joystick package

Closed this issue · 3 comments

I propose that we switch to use the https://github.com/0xcafed00d/joystick package for joystick.

It works on Linux, macOS, and Windows, and does not require go-sdl which avoids a lot of CGo and other toolchain complexity.

@gen2thomas any opinions on this?

Hi @deadprogram , I do not use joysticks at the moment, but in addition to your points:

  • the automated tests are problematic due to SDL
  • the first build of project takes longer due to SDL

...so an improvement is greatly appreciated.

available since v2.2.0