Alternative keyboards

Aki

Member
I'm switching from QWERTY to Dvorak to save my wrists. That means changing the entire keymap for Legions. I thought that it would be nice to share the binds in case anyone else has borderline tendonitis, and that would go easier with copypasta than the in game GUI. I found the file Legions Overdrive/live/legions/preferences/config.cs without a problem, but there is also the cs.dso version. I don't know if changing the first only will break something, so here I'm asking the people who actually know how this works: wat do? Can I simply edit the .cs and be done, or is it more complicated?

I'll post the new binds when I've finished ^.^ .
 

Gheist

King of all Goblins
Edit the .cs, nuke the .cs.dso. The game will create/compile a new .dso out of the altered .cs the next time you start it.
 

Aki

Member
Didn't take long :p . These binds keep almost everything in the same place as on QWERTY (I think only slash and quickchat moved). Also, the last three binds are nondefault; forgot to revert first, sorry! This is good for Dvorak users, especially those who don't actually have the real thing and have to do it all through the OS like me.

Edit the .cs, nuke the .cs.dso. The game will create/compile a new .dso out of the altered .cs the next time you start it.

Convenient! Thanks!
-----------
As always, back up all the original data somewhere.
ed: Proly should also set to Read Only as with rets.

Code:
// Torque Input Map File
if (isObject(MoveMap)) MoveMap.delete();
new ActionMap(MoveMap);
MoveMap.bind(keyboard, "a", moveleft);
MoveMap.bind(keyboard, "e", moveright);
MoveMap.bind(keyboard, ",", moveforward);
MoveMap.bind(keyboard, "o", movebackward);
MoveMap.bind(keyboard, "space", jump);
MoveMap.bind(keyboard, "lshift", crouch);
MoveMap.bind(keyboard, "p", overdrive);
MoveMap.bind(keyboard, "'", throwFlag);
MoveMap.bind(keyboard, ".", toggleZoom);
MoveMap.bind(keyboard, "tab", toggleFirstPerson);
MoveMap.bind(keyboard, "escape", escapePressed);
MoveMap.bindCmd(keyboard, "ctrl return", "Gui::ShowKeybindings();", "");
MoveMap.bind(keyboard, "f", teamChat);
MoveMap.bind(keyboard, "y", globalChat);
MoveMap.bind(keyboard, "/", slashCommand);
MoveMap.bind(keyboard, "c", toggleQuickChat);
MoveMap.bindCmd(keyboard, "pageup", "scrollChat(6);", "");
MoveMap.bindCmd(keyboard, "pagedown", "scrollChad(-6);", "");
MoveMap.bind(keyboard, "3", selectWeapon2);
MoveMap.bind(keyboard, "4", selectWeapon3);
MoveMap.bind(keyboard, "5", selectWeapon4);
MoveMap.bind(keyboard, "6", selectWeapon5);
MoveMap.bind(keyboard, "2", jetJetDownCombo);
MoveMap.bind(mouse0, "xyaxes", mouseMove);
MoveMap.bind(mouse0, "zaxisup", previousWeapon);
MoveMap.bind(mouse0, "zaxisdown", nextWeapon);
MoveMap.bind(mouse0, "button0", fire);
MoveMap.bind(mouse0, "button1", jet);
MoveMap.bind(mouse0, "button2", jetJumpCombo);
MoveMap.bind(mouse0, "button3", selectWeapon1);
MoveMap.bind(mouse0, "button4", selectWeapon0);
MoveMap.bind(mouse0, "ctrl button2", suicide);

hrm, testing didn't go well. So I label this v1.0a. 1.0b should be available tomorrow; sorry to keep the teeming throng waiting XD .

The game seemed to prefer QWERTY's e to the Dv e, so I was walking to the right when I wanted + when I wanted to zoom in
confused.png
.
 

Mabeline

God-Tier
The location of the L on dvorak made me hate. I use Colemak. If you do a ton of typing you should consider a high quality mechanical/topre capacitive keyboard. I use a Topre 103UB, which eliminated the bits of pain I experienced while writing the game server (and is by far the most comfortable keyboard I have ever used).
Colemak_fingers.png
 
Top