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