2 interface org.freestandards.atspi.DeviceEventController {
4 enum <uint32> KeySynthType {
15 Consumption of events and syncronous event delivery is a sore-thumb.
17 The client should really have no say over what the DeviceEventController
18 does with regards to event delivery as such the 'syncronous' flag is redundant.
20 The 'global' flag is now useless as XEVIE is no longer maintained. As such
21 the DeviceEventController will not recieve any device events from applications
24 The only possibly useful flag is 'preemptive'. However all keyboard events are
25 sent as pre-emptive from gail so its debateable whether even this flag is really
28 struct EventListenerMode {
29 /* Controller should block while delivering this event. */
31 /* Clients are allowed to consume this event. */
34 Event notifications should be sent regardless of whether
35 focused application participates in AT-SPI accessibility.
40 struct KeyDefinition {
47 method RegisterKeystrokeListener {
52 EventListenerMode mode;
57 method DeregisterKeystrokeListener {
64 method RegisterDeviceEventListener {
71 method DeregisterDeviceEventListener {
76 method NotifyListenersSync {
82 method NotifyListenersAsync {
86 method GenerateKeyboardEvent {
92 method GenerateMouseEvent {