GNOME Bugzilla – Bug 791129
Add game controller support
Last modified: 2017-12-03 12:15:35 UTC
Playing Quadrapassel with gamepads just makes sense. :)
Created attachment 364808 [details] [review]
flatpak: Add libmanette module
This will be used in the next commit to add the libmanette dependency.
Created attachment 364809 [details] [review]
build: Add dependency on libmanette-0.2
Created attachment 364810 [details] [review]
This will be used in the next commit to parse game controller inputs.
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.
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.
The first patch of this set depends on the patch submitted here: https://bugzilla.gnome.org/show_bug.cgi?id=791123
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