Click or drag to resize

KeyCombinationOverrideModeOverlap Field

An Action bound to a modifier key that is a member of a key combination will return True as long as the key is held and will not have its value overridden by the key combination unless the modifier key matches the primary key of the key combination. Actions bound to each modifier key in the key combination will return value along with the Action bound to the key combination. Example: Cntl is bound to Action1. Cntl + W is bound to Action2. When Cntl + W is pressed, both Action1 and Action2 return true. Note that this does not apply to the primary key of a key combination. In the previous example, an Action bound to W alone does not return true when Cntl + W is pressed. This also does not apply to key combinations themselves. Key combinations can be overridden by other key combinations that have more modifiers. Example: Cntl + W is bound to Action1. Cntl + Shift + W is bound to Action2. When Cntl + Shift + W is pressed, Action2 returns true, but Action1 returns false. If a key combination is overridden by another key combination that has more modifiers, the overridden key combination will return false until all constiutent keys are released and pressed again.

Namespace: Rewired.Config
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public const KeyCombinationOverrideMode Overlap = 3

Field Value

KeyCombinationOverrideMode
See Also