annotate config.h @ 1:0d5dc7c29c78

fix tabbing
author paulo@thepaulopc
date Thu, 17 Jun 2010 00:50:35 -0700
parents
children
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 #define KEY_HIDE "q" /* hide mouse cursor away to the lower right corner of screen */
paulo@0 38
paulo@0 39 /* more mod masks */
paulo@0 40 #define CAPSLOCKMASK LockMask
paulo@0 41 #define NUMLOCKMASK Mod2Mask
paulo@0 42 #define SHIFTMASK ShiftMask /* shifting instead of splitting */
paulo@0 43 #define DRAGMASK ShiftMask /* dragging */
paulo@0 44 #define WARPMASK Mod4Mask /* warp during splitting/shifting */
paulo@0 45
paulo@0 46 /* undo options */
paulo@0 47 #define N_UNDO 15 /* max number of undo history -- must be at least 1 */
paulo@0 48 #define SHIFT_N_UNDO 2 /* number of undo history to jump back through when holding shift */