Mercurial > hg > index.fcgi > keynav-9pba
comparison config.h.keypad @ 0:ab8a496afb67
initial hg commit of my version of keynav
author | paulo@thepaulopc |
---|---|
date | Tue, 08 Sep 2009 22:45:57 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:674eea1b6ac4 |
---|---|
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 "KP_Left" | |
18 #define KEY_DOWN "KP_Down" | |
19 #define KEY_UP "KP_Up" | |
20 #define KEY_RIGHT "KP_Right" | |
21 #define KEY_UPLEFT "KP_Home" | |
22 #define KEY_DOWNLEFT "KP_End" | |
23 #define KEY_UPRIGHT "KP_Prior" | |
24 #define KEY_DOWNRIGHT "KP_Next" | |
25 #define KEY_CENTER "KP_Begin" /* 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 "KP_Begin" /* trigger key */ | |
30 #define KEY_Q_CLICK "KP_Divide" /* quick click (no warp) */ | |
31 #define KEY_Q_RCLICK "KP_Multiply" /* quick right click (no warp) */ | |
32 #define KEY_Q_MCLICK "KP_Subtract" /* quick middle click (no warp) */ | |
33 #define KEY_QW_CLICK "KP_Enter" /* quick click (warp) */ | |
34 #define KEY_QW_RCLICK "KP_Add" /* quick right click (warp) */ | |
35 #define KEY_ESCAPE "Escape" /* cancel */ | |
36 #define KEY_UNDO "KP_Insert" /* 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 */ |