Archived
2
0

update xorg bindings.

This commit is contained in:
Miroslav Šedivý
2023-01-14 21:15:52 +01:00
parent ccc1df936d
commit a02f47f140
3 changed files with 111 additions and 16 deletions

View File

@ -26,6 +26,11 @@ typedef struct xkeyentry_t {
struct xkeyentry_t *next;
} xkeyentry_t;
typedef struct xkeycode_t {
KeyCode keycode;
struct xkeycode_t *next;
} xkeycode_t;
static void XKeyEntryAdd(KeySym keysym, KeyCode keycode);
static KeyCode XKeyEntryGet(KeySym keysym);
static KeyCode XkbKeysymToKeycode(Display *dpy, KeySym keysym);