svkbd

Simple X11 onscreen keyboard.
git clone git://r-36.net/svkbd
Log | Files | Refs | README | LICENSE

layout.en.h (1405B)


      1 static Key keys[] = {
      2 	{ "1!", XK_1, 1 },
      3 	{ "2@", XK_2, 1 },
      4 	{ "3#", XK_3, 1 },
      5 	{ "4$", XK_4, 1 },
      6 	{ "5%", XK_5, 1 },
      7 	{ "6^", XK_6, 1 },
      8 	{ "7&", XK_7, 1 },
      9 	{ "8*", XK_8, 1 },
     10 	{ "9(", XK_9, 1 },
     11 	{ "0)", XK_0, 1 },
     12 	{ "-_", XK_minus, 1 },
     13 	{ "=+", XK_plus, 1 },
     14 	{ "<-", XK_BackSpace, 2 },
     15 	{ 0 }, /* New row */
     16 	{ "->|", XK_Tab, 1 },
     17 	{ 0, XK_q, 1 },
     18 	{ 0, XK_w, 1 },
     19 	{ 0, XK_e, 1 },
     20 	{ 0, XK_r, 1 },
     21 	{ 0, XK_t, 1 },
     22 	{ 0, XK_y, 1 },
     23 	{ 0, XK_u, 1 },
     24 	{ 0, XK_i, 1 },
     25 	{ 0, XK_o, 1 },
     26 	{ 0, XK_p, 1 },
     27 	{ "[", XK_bracketleft, 1 },
     28 	{ "]", XK_bracketright, 1 },
     29 	{ "Return", XK_Return, 3 },
     30 	{ 0 }, /* New row */
     31 	{ 0, XK_Caps_Lock, 2 },
     32 	{ 0, XK_a, 1 },
     33 	{ 0, XK_s, 1 },
     34 	{ 0, XK_d, 1 },
     35 	{ 0, XK_f, 1 },
     36 	{ 0, XK_g, 1 },
     37 	{ 0, XK_h, 1 },
     38 	{ 0, XK_j, 1 },
     39 	{ 0, XK_k, 1 },
     40 	{ 0, XK_l, 1 },
     41 	{ ":;", XK_semicolon, 1 },
     42 	{ "'\"", XK_exclam, 1 },
     43 	{ "\\|", XK_backslash, 1 },
     44 	{ 0 }, /* New row */
     45 	{ 0, XK_Shift_L, 3 },
     46 	{ 0, XK_z, 1 },
     47 	{ 0, XK_x, 1 },
     48 	{ 0, XK_c, 1 },
     49 	{ 0, XK_v, 1 },
     50 	{ 0, XK_b, 1 },
     51 	{ 0, XK_n, 1 },
     52 	{ 0, XK_m, 1 },
     53 	{ ",", XK_colon, 1 },
     54 	{ ".", XK_period, 1 },
     55 	{ "/?", XK_slash, 1 },
     56 	{ 0, XK_Shift_R, 2 },
     57 	{ 0 }, /* New row */
     58 	{ "Ctrl", XK_Control_L, 2 },
     59 	{ "Alt", XK_Alt_L, 2 },
     60 	{ "", XK_space, 5 },
     61 	{ "Alt", XK_Alt_R, 2 },
     62 	{ "Ctrl", XK_Control_R, 2 },
     63 	{ "[X]", XK_Cancel, 1},
     64 };
     65 
     66 Buttonmod buttonmods[] = {
     67 	{ XK_Shift_L, Button2 },
     68 	{ XK_Alt_L, Button3 },
     69 };
     70