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 791129 - Add game controller support
Add game controller support
Status: RESOLVED FIXED
Product: quadrapassel
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: quadrapassel-maint
quadrapassel-maint
Depends on:
Blocks:
 
 
Reported: 2017-12-02 13:15 UTC by Adrien Plazas
Modified: 2017-12-03 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
flatpak: Add libmanette module (1.57 KB, patch)
2017-12-02 13:16 UTC, Adrien Plazas
committed Details | Review
build: Add dependency on libmanette-0.2 (1.32 KB, patch)
2017-12-02 13:17 UTC, Adrien Plazas
committed Details | Review
Add InputEventCode (1.96 KB, patch)
2017-12-02 13:17 UTC, Adrien Plazas
committed Details | Review
game: Let the game control fast movement (3.88 KB, patch)
2017-12-02 13:17 UTC, Adrien Plazas
committed Details | Review
quadrapassel: Add game controller support (3.91 KB, patch)
2017-12-02 13:17 UTC, Adrien Plazas
committed Details | Review

Description Adrien Plazas 2017-12-02 13:15:40 UTC
Playing Quadrapassel with gamepads just makes sense. :)
Comment 1 Adrien Plazas 2017-12-02 13:16:57 UTC
Created attachment 364808 [details] [review]
flatpak: Add libmanette module

This will be used in the next commit to add the libmanette dependency.
Comment 2 Adrien Plazas 2017-12-02 13:17:02 UTC
Created attachment 364809 [details] [review]
build: Add dependency on libmanette-0.2
Comment 3 Adrien Plazas 2017-12-02 13:17:06 UTC
Created attachment 364810 [details] [review]
Add InputEventCode

This will be used in the next commit to parse game controller inputs.
Comment 4 Adrien Plazas 2017-12-02 13:17:11 UTC
Created attachment 364811 [details] [review]
game: Let the game control fast movement

Fast movement was relegated to GTK+ sending events multiple times.

This implements a similar behavior directly into the game so we can have
it behaving consistently accross the different kinds of controllers.
Comment 5 Adrien Plazas 2017-12-02 13:17:15 UTC
Created attachment 364812 [details] [review]
quadrapassel: Add game controller support

Allow to control the game with any plugged game controller. It currently
uses only the buttons so a game controller with a directional pad is
required as analog stick aren't supported.
Comment 6 Adrien Plazas 2017-12-02 13:18:39 UTC
The first patch of this set depends on the patch submitted here: https://bugzilla.gnome.org/show_bug.cgi?id=791123
Comment 7 Adrien Plazas 2017-12-03 12:04:08 UTC
Attachment 364808 [details] pushed as 5469afa - flatpak: Add libmanette module
Attachment 364809 [details] pushed as dde0f88 - build: Add dependency on libmanette-0.2
Attachment 364810 [details] pushed as e9a16b0 - Add InputEventCode
Attachment 364811 [details] pushed as 5b8cf4a - game: Let the game control fast movement
Attachment 364812 [details] pushed as 846b475 - quadrapassel: Add game controller support