The joystick interface

The joystick interface enables snaps to access to joystick, or other game controller, devices.

Application with a connected joystick plug can access:

  • /dev/input/js*
  • /dev/input/event* devices that are udev marked with ID_INPUT_JOYSTICK=1

Requires snapd version 2.24+. Access to /dev/input/event* requires snapd version 2.33+.

If your snap requires access to game controllers only, plugging joystick should be preferred over the use of raw-input interface.

This interface is restricted because it gives privileged access to selected input interfaces.

Auto-connect: no

This is a snap interface. See Interface management and Supported interfaces for further details on how interfaces are used.


Last updated 4 days ago.