[Topic Split] Options for keybinding management

Send your ideas and suggestions here.

Moderator: Board moderators

Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Aurg... I find that it's hard to find enough keybinding space on a desktop keyboard, let alone a palm pilot or something :P
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

that leads to another point [cue topic split] keybinding profiles, by which I mean sets of keybindings that are mapped to different characters or servers. and which the client can switch between. This would make it easier to map certain keys, because then a set of keyboard mappings would only need to cope with one character.
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

easy enough... useradd :P
Bibendi ergo sum
or rather: sum ergo bibendi
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

It is somewhat inconvenient to have a user for every crossfire character though, especially since I tend to install clients in $HOME

it also wouldn't preserve other settings, such as screen size and window layout, changing them a half dozen times would be at best inconvenient.

Besides which it is possible that the same character may want to have two different bindings, one for chatting and trading, one for questing and fighting.

hmm, I wonder if I could adapt cfclient to start acting more like vim (consider the fun that could be caused by players diving on the escape key to change out of insert mode :twisted: )

:wq
woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Post by woo »

I just run a froentend script to my crossfire client allowing me to select the keys file i want loaded - i.e.
crossfire woo
crossfire majorwoo
etc...
Cowboy
Luser
Posts: 21
Joined: Thu Nov 04, 2004 5:57 pm

Post by Cowboy »

cavesomething wrote:It is somewhat inconvenient to have a user for every crossfire character though, especially since I tend to install clients in $HOME

it also wouldn't preserve other settings, such as screen size and window layout, changing them a half dozen times would be at best inconvenient.

Besides which it is possible that the same character may want to have two different bindings, one for chatting and trading, one for questing and fighting.

hmm, I wonder if I could adapt cfclient to start acting more like vim (consider the fun that could be caused by players diving on the escape key to change out of insert mode :twisted: )

:wq
I don't know about the window positionings, but I'll see what I can come up with for changing
keybindings. It doesn't seem that difficult, in theory, but I havn't looked at the code for it yet.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

And are you going to add a new keybinding for it? :D
woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Post by woo »

keybindings and window sizes are stored in different files (on *NIX anyhow)
keybindings are stored in ~/.crossfire/keys
window positions are stored in ~/crossfire/gdefaults and ~/.crossfire/gwinpos

Theoretically it would be possible to take this and just have the server check for a bindings file ~/.crossfire/<charactername>.keys and failing that, fall back on ~/.crossfire/keys
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

there could be an issue there though, I can change keybindings before connecting to a server.
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

I wonder... would it work to make a keybinding to switch keybindings :P Of course, that currently is limited severly due to the max length of one keybinding...
Post Reply