Changes

Jump to navigation Jump to search

Documentation/Engine/Advanced input configuration

12 bytes added, 18:02, 6 May 2019
no edit summary
*A special name unbound which resolves to constant zero. It is used to preserve information if no key is assigned to the primary binding slot.
The values can be combined using arithmetical (+, -, *, /) and logical (&, |, !) operators. Note that operator precedence rules are very simple so use of the brackets is highly recommended. When a value is interpreted in a logical context (e.g. during logical OR or AND operations or when it is used as logical value by the game), values greater than or equal to 0.5 evaluate to true and other values evaluate to false. Logical operators return 1.0 for true and 0.0 for false and have a short-circuit evaluation. Since 1.35 the expression also supports logical operators with a full evaluation (&&, ||). While the short-circuit variants are preferred for most uses, the full evaluation variants must should typically be used when using memory based functions. Memory based functions preserve some state between evaluations as long the mix expression does not change. Changing the expression (e.g. because of config load) will reset the memory to default state.
Following set of functions is also available. The range in brackets indicate allowed number of parameters to the function:

Navigation menu