summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c212
1 files changed, 106 insertions, 106 deletions
diff --git a/misc.c b/misc.c
index d249a3c..f41c04c 100644
--- a/misc.c
+++ b/misc.c
@@ -288,112 +288,112 @@ typedef struct _KeyNameDesc
} KeyNameDesc;
static KeyNameDesc dfltKeys[] = {
- {XK_Escape, NoSymbol, "ESC\0"},
- {XK_quoteleft, XK_asciitilde, "TLDE"},
- {XK_1, XK_exclam, "AE01"},
- {XK_2, XK_at, "AE02"},
- {XK_3, XK_numbersign, "AE03"},
- {XK_4, XK_dollar, "AE04"},
- {XK_5, XK_percent, "AE05"},
- {XK_6, XK_asciicircum, "AE06"},
- {XK_7, XK_ampersand, "AE07"},
- {XK_8, XK_asterisk, "AE08"},
- {XK_9, XK_parenleft, "AE09"},
- {XK_0, XK_parenright, "AE10"},
- {XK_minus, XK_underscore, "AE11"},
- {XK_equal, XK_plus, "AE12"},
- {XK_BackSpace, NoSymbol, "BKSP"},
- {XK_Tab, NoSymbol, "TAB\0"},
- {XK_q, XK_Q, "AD01"},
- {XK_w, XK_W, "AD02"},
- {XK_e, XK_E, "AD03"},
- {XK_r, XK_R, "AD04"},
- {XK_t, XK_T, "AD05"},
- {XK_y, XK_Y, "AD06"},
- {XK_u, XK_U, "AD07"},
- {XK_i, XK_I, "AD08"},
- {XK_o, XK_O, "AD09"},
- {XK_p, XK_P, "AD10"},
- {XK_bracketleft, XK_braceleft, "AD11"},
- {XK_bracketright, XK_braceright, "AD12"},
- {XK_Return, NoSymbol, "RTRN"},
- {XK_Caps_Lock, NoSymbol, "CAPS"},
- {XK_a, XK_A, "AC01"},
- {XK_s, XK_S, "AC02"},
- {XK_d, XK_D, "AC03"},
- {XK_f, XK_F, "AC04"},
- {XK_g, XK_G, "AC05"},
- {XK_h, XK_H, "AC06"},
- {XK_j, XK_J, "AC07"},
- {XK_k, XK_K, "AC08"},
- {XK_l, XK_L, "AC09"},
- {XK_semicolon, XK_colon, "AC10"},
- {XK_quoteright, XK_quotedbl, "AC11"},
- {XK_Shift_L, NoSymbol, "LFSH"},
- {XK_z, XK_Z, "AB01"},
- {XK_x, XK_X, "AB02"},
- {XK_c, XK_C, "AB03"},
- {XK_v, XK_V, "AB04"},
- {XK_b, XK_B, "AB05"},
- {XK_n, XK_N, "AB06"},
- {XK_m, XK_M, "AB07"},
- {XK_comma, XK_less, "AB08"},
- {XK_period, XK_greater, "AB09"},
- {XK_slash, XK_question, "AB10"},
- {XK_backslash, XK_bar, "BKSL"},
- {XK_Control_L, NoSymbol, "LCTL"},
- {XK_space, NoSymbol, "SPCE"},
- {XK_Shift_R, NoSymbol, "RTSH"},
- {XK_Alt_L, NoSymbol, "LALT"},
- {XK_space, NoSymbol, "SPCE"},
- {XK_Control_R, NoSymbol, "RCTL"},
- {XK_Alt_R, NoSymbol, "RALT"},
- {XK_F1, NoSymbol, "FK01"},
- {XK_F2, NoSymbol, "FK02"},
- {XK_F3, NoSymbol, "FK03"},
- {XK_F4, NoSymbol, "FK04"},
- {XK_F5, NoSymbol, "FK05"},
- {XK_F6, NoSymbol, "FK06"},
- {XK_F7, NoSymbol, "FK07"},
- {XK_F8, NoSymbol, "FK08"},
- {XK_F9, NoSymbol, "FK09"},
- {XK_F10, NoSymbol, "FK10"},
- {XK_F11, NoSymbol, "FK11"},
- {XK_F12, NoSymbol, "FK12"},
- {XK_Print, NoSymbol, "PRSC"},
- {XK_Scroll_Lock, NoSymbol, "SCLK"},
- {XK_Pause, NoSymbol, "PAUS"},
- {XK_Insert, NoSymbol, "INS\0"},
- {XK_Home, NoSymbol, "HOME"},
- {XK_Prior, NoSymbol, "PGUP"},
- {XK_Delete, NoSymbol, "DELE"},
- {XK_End, NoSymbol, "END"},
- {XK_Next, NoSymbol, "PGDN"},
- {XK_Up, NoSymbol, "UP\0\0"},
- {XK_Left, NoSymbol, "LEFT"},
- {XK_Down, NoSymbol, "DOWN"},
- {XK_Right, NoSymbol, "RGHT"},
- {XK_Num_Lock, NoSymbol, "NMLK"},
- {XK_KP_Divide, NoSymbol, "KPDV"},
- {XK_KP_Multiply, NoSymbol, "KPMU"},
- {XK_KP_Subtract, NoSymbol, "KPSU"},
- {NoSymbol, XK_KP_7, "KP7\0"},
- {NoSymbol, XK_KP_8, "KP8\0"},
- {NoSymbol, XK_KP_9, "KP9\0"},
- {XK_KP_Add, NoSymbol, "KPAD"},
- {NoSymbol, XK_KP_4, "KP4\0"},
- {NoSymbol, XK_KP_5, "KP5\0"},
- {NoSymbol, XK_KP_6, "KP6\0"},
- {NoSymbol, XK_KP_1, "KP1\0"},
- {NoSymbol, XK_KP_2, "KP2\0"},
- {NoSymbol, XK_KP_3, "KP3\0"},
- {XK_KP_Enter, NoSymbol, "KPEN"},
- {NoSymbol, XK_KP_0, "KP0\0"},
- {XK_KP_Delete, NoSymbol, "KPDL"},
- {XK_less, XK_greater, "LSGT"},
- {XK_KP_Separator, NoSymbol, "KPCO"},
- {XK_Find, NoSymbol, "FIND"},
- {NoSymbol, NoSymbol, "\0\0\0\0"}
+ {XK_Escape, NoSymbol, "ESC\0", 0},
+ {XK_quoteleft, XK_asciitilde, "TLDE", 0},
+ {XK_1, XK_exclam, "AE01", 0},
+ {XK_2, XK_at, "AE02", 0},
+ {XK_3, XK_numbersign, "AE03", 0},
+ {XK_4, XK_dollar, "AE04", 0},
+ {XK_5, XK_percent, "AE05", 0},
+ {XK_6, XK_asciicircum, "AE06", 0},
+ {XK_7, XK_ampersand, "AE07", 0},
+ {XK_8, XK_asterisk, "AE08", 0},
+ {XK_9, XK_parenleft, "AE09", 0},
+ {XK_0, XK_parenright, "AE10", 0},
+ {XK_minus, XK_underscore, "AE11", 0},
+ {XK_equal, XK_plus, "AE12", 0},
+ {XK_BackSpace, NoSymbol, "BKSP", 0},
+ {XK_Tab, NoSymbol, "TAB\0", 0},
+ {XK_q, XK_Q, "AD01", 0},
+ {XK_w, XK_W, "AD02", 0},
+ {XK_e, XK_E, "AD03", 0},
+ {XK_r, XK_R, "AD04", 0},
+ {XK_t, XK_T, "AD05", 0},
+ {XK_y, XK_Y, "AD06", 0},
+ {XK_u, XK_U, "AD07", 0},
+ {XK_i, XK_I, "AD08", 0},
+ {XK_o, XK_O, "AD09", 0},
+ {XK_p, XK_P, "AD10", 0},
+ {XK_bracketleft, XK_braceleft, "AD11", 0},
+ {XK_bracketright, XK_braceright, "AD12", 0},
+ {XK_Return, NoSymbol, "RTRN", 0},
+ {XK_Caps_Lock, NoSymbol, "CAPS", 0},
+ {XK_a, XK_A, "AC01", 0},
+ {XK_s, XK_S, "AC02", 0},
+ {XK_d, XK_D, "AC03", 0},
+ {XK_f, XK_F, "AC04", 0},
+ {XK_g, XK_G, "AC05", 0},
+ {XK_h, XK_H, "AC06", 0},
+ {XK_j, XK_J, "AC07", 0},
+ {XK_k, XK_K, "AC08", 0},
+ {XK_l, XK_L, "AC09", 0},
+ {XK_semicolon, XK_colon, "AC10", 0},
+ {XK_quoteright, XK_quotedbl, "AC11", 0},
+ {XK_Shift_L, NoSymbol, "LFSH", 0},
+ {XK_z, XK_Z, "AB01", 0},
+ {XK_x, XK_X, "AB02", 0},
+ {XK_c, XK_C, "AB03", 0},
+ {XK_v, XK_V, "AB04", 0},
+ {XK_b, XK_B, "AB05", 0},
+ {XK_n, XK_N, "AB06", 0},
+ {XK_m, XK_M, "AB07", 0},
+ {XK_comma, XK_less, "AB08", 0},
+ {XK_period, XK_greater, "AB09", 0},
+ {XK_slash, XK_question, "AB10", 0},
+ {XK_backslash, XK_bar, "BKSL", 0},
+ {XK_Control_L, NoSymbol, "LCTL", 0},
+ {XK_space, NoSymbol, "SPCE", 0},
+ {XK_Shift_R, NoSymbol, "RTSH", 0},
+ {XK_Alt_L, NoSymbol, "LALT", 0},
+ {XK_space, NoSymbol, "SPCE", 0},
+ {XK_Control_R, NoSymbol, "RCTL", 0},
+ {XK_Alt_R, NoSymbol, "RALT", 0},
+ {XK_F1, NoSymbol, "FK01", 0},
+ {XK_F2, NoSymbol, "FK02", 0},
+ {XK_F3, NoSymbol, "FK03", 0},
+ {XK_F4, NoSymbol, "FK04", 0},
+ {XK_F5, NoSymbol, "FK05", 0},
+ {XK_F6, NoSymbol, "FK06", 0},
+ {XK_F7, NoSymbol, "FK07", 0},
+ {XK_F8, NoSymbol, "FK08", 0},
+ {XK_F9, NoSymbol, "FK09", 0},
+ {XK_F10, NoSymbol, "FK10", 0},
+ {XK_F11, NoSymbol, "FK11", 0},
+ {XK_F12, NoSymbol, "FK12", 0},
+ {XK_Print, NoSymbol, "PRSC", 0},
+ {XK_Scroll_Lock, NoSymbol, "SCLK", 0},
+ {XK_Pause, NoSymbol, "PAUS", 0},
+ {XK_Insert, NoSymbol, "INS\0", 0},
+ {XK_Home, NoSymbol, "HOME", 0},
+ {XK_Prior, NoSymbol, "PGUP", 0},
+ {XK_Delete, NoSymbol, "DELE", 0},
+ {XK_End, NoSymbol, "END", 0},
+ {XK_Next, NoSymbol, "PGDN", 0},
+ {XK_Up, NoSymbol, "UP\0\0", 0},
+ {XK_Left, NoSymbol, "LEFT", 0},
+ {XK_Down, NoSymbol, "DOWN", 0},
+ {XK_Right, NoSymbol, "RGHT", 0},
+ {XK_Num_Lock, NoSymbol, "NMLK", 0},
+ {XK_KP_Divide, NoSymbol, "KPDV", 0},
+ {XK_KP_Multiply, NoSymbol, "KPMU", 0},
+ {XK_KP_Subtract, NoSymbol, "KPSU", 0},
+ {NoSymbol, XK_KP_7, "KP7\0", 0},
+ {NoSymbol, XK_KP_8, "KP8\0", 0},
+ {NoSymbol, XK_KP_9, "KP9\0", 0},
+ {XK_KP_Add, NoSymbol, "KPAD", 0},
+ {NoSymbol, XK_KP_4, "KP4\0", 0},
+ {NoSymbol, XK_KP_5, "KP5\0", 0},
+ {NoSymbol, XK_KP_6, "KP6\0", 0},
+ {NoSymbol, XK_KP_1, "KP1\0", 0},
+ {NoSymbol, XK_KP_2, "KP2\0", 0},
+ {NoSymbol, XK_KP_3, "KP3\0", 0},
+ {XK_KP_Enter, NoSymbol, "KPEN", 0},
+ {NoSymbol, XK_KP_0, "KP0\0", 0},
+ {XK_KP_Delete, NoSymbol, "KPDL", 0},
+ {XK_less, XK_greater, "LSGT", 0},
+ {XK_KP_Separator, NoSymbol, "KPCO", 0},
+ {XK_Find, NoSymbol, "FIND", 0},
+ {NoSymbol, NoSymbol, "\0\0\0\0", 0}
};
Status