Platform::KeyboardInputExclusion Struct Reference

#include <platform.h>

List of all members.


Detailed Description

Description of a keyboard input we want to ignore.


Public Member Functions

 KeyboardInputExclusion ()
const bool checkAgainstInput (const InputEventInfo *info) const
 Based on the values above, determine if a given input event matchs this exclusion rule.

Public Attributes

S32 key
 The key code to ignore, e.g.
U32 orModifierMask
 if(modifiers | orModifierMask) and the other conditions match, ignore the key.
U32 andModifierMask
 if((modifiers & andModifierMask) == andModifierMask) and the other conditions match, ignore the key stroke.


Constructor & Destructor Documentation

Platform::KeyboardInputExclusion::KeyboardInputExclusion (  )  [inline]


Member Function Documentation

const bool Platform::KeyboardInputExclusion::checkAgainstInput ( const InputEventInfo info  )  const

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


Member Data Documentation

The key code to ignore, e.g.

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

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

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