From 35682f3b9576cb4f92c21b23294711ea55fcc360 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Sat, 23 Aug 2014 10:19:03 -0400 Subject: ecore-input: Add enum for input device type Signed-off-by: Chris Michael --- src/lib/ecore_input/Ecore_Input.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h index 8544b7a5b1..57fd0821a3 100644 --- a/src/lib/ecore_input/Ecore_Input.h +++ b/src/lib/ecore_input/Ecore_Input.h @@ -105,6 +105,13 @@ typedef enum _Ecore_Compose_State ECORE_COMPOSE_DONE } Ecore_Compose_State; +typedef enum _Ecore_Input_Device_Type +{ + ECORE_INPUT_DEVICE_TYPE_POINTER = (1 << 0), + ECORE_INPUT_DEVICE_TYPE_KEYBOARD = (1 << 1), + ECORE_INPUT_DEVICE_TYPE_TOUCH = (1 << 2) +} Ecore_Input_Device_Type; + struct _Ecore_Event_Key { const char *keyname; -- cgit v1.2.1