Mercurial > hg > index.fcgi > keynav-9pba
comparison config.h.default @ 1:0d5dc7c29c78
fix tabbing
author | paulo@thepaulopc |
---|---|
date | Thu, 17 Jun 2010 00:50:35 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b0257fe6b05d |
---|---|
1 /* | |
2 * | |
3 * This is the C header configuration file for changing some of | |
4 * the internal variables in 'keynav'. | |
5 * | |
6 */ | |
7 | |
8 /* window appearances */ | |
9 #define BORDER 5 /* pixels */ | |
10 #define PEN 3 /* pixels */ | |
11 #define LINEWIDTH 3 /* pixels */ | |
12 #define DRAG_COLOR "red" /* color when dragging*/ | |
13 #define NORM_COLOR "yellow" /* color, normal */ | |
14 | |
15 /* keys -- see 'xev' for keysym strings */ | |
16 #define TRIGGERMASK Mod4Mask /* X modifier key -- see 'xmodmap' */ | |
17 #define KEY_LEFT "h" /* single characters */ | |
18 #define KEY_DOWN "j" | |
19 #define KEY_UP "k" | |
20 #define KEY_RIGHT "l" | |
21 #define KEY_UPLEFT "a" | |
22 #define KEY_DOWNLEFT "s" | |
23 #define KEY_UPRIGHT "d" | |
24 #define KEY_DOWNRIGHT "f" | |
25 #define KEY_CENTER "g" /* shift this toggles nine grid manually */ | |
26 #define KEY_ONE "1" /* left mouse button (simple click) */ | |
27 #define KEY_TWO "2" /* middle mouse button (simple click) */ | |
28 #define KEY_THREE "3" /* right mouse button (simple click) */ | |
29 #define KEY_TRIGGER "semicolon" /* trigger key */ | |
30 #define KEY_Q_CLICK "semicolon" /* quick click (no warp) */ | |
31 #define KEY_Q_RCLICK "apostrophe" /* quick right click (no warp) */ | |
32 #define KEY_Q_MCLICK "backslash" /* quick middle click (no warp) */ | |
33 #define KEY_QW_CLICK "space" /* quick click (warp) */ | |
34 #define KEY_QW_RCLICK "Return" /* quick right click (warp) */ | |
35 #define KEY_ESCAPE "Escape" /* cancel */ | |
36 #define KEY_UNDO "u" /* undo */ | |
37 | |
38 /* more mod masks */ | |
39 #define CAPSLOCKMASK LockMask | |
40 #define NUMLOCKMASK Mod2Mask | |
41 #define SHIFTMASK ShiftMask /* shifting instead of splitting */ | |
42 #define DRAGMASK ShiftMask /* dragging */ | |
43 #define WARPMASK Mod4Mask /* warp during splitting/shifting */ | |
44 | |
45 /* undo options */ | |
46 #define N_UNDO 15 /* max number of undo history -- must be at least 1 */ | |
47 #define SHIFT_N_UNDO 2 /* number of undo history to jump back through when holding shift */ |