Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help! Customizing key controls

Luxa Budan
Registered User
Join date: 28 Sep 2006
Posts: 2
01-11-2007 13:45
Hi all. I may just be a total noob and am missing the obvious but is there a way to change the keyboard keys assigned to various things? Example changing the arrow keys that control movement to something else (liek W,E,S,D) instead?

Ive done a search and not come across it but I may have missed it.
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
01-11-2007 13:53
I am fairly sure that this is not currently possible.
_____________________
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
01-11-2007 17:07
There's a file keys.ini, which is in C:\Program Files\SecondLife\app_settings on a default installation of Second Life.

This file allows some limited redefinition of key usage.

Here's a portion of that file, starting at the top:
From: someone
# keys.ini
#
# keyboard binding initialization
#
# comments must have # in the first column
# blank lines OK
#
# Format:
# mode key mask function
#
# mode must be one of FIRST_PERSON, THIRD_PERSON, EDIT, EDIT_AVATAR, or CONVERSATION
# key must be upper case, or SPACE, HOME, END, PGUP, PGDN, LEFT, RIGHT, UP, DOWN,
# or one of ,.;'[]
# mask must be NONE, SHIFT, ALT, ALT_SHIFT.
# Control is reserved for user commands.
# function must be a function named in llkeyboard.cpp


FIRST_PERSON A NONE slide_left
FIRST_PERSON D NONE slide_right
FIRST_PERSON W NONE push_forward
FIRST_PERSON S NONE push_backward
FIRST_PERSON E NONE jump
FIRST_PERSON C NONE push_down
FIRST_PERSON F NONE toggle_fly


Here's the section that pertains to the keys you want to fiddle with:

From: someone
THIRD_PERSON A NONE turn_left
THIRD_PERSON D NONE turn_right
THIRD_PERSON A SHIFT slide_left
THIRD_PERSON D SHIFT slide_right
THIRD_PERSON W NONE push_forward
THIRD_PERSON S NONE push_backward
THIRD_PERSON W SHIFT push_forward
THIRD_PERSON S SHIFT push_backward
THIRD_PERSON E NONE jump
THIRD_PERSON C NONE push_down
THIRD_PERSON E SHIFT jump
THIRD_PERSON C SHIFT push_down

THIRD_PERSON F NONE toggle_fly
THIRD_PERSON F SHIFT toggle_fly


I think I'm about to crash, hopefully this will get you started.

You would want to make a backup before fiddling. You can use notepad or another plain text editor to edit these files. It appears that the spaces in between the columns are done by pressing Tab instead of using the space bar.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Luxa Budan
Registered User
Join date: 28 Sep 2006
Posts: 2
01-11-2007 17:30
Thanks to the both of you and a huge thanks to you Suezanne for the solution. You are great
Ryooki Muni
Registered User
Join date: 4 Jan 2007
Posts: 5
Related...
01-12-2007 06:48
What about your mouse controls? Is there a way to change what the mouse buttons & movements default to?