summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-06 13:23:36 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commitb01666075d9c89dbba2ca279aa299f429784dec4 (patch)
tree362d271a5c69ba72cc46a7f953fdd3a713120f4e /src/lib/elput/Elput.h
parent5db91e3802bd7084a2df7c79300e91e7b0d10ce6 (diff)
elput: Add event structures for keymap and modifier sending events
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 97b184bef4..f8808ceee8 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -58,8 +58,26 @@ typedef struct _Elput_Event_Seat_Frame
58 Elput_Seat *seat; 58 Elput_Seat *seat;
59} Elput_Event_Seat_Frame; 59} Elput_Event_Seat_Frame;
60 60
61/* structure to represent event for seat keymap changes */
62typedef struct _Elput_Event_Keymap_Send
63{
64 int fd, format;
65 size_t size;
66} Elput_Event_Keymap_Send;
67
68/* structure to represent event for seat modifiers changes */
69typedef struct _Elput_Event_Modifiers_Send
70{
71 unsigned int depressed;
72 unsigned int latched;
73 unsigned int locked;
74 unsigned int group;
75} Elput_Event_Modifiers_Send;
76
61EAPI extern int ELPUT_EVENT_SEAT_CAPS; 77EAPI extern int ELPUT_EVENT_SEAT_CAPS;
62EAPI extern int ELPUT_EVENT_SEAT_FRAME; 78EAPI extern int ELPUT_EVENT_SEAT_FRAME;
79EAPI extern int ELPUT_EVENT_KEYMAP_SEND;
80EAPI extern int ELPUT_EVENT_MODIFIERS_SEND;
63 81
64/** 82/**
65 * @file 83 * @file