2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2009 Codethink Ltd
6 * Copyright 2001, 2002 Sun Microsystems Inc.,
7 * Copyright 2001, 2002 Ximian, Inc.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 * Boston, MA 02111-1307, USA.
25 #ifndef SPI_DE_TYPES_H_
26 #define SPI_DE_TYPES_H_
28 #include <dbus/dbus.h>
30 typedef unsigned long Accessibility_ControllerEventMask;
33 Accessibility_KEY_PRESSED_EVENT,
34 Accessibility_KEY_RELEASED_EVENT,
35 Accessibility_BUTTON_PRESSED_EVENT,
36 Accessibility_BUTTON_RELEASED_EVENT,
37 } Accessibility_EventType;
40 Accessibility_KEY_PRESSED,
41 Accessibility_KEY_RELEASED,
42 } Accessibility_KeyEventType;
45 Accessibility_KEY_PRESS,
46 Accessibility_KEY_RELEASE,
47 Accessibility_KEY_PRESSRELEASE,
48 Accessibility_KEY_SYM,
49 Accessibility_KEY_STRING,
50 } Accessibility_KeySynthType;
52 typedef struct _Accessibility_DeviceEvent Accessibility_DeviceEvent;
53 struct _Accessibility_DeviceEvent
55 Accessibility_EventType type;
57 dbus_uint16_t hw_code;
58 dbus_uint16_t modifiers;
59 dbus_uint32_t timestamp;
64 typedef struct _Accessibility_EventListenerMode Accessibility_EventListenerMode;
65 struct _Accessibility_EventListenerMode
67 dbus_bool_t synchronous;
68 dbus_bool_t preemptive;
72 typedef struct _Accessibility_KeyDefinition Accessibility_KeyDefinition;
73 struct _Accessibility_KeyDefinition
81 #endif /* SPI_DE_TYPES_H_ */