After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568213 - Joystick/Gamepad plugin
Joystick/Gamepad plugin
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: Plugins
unspecified
Other All
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-01-18 20:43 UTC by erseco
Modified: 2018-05-24 10:32 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Totem Gamepad control plugin (58.51 KB, patch)
2010-05-10 23:28 UTC, Michael Maurizi
reviewed Details | Review

Description erseco 2009-01-18 20:43:20 UTC
Should be interesting make a plugin to control totem from a joystick or a gamepad.
Comment 1 Bastien Nocera 2009-01-19 15:28:36 UTC
Sure, although I expect configuration for this to be a right pain. It would also need to use XInput//GdkDevice API, to avoid being Linux specific.
Comment 2 Michael Maurizi 2010-03-17 20:12:11 UTC
Our student team is going to create a plugin for this bug as a student project.
The final due date for the project is May 3rd, so a patch should be ready by then if not before.
Comment 3 Bastien Nocera 2010-03-18 11:18:59 UTC
Note that the code should either use GDK API directly (and thus not support hotplug of devices), or use the XInput API directly.

I would advise that you start working on this feature using the XInput2 support in GTK+. See bug 596725 for details.
Comment 4 Michael Maurizi 2010-05-10 23:28:33 UTC
Created attachment 160792 [details] [review]
Totem Gamepad control plugin

This patch comprises our entire plugin for gamepad control, as well as the addition to the main configure.in.

The plugin uses a kernel-level api for joystick querying, contains a configuration GUI, and stores configuration settings in GConf.
Comment 5 Bastien Nocera 2012-03-29 01:43:45 UTC
This is a huge patch, and sorry about not commenting on it beforehand.

I don't like the idea of poking the device directly, but I can live with it as long as it doesn't need changes from the default configuration to get access rights.

About the plugin itself, it needs updating for GNOME 3.x code (libpeas, GSettings), obviously, coding style changes to match the current code, and I would really rather it didn't require this much configuration.

Let's focus on the 2/3 types of joypads around, and provide a hard-coded configuration that suits those (I'm thinking mainly PS3 joypad, Wiimote and regular "4 buttons" joypads).
Comment 6 GNOME Infrastructure Team 2018-05-24 10:32:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/totem/issues/22.