FreeBASIC  0.91.0
fb_private_scancodes_x11.h
Go to the documentation of this file.
1 #ifndef DISABLE_X11
2 
3 #include <X11/Xlib.h>
4 #include <X11/keysym.h>
5 
6 typedef Display *(*XOPENDISPLAY)(char *);
7 typedef int (*XCLOSEDISPLAY)(Display *);
8 typedef void (*XQUERYKEYMAP)(Display *, unsigned char *);
9 typedef int (*XDISPLAYKEYCODES)(Display *, int *, int *);
10 typedef KeySym* (*XGETKEYBOARDMAPPING)(Display *, KeyCode, int, int *);
11 
12 extern unsigned char fb_x11keycode_to_scancode[256];
13 
15  (
16  Display *display,
17  XDISPLAYKEYCODES DisplayKeycodes,
18  XGETKEYBOARDMAPPING GetKeyboardMapping
19  );
20 
21 #endif