Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

3 related features (key-mapping)

Grim Lupis
Dark Wolf
Join date: 11 Jul 2003
Posts: 762
08-22-2003 10:18
1) An interface in the client that allows us to change our keyboard mappings, including shortcuts (chat window, inventory, etc) and movement (wsad, etc). Changes made through this configuration should take effect immediately. Please include left/right/middle mouse buttons and the mouse wheel to be configured this way.

2) Several (10?) user-defined control constants (USER_CONTROL_1, USER_CONTROL_2, etc) that can be mapped using the interface in #1. Allow the custom controls to be used via script (llTakeControls). This would allow some enhanced vehicles/attachments/etc. Allowing these to llWhisper/llSay specific text on a specific non-public channel would be a second-choice compromise.

3) Whenever we have a patch, don't reset my keyboard mappings to the default settings.

4) (Yeah, I know I said 3. This is an afterthought.) Allow key remapping via LSL. I know we have PERMISSION_REMAP_CONTROLS for llGetPermissions(), I've just never actually seen any function that does the actual remapping. :-/
_____________________
Grim

"God only made a few perfect heads, the rest of them he put hair on." -- Unknown
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
08-22-2003 18:04
Yes. LSL keyboard remapping/event capture would be extremely useful to expand the possible UI for scripts! Would be great!
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
08-25-2003 05:51
if nothing else, allow macros to be defined in LSL that take precidence (ok I can't spell) over the UI.

llMacro(KeyCombo,Function)

llMacro(as,llSay(0,"Sigh")); ..alt+s = "sigh"
llMacro(cF1,DO_THIS_FUNCTION()); ...ctrl+F1 calls a function..
llMacro(acsg,llSay(0,"I pressed alt+ctrl+shift+g!"));

etc...
Reserve some keys, naturally, for the UI; such as enter, backspace, etc. All macros would *require* inclusion of at least one shifted key (alt/ctrl/or shift) and only allow one standard key (a-z, 1-0, F1-F12, keypad keys, etc). (aka normal macro routine!)

Boso