Crazy Eddie's GUI System  0.8.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::SystemKeys Class Reference

Public Types

enum  SystemKey {
  None = 0x0000, LeftMouse = 0x0001, RightMouse = 0x0002, Shift = 0x0004,
  Control = 0x0008, MiddleMouse = 0x0010, X1Mouse = 0x0020, X2Mouse = 0x0040,
  Alt = 0x0080
}
 

Public Member Functions

void reset ()
 
uint get () const
 
bool isPressed (SystemKey key) const
 
void keyPressed (Key::Scan key)
 notify that the given key was presed
 
void keyReleased (Key::Scan key)
 notify that the given key was released.
 
void mouseButtonPressed (MouseButton button)
 notify that the given mouse button was pressed.
 
void mouseButtonReleased (MouseButton button)
 notify that the given mouse button was released.
 

Static Public Member Functions

static SystemKey mouseButtonToSystemKey (MouseButton button)
 
static SystemKey keyCodeToSystemKey (Key::Scan key)