forked from jordansissel/xdotool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxdo_util.h
62 lines (57 loc) · 1.24 KB
/
xdo_util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* xdo utility pieces
*
* $Id$
*/
#ifndef _XDO_UTIL_H_
#define _XDO_UTIL_H_
#include "xdo.h"
/* human to Keysym string mapping */
static const char *symbol_map[] = {
"alt", "Alt_L",
"ctrl", "Control_L",
"control", "Control_L",
"meta", "Meta_L",
"super", "Super_L",
"shift", "Shift_L",
NULL, NULL,
};
static const keysym_charmap_t keysym_charmap[] = {
{ "Return", '\n', },
{ "ampersand", '&', },
{ "apostrophe", '\'', },
{ "asciicircum", '^', },
{ "asciitilde", '~', },
{ "asterisk", '*', },
{ "at", '@', },
{ "backslash", '\\', },
{ "bar", '|', },
{ "braceleft", '{', },
{ "braceright", '}', },
{ "bracketleft", '[', },
{ "bracketright", ']', },
{ "colon", ':', },
{ "comma", ',', },
{ "dollar", '$', },
{ "equal", '=', },
{ "exclam", '!', },
{ "grave", '`', },
{ "greater", '>', },
{ "less", '<', },
{ "minus", '-', },
{ "numbersign", '#', },
{ "parenleft", '(', },
{ "parenright", ')', },
{ "percent", '%', },
{ "period", '.', },
{ "plus", '+', },
{ "question", '?', },
{ "quotedbl", '"', },
{ "semicolon", ';', },
{ "slash", '/', },
{ "space", ' ', },
{ "tab", '\t', },
{ "underscore", '_', },
{ "Escape", '\x1b', },
{ NULL, 0, },
};
#endif /* ifndef _XDO_UTIL_H_ */