+typedef struct {
+ const char *type;
+ Accessible *source;
+ long detail1;
+ long detail2;
+} AccessibleEvent;
+
+typedef enum {
+ SPI_KEY_PRESSED = 1<<0,
+ SPI_KEY_RELEASED = 1<<1
+} AccessibleKeyEventType;
+
+
+typedef struct {
+ long keyID;
+ short keycode;
+ long timestamp;
+ AccessibleKeyEventType type;
+ unsigned short modifiers;
+} AccessibleKeystroke;