Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1887 for code/trunk/bin


Ignore:
Timestamp:
Oct 6, 2008, 12:31:32 AM (16 years ago)
Author:
rgrieder
Message:

FIRST THINGS FIRST: Delete or rename your keybindings.ini (def_keybindings.ini already has the most important bindings) or else you won't be able to do anything!

Changes:

  • Multiple joy stick support should now fully work with KeyBinder too (only tested with 0/1 joystick)
  • Reloading the OIS Devices now works with KeyBinder too
  • Modified ConfigValueContainer to accept arbitrary section names
  • added tkeybind to temporary bind a command to a key
  • Fixed dlleport issue in ArgumentCompletionFunctions.h

Internal changes:

  • General cleanup in initialisation of KeyBinder
  • All names of keys/buttons/axes are now statically saved in InputInterfaces.h
  • Move a magic value in KeyBinder to a configValue (MouseWheelStepSize_)
  • Separated ConfigValues from Keybinding ConfigValueContainer in KeyBinder (looks much nicer now ;))
  • Moved some performance critical small function to the inline section
  • Removed the ugly keybind function construct from the InputManager
  • More 'harmonising' work in KeyBinder
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/def_keybindings.ini

    r1783 r1887  
    1 [KeyBinder]
    2 KeyUNASSIGNED=openConsole
    3 KeyESCAPE=exit
    4 Key1=
    5 Key2=
    6 Key3=
    7 Key4=
    8 Key5=
    9 Key6=
    10 Key7=
    11 Key8=
    12 Key9=
    13 Key0=
    14 KeyMINUS=
    15 KeyEQUALS=openConsole
    16 KeyBACK=
    17 KeyTAB=cycleNavigationFocus
    18 KeyQ=moveRoll
    19 KeyW=moveLongitudinal
    20 KeyE=scale -1 moveRoll
    21 KeyR=
    22 KeyT=
    23 KeyY=
    24 KeyU=
    25 KeyI=
    26 KeyO=
    27 KeyP=
    28 KeyLBRACKET=
    29 KeyRBRACKET=
    30 KeyRETURN=
    31 KeyLCONTROL=
    32 KeyA=scale -1 moveLateral
    33 KeyS=scale -1 moveLongitudinal
    34 KeyD=moveLateral
     1[Keys]
     2KeyA="scale -1 moveLateral"
     3KeyABNT_C1=
     4KeyABNT_C2=
     5KeyAT=
     6KeyAX=
     7KeyApostrophe=
     8KeyApps=
     9KeyB=
     10KeyBack=
     11KeyBackslash=
     12KeyC=
     13KeyCalculator=
     14KeyCapsLock=
     15KeyColon=
     16KeyComma=
     17KeyConvert=
     18KeyD="scale 1 moveLateral"
     19KeyDelete=
     20KeyDivide=
     21KeyDown=
     22KeyE="scale -1 moveRoll"
     23KeyEnd=
     24KeyEquals=
     25KeyEscape="exit"
    3526KeyF=
    36 KeyG=
    37 KeyH=scale -0.3 moveYaw
    38 KeyJ=scale -0.3 movePitch
    39 KeyK=scale  0.3 movePitch
    40 KeyL=scale  0.3 moveYaw
    41 KeySEMICOLON=
    42 KeyAPOSTROPHE=
    43 KeyGRAVE=openConsole
    44 KeyLSHIFT=
    45 KeyBACKSLASH=
    46 KeyZ=
    47 KeyX=
    48 KeyC=
    49 KeyV=
    50 KeyB=
    51 KeyN=
    52 KeyM=
    53 KeyCOMMA=
    54 KeyPERIOD=
    55 KeySLASH=
    56 KeyRSHIFT=
    57 KeyMULTIPLY=
    58 KeyLMENU=
    59 KeySPACE=
    60 KeyCAPITAL=
    61 KeyF1=Overlaygroup toggleVisibility Debug
     27KeyF1="OverlayGroup toggleVisibility Debug"
     28KeyF10=
     29KeyF11=
     30KeyF12=
     31KeyF13=
     32KeyF14=
     33KeyF15=
    6234KeyF2=
    6335KeyF3=
     
    6840KeyF8=
    6941KeyF9=
    70 KeyF10=
    71 KeyNUMLOCK=
    72 KeySCROLL=
    73 KeyNUMPAD7=
    74 KeyNUMPAD8=
    75 KeyNUMPAD9=
    76 KeySUBTRACT=
    77 KeyNUMPAD4=
    78 KeyNUMPAD5=
    79 KeyNUMPAD6=
    80 KeyADD=
    81 KeyNUMPAD1=
    82 KeyNUMPAD2=
    83 KeyNUMPAD3=
    84 KeyNUMPAD0=
    85 KeyDECIMAL=
    86 Key=
    87 KeyOEM_102=
    88 KeyF11=
    89 KeyF12=
    90 KeyF13=
    91 KeyF14=
    92 KeyF15=
    93 KeyKANA=
    94 KeyABNT_C1=
    95 KeyCONVERT=
    96 KeyNOCONVERT=
    97 KeyYEN=
    98 KeyABNT_C2=
    99 KeyNUMPADEQUALS=
    100 KeyPREVTRACK=
    101 KeyAT=
    102 KeyCOLON=
    103 KeyUNDERLINE=
    104 KeyKANJI=
    105 KeySTOP=
    106 KeyAX=
    107 KeyUNLABELED=
    108 KeyNEXTTRACK=
    109 KeyNUMPADENTER=openConsole
    110 KeyRCONTROL=
    111 KeyMUTE=
    112 KeyCALCULATOR=
    113 KeyPLAYPAUSE=
    114 KeyMEDIASTOP=
    115 KeyVOLUMEDOWN=
    116 KeyVOLUMEUP=
    117 KeyWEBHOME=
    118 KeyNUMPADCOMMA=
    119 KeyDIVIDE=
    120 KeySYSRQ=
    121 KeyRMENU=
    122 KeyPAUSE=
    123 KeyHOME=
     42KeyG=
     43KeyGrave="openConsole"
     44KeyH=
     45KeyHome=
     46KeyI=
     47KeyInsert=
     48KeyJ=
     49KeyK=
     50KeyKana=
     51KeyKanji=
     52KeyL=
     53KeyLeft=
     54KeyLeftAlt=
     55KeyLeftBracket=
     56KeyLeftControl=
     57KeyLeftShift=
     58KeyLeftWindows=
     59KeyLessThan=
     60KeyM=
     61KeyMail=
     62KeyMediaSelect=
     63KeyMediaStop=
     64KeyMinus=
     65KeyMultiply=
     66KeyMute=
     67KeyMyComputer=
     68KeyN=
     69KeyNextTrack=
     70KeyNoConvert=
     71KeyNumLock=
     72KeyNumRow0=
     73KeyNumRow1=
     74KeyNumRow2=
     75KeyNumRow3=
     76KeyNumRow4=
     77KeyNumRow5=
     78KeyNumRow6=
     79KeyNumRow7=
     80KeyNumRow8=
     81KeyNumRow9=
     82KeyNumpad0=
     83KeyNumpad1=
     84KeyNumpad2=
     85KeyNumpad3=
     86KeyNumpad4=
     87KeyNumpad5=
     88KeyNumpad6=
     89KeyNumpad7=
     90KeyNumpad8=
     91KeyNumpad9=
     92KeyNumpadAdd=
     93KeyNumpadComma=
     94KeyNumpadEnter=
     95KeyNumpadEquals=
     96KeyNumpadPeriod=
     97KeyNumpadSubtract=
     98KeyO=
     99KeyP=
     100KeyPageDown=
     101KeyPageUp=
     102KeyPause=
     103KeyPeriod=
     104KeyPlayPause=
     105KeyPower=
     106KeyPreviousTrack=
     107KeyQ="scale 1 moveRoll"
     108KeyR=
     109KeyReturn=
     110KeyRight=
     111KeyRightAlt=
     112KeyRightBracket=
     113KeyRightControl=
     114KeyRightShift=
     115KeyRightWindows=
     116KeyS="scale -1 moveLongitudinal"
     117KeyScrollLock=
     118KeySemicolon=
     119KeySlash=
     120KeySleep=
     121KeySpace=
     122KeyStop=
     123KeySystemRequest=
     124KeyT=
     125KeyTab="cycleNavigationFocus"
     126KeyU=
    124127KeyUP=
    125 KeyPGUP=
    126 KeyLEFT=
    127 KeyRIGHT=
    128 KeyEND=
    129 KeyDOWN=
    130 KeyPGDOWN=
    131 KeyINSERT=
    132 KeyDELETE=
    133 KeyLWIN=
    134 KeyRWIN=
    135 KeyAPPS=
    136 KeyPOWER=
    137 KeySLEEP=
    138 KeyWAKE=
    139 KeyWEBSEARCH=
    140 KeyWEBFAVORITES=
    141 KeyWEBREFRESH=
    142 KeyWEBSTOP=exit
    143 KeyWEBFORWARD=
    144 KeyWEBBACK=
    145 KeyMYCOMPUTER=
    146 KeyMAIL=
    147 KeyMEDIASELECT=
    148 MouseLeft=fire
    149 MouseRight=
    150 MouseMiddle=
     128KeyUnassigned=
     129KeyUnderline=
     130KeyUnlabeled=
     131KeyV=
     132KeyVolumeDown=
     133KeyVolumeUp=
     134KeyW="scale 1 moveLongitudinal"
     135KeyWake=
     136KeyWebBack=
     137KeyWebFavorites=
     138KeyWebForward=
     139KeyWebHome=
     140KeyWebRefresh=
     141KeyWebSearch=
     142KeyWebStop=
     143KeyX=
     144KeyY=
     145KeyYen=
     146KeyZ=
     147Key_084=
     148Key_085=
     149Key_089=
     150Key_090=
     151Key_091=
     152Key_092=
     153Key_093=
     154Key_094=
     155Key_095=
     156Key_096=
     157Key_097=
     158Key_098=
     159Key_099=
     160Key_103=
     161Key_104=
     162Key_105=
     163Key_106=
     164Key_107=
     165Key_108=
     166Key_109=
     167Key_110=
     168Key_111=
     169Key_112=
     170Key_114=
     171Key_115=
     172Key_117=
     173Key_118=
     174Key_119=
     175Key_120=
     176Key_121=
     177Key_123=
     178Key_125=
     179Key_128=
     180Key_129=
     181Key_130=
     182Key_131=
     183Key_132=
     184Key_133=
     185Key_134=
     186Key_135=
     187Key_136=
     188Key_137=
     189Key_138=
     190Key_139=
     191Key_140=
     192Key_141=
     193Key_143=
     194Key_144=
     195Key_154=
     196Key_155=
     197Key_158=
     198Key_159=
     199Key_163=
     200Key_165=
     201Key_166=
     202Key_167=
     203Key_168=
     204Key_169=
     205Key_170=
     206Key_171=
     207Key_172=
     208Key_173=
     209Key_175=
     210Key_177=
     211Key_180=
     212Key_182=
     213Key_185=
     214Key_186=
     215Key_187=
     216Key_188=
     217Key_189=
     218Key_190=
     219Key_191=
     220Key_192=
     221Key_193=
     222Key_194=
     223Key_195=
     224Key_196=
     225Key_198=
     226Key_202=
     227Key_204=
     228Key_206=
     229Key_212=
     230Key_213=
     231Key_214=
     232Key_215=
     233Key_216=
     234Key_217=
     235Key_218=
     236Key_224=
     237Key_225=
     238Key_226=
     239Key_228=
     240
     241[MouseButtons]
    151242MouseButton3=
    152243MouseButton4=
     
    154245MouseButton6=
    155246MouseButton7=
     247MouseLeft="fire"
     248MouseMiddle=
     249MouseRight=
     250MouseWheel1Down=
    156251MouseWheel1Up=
    157 MouseWheel1Down=
     252MouseWheel2Down=
    158253MouseWheel2Up=
    159 MouseWheel2Down=
    160 MouseXPos=scale  1 moveYaw
    161 MouseXNeg=scale -1 moveYaw
    162 MouseYPos=scale  1 movePitch
    163 MouseYNeg=scale -1 movePitch
    164 Empty1Pos=
    165 Empty1Neg=
    166 Empty2Pos=
    167 Empty2Neg=
    168 JoyAxis1Pos=scale -1 movePitch
    169 JoyAxis1Neg=scale  1 movePitch
    170 JoyAxis2Pos=
    171 JoyAxis2Neg=
    172 JoyAxis3Pos=
    173 JoyAxis3Neg=
    174 JoyAxis4Pos=
    175 JoyAxis4Neg=
    176 JoyAxis5Pos=
    177 JoyAxis5Neg=
    178 JoyAxis6Pos=
    179 JoyAxis6Neg=
    180 JoyAxis7Pos=
    181 JoyAxis7Neg=
    182 JoyAxis8Pos=
    183 JoyAxis8Neg=
    184 JoyAxis9Pos=scale   1 moveYaw
    185 JoyAxis9Neg=scale  -1 moveYaw
    186 JoyAxis10Pos=
    187 JoyAxis10Neg=
    188 JoyAxis11Pos=scale -1 moveLongitudinal
    189 JoyAxis11Neg=scale  1 moveLongitudinal
    190 JoyAxis12Pos=scale  1 moveLateral
    191 JoyAxis12Neg=scale -1 moveLateral
    192 JoyAxis13Pos=
    193 JoyAxis13Neg=
    194 JoyAxis14Pos=
    195 JoyAxis14Neg=
    196 JoyAxis15Pos=
    197 JoyAxis15Neg=
    198 JoyAxis16Pos=
    199 JoyAxis16Neg=
    200 JoyAxis17Pos=
    201 JoyAxis17Neg=
    202 JoyAxis18Pos=
    203 JoyAxis18Neg=
    204 JoyAxis19Pos=
    205 JoyAxis19Neg=
    206 JoyAxis20Pos=
    207 JoyAxis20Neg=
    208 JoyAxis21Pos=
    209 JoyAxis21Neg=
    210 JoyAxis22Pos=
    211 JoyAxis22Neg=
    212 JoyAxis23Pos=
    213 JoyAxis23Neg=
    214 JoyAxis24Pos=
    215 JoyAxis24Neg=
    216 JoyButton0=cycleNavigationFocus
    217 JoyButton1=
    218 JoyButton2=
    219 JoyButton3=
    220 JoyButton4=
    221 JoyButton5=
    222 JoyButton6=scale  1 moveRoll
    223 JoyButton7=scale -1 moveRoll
    224 JoyButton8=
    225 JoyButton9=fire
    226 JoyButton10=
    227 JoyButton11=
    228 JoyButton12=
    229 JoyButton13=
    230 JoyButton14=
    231 JoyButton15=
    232 JoyButton16=
    233 JoyButton17=
    234 JoyButton18=
    235 JoyButton19=
    236 JoyButton20=
    237 JoyButton21=
    238 JoyButton22=
    239 JoyButton23=
    240 JoyButton24=
    241 JoyButton25=
    242 JoyButton26=
    243 JoyButton27=
    244 JoyButton28=
    245 JoyButton29=
    246 JoyButton30=
    247 JoyButton31=
    248 JoyPOV1North=
    249 JoyPOV1South=
    250 JoyPOV1East=
    251 JoyPOV1West=
    252 JoyPOV2North=
    253 JoyPOV2South=
    254 JoyPOV2East=
    255 JoyPOV2West=
    256 JoyPOV3North=
    257 JoyPOV3South=
    258 JoyPOV3East=
    259 JoyPOV3West=
    260 JoyPOV4North=
    261 JoyPOV4South=
    262 JoyPOV4East=
    263 JoyPOV4West=
    264254
     255[MouseAxes]
     256MouseXNeg="scale 1 moveYaw"
     257MouseXPos="scale -1 moveYaw"
     258MouseYNeg="scale 1 movePitch"
     259MouseYPos="scale -1 movePitch"
     260
Note: See TracChangeset for help on using the changeset viewer.