GNOME Bugzilla – Bug 769904
gamepad: Add fallback support for gamepads without udev
Last modified: 2016-08-16 15:29:21 UTC
Doesn't compile, but you get to figure it out!
Created attachment 333307 [details] [review] gamepad: Add fallback support for gamepads without udev udev doesn't have a stable ABI/API, so is not available in flatpak runtimes. Add a fallback implementation that loads the joysticks available on startup.
Created attachment 333329 [details] [review] gamepad: Add fallback support for gamepads without udev udev doesn't have a stable ABI/API, so is not available in flatpak runtimes. Add a fallback implementation that loads the joysticks available on startup.
Created attachment 333369 [details] [review] gamepad: Add fallback support for gamepads without udev udev doesn't have a stable ABI/API, so is not available in flatpak runtimes. Add a fallback implementation that loads the joysticks available on startup.
Doesn't build when gamepad support is disabled (for example, if libevdev-devel is uninstalled).
Created attachment 333401 [details] [review] gamepad: Add fallback support for gamepads without udev udev doesn't have a stable ABI/API, so is not available in flatpak runtimes. Add a fallback implementation that loads the joysticks available on startup. The detection code comes from the input_id.c helper in systemd/udev, ported to libevdev.
Created attachment 333415 [details] [review] gamepad: Add fallback support for gamepads without udev udev doesn't have a stable ABI/API, so is not available in flatpak runtimes. Add a fallback implementation that loads the joysticks available on startup. The detection code comes from the input_id.c helper in systemd/udev, ported to libevdev.
Attachment 333415 [details] pushed as 6abbc5c - gamepad: Add fallback support for gamepads without udev