[ci skip]
This prepares the X11 backend to support other joystick APIs, for example the FreeBSD libusb one.