Changes between Version 4 and Version 5 of code/doc/KeyBinder
- Timestamp:
- Mar 30, 2009, 10:46:54 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/KeyBinder
v4 v5 22 22 === keybindings.ini === 23 23 This 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]] 24 Command separating is done with a "|" [[br]] 24 25 In order to configure a command it has to be ''preceded'' by one of these non case sensitive tokens: [[br]] 25 26 || Command || Effect || … … 31 32 || Scale [float] || Scales the output parameter (if any) by [float]. Useful for negative movements || 32 33 Some of these tokens might have no effect if used on an physical button/key. 34 35 === Example === 36 {{{ 37 keyA = OnPress Command1 param | OnRelease Command2 param 38 keyB = OnHold Command3 39 }}}