https://bugzilla.gnome.org/show_bug.cgi?id=730897
#include "introspection.h"
-KeySym ucs2keysym (long ucs);
-long keysym2ucs(KeySym keysym);
-
static void spi_dec_x11_emit_modifier_event (SpiDEController *controller,
guint prev_mask,
guint current_mask);
static KeySym
keysym_for_unichar (SpiDEController *controller, gunichar unichar)
{
- return ucs2keysym ((long) unichar);
+ return (KeySym) ucs2keysym ((long) unichar);
}
static gboolean
#include "introspection.h"
-long ucs2keysym (long ucs);
-long keysym2ucs(long keysym);
-
#define CHECK_RELEASE_DELAY 20
#define BIT(c, x) (c[x/8]&(1<<(x%8)))
static SpiDEController *saved_controller;
#ifdef HAVE_X11
void spi_dec_setup_x11 (SpiDEControllerClass *klass);
#endif
+
+long ucs2keysym (long ucs);
+long keysym2ucs(long keysym);
+
G_END_DECLS
#endif /* DEVICEEVENTCONTROLLER_H_ */
*/
#include <X11/X.h>
+#include "deviceeventcontroller.h" /* for prototype */
struct codepair {
unsigned short keysym;