build: Use only meson for squeekboard

This breaks autoconf. The only resulting binary is the squeekboard GUI. It still needs the autotools-built eekboard client in order to do anything useful. That one needs to be built using a different branch, making this a WIP.
This commit is contained in:
Dorota Czaplejewicz
2019-03-15 17:34:52 +00:00
parent 10bd0ea09e
commit 8087c3e5d4
10 changed files with 547 additions and 24 deletions

31
eekboard/key-emitter.h Normal file
View File

@ -0,0 +1,31 @@
#ifndef KEYEMITTER_H
#define KEYEMITTER_H
#include <glib.h>
#include <X11/XKBlib.h>
#include "eek/eek.h"
typedef struct {
gint group;
} EekboardContext;
typedef struct {
EekboardContext *context;
XkbDescRec *xkb;
guint modifier_keycodes[8];
} Client;
void
emit_key_activated (EekboardContext *context,
guint keycode,
EekSymbol *symbol,
guint modifiers,
Client *client);
gboolean
client_enable_xtest (Client *client);
void
client_disable_xtest (Client *client);
#endif // KEYEMITTER_H