papyrus logo

Papyrus::Event Namespace Reference

Classes

struct  Event
struct  InterruptMarshaller
struct  Button
struct  ButtonPress
struct  ButtonRelease
struct  ButtonDoublePress
struct  ButtonTriplePress
struct  Scroll
struct  Motion
struct  Key
struct  KeyPress
struct  KeyRelease

Typedefs

typedef enum Papyrus::Event::Type Type
typedef enum
Papyrus::Event::ScrollDirection 
ScrollDirection
typedef enum
Papyrus::Event::ButtonID 
ButtonID
typedef enum
Papyrus::Event::ModifierType 
ModifierType
typedef sigc::signal1< bool,
const Event
&, InterruptMarshaller
signal

Enumerations

enum  Type {
  BUTTON_PRESS, BUTTON_RELEASE, BUTTON_DOUBLE_PRESS, BUTTON_TRIPLE_PRESS,
  SCROLL, MOTION, KEY_PRESS, KEY_RELEASE
}
enum  ScrollDirection { SCROLL_UP, SCROLL_DOWN, SCROLL_LEFT, SCROLL_RIGHT }
enum  ButtonID {
  BUTTON_NONE = 0x00, BUTTON_1 = 0x01 << 0, BUTTON_2 = 0x01 << 1, BUTTON_3 = 0x01 << 2,
  BUTTON_4 = 0x01 << 3, BUTTON_5 = 0x01 << 4, BUTTON_6 = 0x01 << 5, BUTTON_7 = 0x01 << 6,
  BUTTON_8 = 0x01 << 7, BUTTON_9 = 0x01 << 8, BUTTON_10 = 0x01 << 9, BUTTON_11 = 0x01 << 10,
  BUTTON_12 = 0x01 << 11, BUTTONS_1_3 = 0x01 << 12, BUTTONS_4_5 = 0x01 << 13, BUTTONS_6_7 = 0x01 << 14,
  BUTTONS_8_9 = 0x01 << 15, BUTTONS_11_12 = 0x01 << 16, BUTTONS_1_3_INV = 0x01 << 17, BUTTONS_4_5_INV = 0x01 << 18,
  BUTTONS_6_7_INV = 0x01 << 19, BUTTONS_8_9_INV = 0x01 << 20, BUTTONS_11_12_INV = 0x01 << 21
}
enum  ModifierType {
  SHIFT_MASK = 1 << 0, LOCK_MASK = 1 << 1, CONTROL_MASK = 1 << 2, MOD1_MASK = 1 << 3,
  MOD2_MASK = 1 << 4, MOD3_MASK = 1 << 5, MOD4_MASK = 1 << 6, MOD5_MASK = 1 << 7,
  BUTTON1_MASK = 1 << 8, BUTTON2_MASK = 1 << 9, BUTTON3_MASK = 1 << 10, BUTTON4_MASK = 1 << 11,
  BUTTON5_MASK = 1 << 12, SUPER_MASK = 1 << 26, HYPER_MASK = 1 << 27, META_MASK = 1 << 28,
  RELEASE_MASK = 1 << 30, MODIFIER_MASK = 0x5c001fff
}

Typedef Documentation

typedef sigc::signal1<bool, const Event&, InterruptMarshaller> Papyrus::Event::signal

Enumeration Type Documentation

Enumerator:
BUTTON_NONE 
BUTTON_1 
BUTTON_2 
BUTTON_3 
BUTTON_4 
BUTTON_5 
BUTTON_6 
BUTTON_7 
BUTTON_8 
BUTTON_9 
BUTTON_10 
BUTTON_11 
BUTTON_12 
BUTTONS_1_3 
BUTTONS_4_5 
BUTTONS_6_7 
BUTTONS_8_9 
BUTTONS_11_12 
BUTTONS_1_3_INV 
BUTTONS_4_5_INV 
BUTTONS_6_7_INV 
BUTTONS_8_9_INV 
BUTTONS_11_12_INV 
Enumerator:
SHIFT_MASK 
LOCK_MASK 
CONTROL_MASK 
MOD1_MASK 
MOD2_MASK 
MOD3_MASK 
MOD4_MASK 
MOD5_MASK 
BUTTON1_MASK 
BUTTON2_MASK 
BUTTON3_MASK 
BUTTON4_MASK 
BUTTON5_MASK 
SUPER_MASK 
HYPER_MASK 
META_MASK 
RELEASE_MASK 
MODIFIER_MASK 
Enumerator:
SCROLL_UP 
SCROLL_DOWN 
SCROLL_LEFT 
SCROLL_RIGHT 
Enumerator:
BUTTON_PRESS 
BUTTON_RELEASE 
BUTTON_DOUBLE_PRESS 
BUTTON_TRIPLE_PRESS 
SCROLL 
MOTION 
KEY_PRESS 
KEY_RELEASE 

Generated on Fri Apr 16 12:41:10 2010 for papyrus by doxygen 1.6.1