Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 4 and Version 5 of code/doc/KeyBinder


Ignore:
Timestamp:
Mar 30, 2009, 10:46:54 PM (16 years ago)
Author:
rgrieder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/KeyBinder

    v4 v5  
    2222=== keybindings.ini ===
    2323This file governs the key bindings while playing. There might be more with different names to come, but currently, there is only one. Now every key, button or axis can be assigned an arbitrary number of commands. Usually it is only one, but I you never know... [[br]]
     24Command separating is done with a "|" [[br]]
    2425In order to configure a command it has to be ''preceded'' by one of these non case sensitive tokens: [[br]]
    2526|| Command || Effect ||
     
    3132|| Scale [float] || Scales the output parameter (if any) by [float]. Useful for negative movements ||
    3233Some of these tokens might have no effect if used on an physical button/key.
     34
     35=== Example ===
     36{{{
     37keyA = OnPress Command1 param | OnRelease Command2 param
     38keyB = OnHold Command3
     39}}}