Mir
input_configuration_event.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2015 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Robert Carr <robert.carr@canonical.com>
17  */
18 
19 #ifndef MIR_TOOLKIT_EVENTS_INPUT_CONFIGURATION_EVENT_H_
20 #define MIR_TOOLKIT_EVENTS_INPUT_CONFIGURATION_EVENT_H_
21 
23 
24 #ifdef __cplusplus
25 
29 extern "C" {
30 #endif
31 
42 
43 typedef enum
44 {
48 __attribute__((deprecated));
49 
50 #pragma GCC diagnostic push
51 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
52 
58 MirInputConfigurationAction mir_input_configuration_event_get_action(MirInputConfigurationEvent const* ev) __attribute__((deprecated));
59 
66 int64_t mir_input_configuration_event_get_time(MirInputConfigurationEvent const* ev) __attribute__((deprecated));
67 
74 MirInputDeviceId mir_input_configuration_event_get_device_id(MirInputConfigurationEvent const* ev) __attribute__((deprecated));
75 #pragma GCC diagnostic pop
76 
77 #ifdef __cplusplus
78 }
80 #endif
81 
82 #endif /* MIR_TOOLKIT_INPUT_CONFIGURATION_EVENT_H_ */
Definition: input_configuration_event.h:45
int64_t mir_input_configuration_event_get_time(MirInputConfigurationEvent const *ev) __attribute__((deprecated))
Retreive the time associated with a MirInputConfiguration event.
int64_t MirInputDeviceId
Definition: mir_input_device_types.h:31
MirInputDeviceId mir_input_configuration_event_get_device_id(MirInputConfigurationEvent const *ev) __attribute__((deprecated))
Retreive the device id associated with a MirInputConfiguration event.
MirInputConfigurationAction
MirInputConfigurationEvent indicates a configuration change in the input device subsystem. Eventually it&#39;s usage will be required to properly interpret MirInputEvent, for example: If we receive a button down, and then a device reset, we should not expect to receive the button up.
Definition: input_configuration_event.h:43
MirConnectedCallback mir_connected_callback __attribute__((deprecated("Use MirConnectedCallback instead")))
Release a platform message.
Definition: client_types.h:85
Definition: input_configuration_event.h:46
MirInputConfigurationAction mir_input_configuration_event_get_action(MirInputConfigurationEvent const *ev) __attribute__((deprecated))
Retrieve the input configuration action which occurred.

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Mar 27 12:06:55 UTC 2017