svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

layout.de.h (2105B)


      1 #define KEYS 66
      2 static Key keys_de[KEYS] = {
      3 	{ "^","°′", XK_dead_circumflex, 1},
      4 	{ "1", "!¹", XK_1, 1 },
      5 	{ "2","\"²", XK_2, 1 },
      6 	{ "3","§³", XK_3, 1 },
      7 	{ "4","$¼", XK_4, 1 },
      8 	{ "5","%½", XK_5, 1 },
      9 	{ "6","&¬", XK_6, 1 },
     10 	{ "7","/{", XK_7, 1 },
     11 	{ "8","([", XK_8, 1 },
     12 	{ "9",")]", XK_9, 1 },
     13 	{ "0","=}", XK_0, 1 },
     14 	{ "ß","?\\", XK_ssharp, 1 },
     15 	{ "´","`¸", XK_dead_acute, 1 },
     16 	{ "<-", 0, XK_BackSpace, 2 },
     17 	{ "Entf", 0, XK_Delete, 1},
     18 	{ 0 }, /* New row */
     19 	{ "->|", 0, XK_Tab, 1 },
     20 	{ "q","Q@", XK_q, 1 },
     21 	{ "w","Wł", XK_w, 1 },
     22 	{ "e","E€", XK_e, 1 },
     23 	{ "r","R¶", XK_r, 1 },
     24 	{ "t","Tŧ", XK_t, 1 },
     25 	{ "z","Z←", XK_z, 1 },
     26 	{ "u","U↓", XK_u, 1 },
     27 	{ "i","I→", XK_i, 1 },
     28 	{ "o","Oø", XK_o, 1 },
     29 	{ "p","Pþ", XK_p, 1 },
     30 	{ "ü","ܨ", 0xfc, 1 },
     31 	{ "+","*~", XK_plus, 1 },
     32 	{ "Enter", 0, XK_Return, 3 },
     33 	{ 0 }, /* New row */
     34 	{ 0, 0, XK_Caps_Lock, 2 },
     35 	{ "a","Aæ", XK_a, 1 },
     36 	{ "s","Sſ", XK_s, 1 },
     37 	{ "d","Dð", XK_d, 1 },
     38 	{ "f","Fđ", XK_f, 1 },
     39 	{ "g","Gŋ", XK_g, 1 },
     40 	{ "h","Hħ", XK_h, 1 },
     41 	{ "j","J̣̣", XK_j, 1 },
     42 	{ "k","Kĸ", XK_k, 1 },
     43 	{ "l","Lł", XK_l, 1 },
     44 	{ "ö","Ö˝", 0xf6, 1 },
     45 	{ "ä","Ä^", 0xe4, 1 },
     46 	{ "#","'’", XK_numbersign, 1 },
     47 	{ 0 }, /* New row */
     48 	{ 0, 0, XK_Shift_L, 2 },
     49 	{ "<",">|", XK_less, 1 },
     50 	{ "y","Y»", XK_y, 1 },
     51 	{ "x","X«", XK_x, 1 },
     52 	{ "c","C¢", XK_c, 1 },
     53 	{ "v","V„", XK_v, 1 },
     54 	{ "b","B“", XK_b, 1 },
     55 	{ "n","N”", XK_n, 1 },
     56 	{ "m","Mµ", XK_m, 1 },
     57 	{ ",",";·", XK_comma, 1 },
     58 	{ ".",":…", XK_period, 1 },
     59 	{ "-","_–", XK_minus, 1 },
     60 	{ 0, 0, XK_Shift_R, 2 },
     61 	{ 0 }, /* New row */
     62 	{ "Ctrl", 0, XK_Control_L, 2 },
     63 	{ "Win",  0, XK_Super_L, 2 },
     64 	{ "Alt", 0, XK_Alt_L, 2 },
     65 	{ "", 0, XK_space, 5 },
     66 	{ "Alt Gr", 0, XK_ISO_Level3_Shift, 2 },
     67 	{ "Menu", 0, XK_Menu, 2 },
     68 	{ "Ctrl", 0, XK_Control_R, 2 },
     69 };
     70 
     71 Buttonmod buttonmods[] = {
     72 	{ XK_Shift_L, Button2 },
     73 	{ XK_Alt_L, Button3 },
     74 };
     75 
     76 #define OVERLAYS 1
     77 static Key overlay[OVERLAYS] = {
     78 	{ 0, 0, XK_Cancel },
     79 };
     80 
     81 #define LAYERS 1
     82 static char* layer_names[LAYERS] = {
     83 	"de",
     84 };
     85 
     86 static Key* available_layers[LAYERS] = {
     87 	keys_de,
     88 };
     89