Difference between revisions of "Keyboard mapping"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{KBmaster}}
{{KBmaster}}


{{KBwarning| Changing Second Life's initialization files can result in unexpected behavior or loss of functionality in Second Life. Proceed at your own risk; Linden Lab will not support issues that arise as a result of altered program files. It is always wise to save a backup copy of any program file before making edits.}}
{{KBwarning| Changing the Viewer's initialization files can result in unexpected behavior or loss of functionality in Second Life. Proceed at your own risk; Linden Lab will ''not'' support issues that arise as a result of altered program files. ''Always'' make a backup copy before making edits.}}


If you are using a non-QWERTY keyboard setup, some of Second Life's controls may seem confusing or inconvenient.  In these extreme cases, you may rebind Second Life's keyboard controls by editing the keys.ini file:
There are various situations in which you may want to remap the Second Life Viewer's keyboard controls. For example:


#Navigate to '''<Second Life install directory>\app_settings''' (Second Life installs to <code>C:\Program Files\Second Life</code> by default on Windows systems)
* You're using a non-QWERTY keyboard.
#Make a backup copy of '''keys.ini'''.  If something goes terribly wrong with your edits, you will need to restore the original configuration.
* You want to change how keys respond in {{xref|mouselook}} (first-person view).
#Open '''keys.ini''' in a text editor, like Notepad
#Read the primer at the beginning of the file; it will help you understand how to make your edits
#When you feel comfortable with the format of the file, edit the second column to change key bindings.  Keep in mind that you will need to change the same control for each mode (FIRST_PERSON, THIRD_PERSON, etc) for the binding to be fully effective.
#Save and close '''keys.ini'''.
#Restart Second Life, and test your new controls!


{{KBtip|if your controls don't turn out the way you wanted them, you can restore Second Life's original keyboard configuration by restoring your backup of '''keys.ini'''.}}
You can rebind keyboard controls by editing the <code>keys.ini</code> file:
 
# Navigate to your Second Life install directory's <code>app_settings</code> folder.
#* On Windows, Second Life installs to <code>C:\Program Files\SecondLifeViewer2</code> by default on Windows systems. Or <code>C:\Program Files (x86)\SecondLifeViewer2</code> if you're on a 64-bit version of Windows.
#* On a Mac, right-click the Second Life application package and choose '''Show Package Contents'''. Then, open <code>Contents > Resources > app_settings</code>.
# Make a backup copy of <code>keys.ini</code>. so you can restore the original configuration if something goes wrong.
# Open <code>keys.ini</code> in a text editor, like Notepad or Textedit.
# Read the primer at the beginning of the file; it will help you understand how to make your edits
# When you feel comfortable with the format of the file, edit the second and third columns to change key bindings.
#* If you want a binding to be consistent between third-person and first-person views, you need to change the same control for both modes.
# Save and close '''keys.ini'''.
# Restart the Viewer and test your new controls!
 
== See also ==
 
* '''[http://blogs.secondlife.com/message/380703 How do I make the left/right movement keys make me turn (instead of strafe) in Mouselook?]'''


[[Category:Support]]
[[Category:Support]]
[[Category:General Second Life Software Information]]
[[Category:General Second Life Software Information]]
[[Category:Knowledge Base]]
[[Category:Knowledge Base]]

Revision as of 11:21, 2 September 2010

KBwarning.png Warning: Changing the Viewer's initialization files can result in unexpected behavior or loss of functionality in Second Life. Proceed at your own risk; Linden Lab will not support issues that arise as a result of altered program files. Always make a backup copy before making edits.

There are various situations in which you may want to remap the Second Life Viewer's keyboard controls. For example:

  • You're using a non-QWERTY keyboard.
  • You want to change how keys respond in mouselook (first-person view).

You can rebind keyboard controls by editing the keys.ini file:

  1. Navigate to your Second Life install directory's app_settings folder.
    • On Windows, Second Life installs to C:\Program Files\SecondLifeViewer2 by default on Windows systems. Or C:\Program Files (x86)\SecondLifeViewer2 if you're on a 64-bit version of Windows.
    • On a Mac, right-click the Second Life application package and choose Show Package Contents. Then, open Contents > Resources > app_settings.
  2. Make a backup copy of keys.ini. so you can restore the original configuration if something goes wrong.
  3. Open keys.ini in a text editor, like Notepad or Textedit.
  4. Read the primer at the beginning of the file; it will help you understand how to make your edits
  5. When you feel comfortable with the format of the file, edit the second and third columns to change key bindings.
    • If you want a binding to be consistent between third-person and first-person views, you need to change the same control for both modes.
  6. Save and close keys.ini.
  7. Restart the Viewer and test your new controls!

See also