Torque3D Documentation / _generateds / Platform::KeyboardInputExclusion

Platform::KeyboardInputExclusion

Engine/source/platform/platform.h

Description of a keyboard input we want to ignore.

More...

Public Attributes

if((modifiers & andModifierMask) == andModifierMask) and the other conditions match, ignore the key stroke.

The key code to ignore, e.g.

if(modifiers | orModifierMask) and the other conditions match, ignore the key.

Public Functions

const bool

Based on the values above, determine if a given input event matchs this exclusion rule.

Detailed Description

Description of a keyboard input we want to ignore.

Public Attributes

U32 andModifierMask 

if((modifiers & andModifierMask) == andModifierMask) and the other conditions match, ignore the key stroke.

S32 key 

The key code to ignore, e.g.

KEY_TAB. If this and the other conditions match, ignore the key.

U32 orModifierMask 

if(modifiers | orModifierMask) and the other conditions match, ignore the key.

Public Functions

KeyboardInputExclusion()

checkAgainstInput(const InputEventInfo * info)

Based on the values above, determine if a given input event matchs this exclusion rule.