Hi,<div>Last nitpick, sorry ...<br><br>On Wednesday, August 20, 2014, Giulio Camuffo <<a href="mailto:giuliocamuffo@gmail.com">giuliocamuffo@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

+       mods_depressed = xkb_state_serialize_mods(keyboard->xkb_state.state,<br>
+                                               XKB_STATE_DEPRESSED);<br>
+       mods_latched = xkb_state_serialize_mods(keyboard->xkb_state.state,<br>
+                                               XKB_STATE_LATCHED);<br>
+       mods_locked = xkb_state_serialize_mods(keyboard->xkb_state.state,<br>
+                                               XKB_STATE_LOCKED);<br>
+       group = xkb_state_serialize_group(keyboard->xkb_state.state,<br>
+                                      XKB_STATE_EFFECTIVE);<br>
+<br>
+       num = (1 << keyboard->xkb_info->mod2_mod);<br>
+       caps = (1 << keyboard->xkb_info->caps_mod);</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote><div><br></div><div>I still don't really believe the non-xkbcommon build should exist, but shouldn't all this be #ifdef'ed?</div>
</div><div><br></div><div>Cheers,</div><div>Daniel<span></span></div>