GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Advanced keyboard configuration

completed by: Drew Gottlieb

mentors: Andrey Korotaev, Xeli, Sheepy, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at freenode.net. If you are new to IRC, read this tutorial from a past GCI participant.

Your task

Hedgewars uses a per-team keyboard configuration; this means that each team can configure its own keyboard shortcuts and command. As neat as this can be, unfortunately it becomes quite tedious to do it after once or twice. The solution would be to rip out this configuration section, and create a "default keybinds" page in QTfrontend/ui/page/pageoptions.cpp while leaving the possibility of overriding them in team preferences.

Please see the discussion on our bug tracker, following this link.

Deliverable

A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.