[crossfire] [PATCH 2/2] Character-specific keybinding files

Arvid Brodin arvidb at kth.se
Sat Nov 2 18:31:43 CDT 2013


Today, keybindings are saved as ~/.crossfire/keys. That means you
cannot have different key bindings for each character.

This patch changes that so that keybindings are saved as 
~/.crossfire/<character-name>.keys. So if your character is named
Leopold, the keybindings are saved to ~/.crossfire/Leopold.keys.

When play is entered with a character, the client tries to load 
keybindings in the following order:

~/.crossfire/<character-name>.keys
~/.crossfire/keys
<client_libdir>/def_keys

If none of the files are found, it instead uses the default built-
in keybindings.


-- 
Arvid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-player-character-specific-keybinding-files.patch
Type: text/x-patch
Size: 11818 bytes
Desc: not available
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20131103/ac7157f9/attachment.bin>


More information about the crossfire mailing list