InControl API Reference
KeyCombo Struct Reference

Represents a combination of one or more keys, including modifiers, up to a maximum of eight. More...

Public Member Functions

 KeyCombo (params Key[] keys)
 
void AddIncludeInt (int key)
 
int GetIncludeInt (int index)
 
void Add (Key key)
 
Key Get (int index)
 
void AddInclude (Key key)
 
Key GetInclude (int index)
 
void AddExcludeInt (int key)
 
int GetExcludeInt (int index)
 
void AddExclude (Key key)
 
Key GetExclude (int index)
 
KeyCombo AndNot (params Key[] keys)
 
void Clear ()
 
override string ToString ()
 
override bool Equals (object other)
 
override int GetHashCode ()
 

Static Public Member Functions

static KeyCombo With (params Key[] keys)
 
static KeyCombo Detect (bool modifiersAsKeys)
 
static bool operator== (KeyCombo a, KeyCombo b)
 
static bool operator!= (KeyCombo a, KeyCombo b)
 

Public Attributes

int includeSize
 
ulong includeData
 
int excludeSize
 
ulong excludeData
 

Static Public Attributes

static readonly Dictionary< ulong, string > cachedStrings = new Dictionary<ulong, string>()
 
static readonly StringBuilder cachedStringBuilder = new StringBuilder( 256 )
 

Properties

int Count [get]
 
int IncludeCount [get]
 
int ExcludeCount [get]
 
bool IsPressed [get]
 

Detailed Description

Represents a combination of one or more keys, including modifiers, up to a maximum of eight.


The documentation for this struct was generated from the following file: