devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5869b4afa188c32ee3a0bfbaa547840c7e2f1e37

commit 5869b4afa188c32ee3a0bfbaa547840c7e2f1e37
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Nov 30 10:31:22 2015 -0500

    ecore-wl2: Add private Ecore_Wl2_Keyboard structure
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_private.h | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h 
b/src/lib/ecore_wl2/ecore_wl2_private.h
index 7105bba..1b0eebc 100644
--- a/src/lib/ecore_wl2/ecore_wl2_private.h
+++ b/src/lib/ecore_wl2/ecore_wl2_private.h
@@ -200,11 +200,45 @@ struct _Ecore_Wl2_Keyboard
 {
    EINA_INLIST;
 
+   Ecore_Wl2_Seat *seat;
+
+   unsigned int modifiers;
+
+   struct
+     {
+        struct xkb_keymap *keymap;
+        struct xkb_state *state;
+        xkb_mod_mask_t control_mask;
+        xkb_mod_mask_t alt_mask;
+        xkb_mod_mask_t shift_mask;
+        xkb_mod_mask_t win_mask;
+        xkb_mod_mask_t scroll_mask;
+        xkb_mod_mask_t num_mask;
+        xkb_mod_mask_t caps_mask;
+        xkb_mod_mask_t altgr_mask;
+        unsigned int mods_depressed;
+        unsigned int mods_latched;
+        unsigned int mods_locked;
+        unsigned int mods_group;
+     } xkb;
+
+   struct
+     {
+        Ecore_Timer *tmr;
+        unsigned int sym, key, time;
+        double rate, delay;
+        Eina_Bool enabled : 1;
+     } repeat;
+
    struct
      {
         unsigned int button, count, timestamp;
         Ecore_Wl2_Window *window;
      } grab;
+
+   Ecore_Wl2_Window *focus;
+
+   Eina_List *resources;
 };
 
 struct _Ecore_Wl2_Touch

-- 


Reply via email to