svkbd

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

layout.am.h (2481B)


      1 #define KEYS 63
      2 static Key keys_am[] = {
      3 	{ "՝","՜", XK_Armenian_exclam, 1 },
      4 	{ "ֆ","Ֆ", XK_Armenian_fe, 1 },
      5 	{ "ձ","Ձ", XK_Armenian_dza, 1 },
      6 	{ "֊","—", XK_Armenian_hyphen, 1 },
      7 	{ ",","՟", XK_comma, 1 },
      8 	{ "։","…", XK_Armenian_full_stop, 1 },
      9 	{ "՞","%", XK_Armenian_question, 1 },
     10 	{ "․","և", XK_Armenian_ligature_ew, 1 },
     11 	{ "՛","՚", XK_Armenian_accent, 1 },
     12 	{ ")","(", XK_parenright, 1 },
     13 	{ "օ","Օ", XK_Armenian_o, 1 },
     14 	{ "է","Է", XK_Armenian_e, 1 },
     15 	{ "ղ","Ղ", XK_Armenian_ghat, 1 },
     16 	{ "<-", 0, XK_BackSpace, 2 },
     17 	{ "Del", 0, XK_Delete, 1},
     18 	{ 0 }, /* New row */
     19 	{ "->|", 0, XK_Tab, 1 },
     20 	{ "ճ", "Ճ", XK_Armenian_tche, 1 },
     21 	{ "փ", "Փ", XK_Armenian_pyur, 1 },
     22 	{ "բ", "Բ", XK_Armenian_ben, 1 },
     23 	{ "ս", "Ս", XK_Armenian_se, 1 },
     24 	{ "մ", "Մ", XK_Armenian_men, 1 },
     25 	{ "ո", "Ո", XK_Armenian_vo, 1 },
     26 	{ "ւ", "Ւ", XK_Armenian_vyun, 1 },
     27 	{ "կ","Կ", XK_Armenian_ken, 1 },
     28 	{ "ը", "Ը", XK_Armenian_at, 1 },
     29 	{ "թ", "Թ", XK_Armenian_to, 1 },
     30 	{ "ծ", "Ծ", XK_Armenian_tsa, 1 },
     31 	{ "ց", "Ց", XK_Armenian_tso, 1 },
     32 	{ "Return", 0, XK_Return, 3 },
     33 	{ 0 }, /* New row */
     34 	{ 0, 0, XK_Caps_Lock, 2 },
     35 	{ "ջ", "Ջ", XK_Armenian_je, 1 },
     36 	{ "վ", "Վ", XK_Armenian_vev, 1 },
     37 	{ "գ", "Գ", XK_Armenian_gim, 1 },
     38 	{ "ե", "Ե", XK_Armenian_yech, 1 },
     39 	{ "ա", "Ա", XK_Armenian_ayb, 1 },
     40 	{ "ն", "Ն", XK_Armenian_nu, 1 },
     41 	{ "ի", "Ի", XK_Armenian_ini, 1 },
     42 	{ "տ", "Տ", XK_Armenian_tyun, 1 },
     43 	{ "հ", "Հ", XK_Armenian_ho, 1 },
     44 	{ "պ", "Պ", XK_Armenian_pe, 1 },
     45 	{ "ր", "Ր", XK_Armenian_re, 1 },
     46 	{ "\\","/", XK_backslash, 1 },
     47 	{ 0 }, /* New row */
     48 	{ 0, 0, XK_Shift_L, 3 },
     49 	{ "ժ", "Ժ", XK_Armenian_zhe, 1 },
     50 	{ "դ", "Դ", XK_Armenian_da, 1 },
     51 	{ "չ", "Չ", XK_Armenian_cha, 1 },
     52 	{ "յ", "Յ", XK_Armenian_hi, 1 },
     53 	{ "զ", "Զ", XK_Armenian_za, 1 },
     54 	{ "լ", "Լ", XK_Armenian_lyun, 1 },
     55 	{ "ք", "Ք", XK_Armenian_ke, 1 },
     56 	{ "խ", "Խ", XK_Armenian_khe, 1 },
     57 	{ "շ", "Շ", XK_Armenian_sha, 1 },
     58 	{ "ռ", "Ռ", XK_Armenian_ra, 1 },
     59 	{ 0, 0, XK_Shift_R, 2 },
     60 	{ 0 }, /* New row */
     61 	{ "Ctrl", 0, XK_Control_L, 2 },
     62 	{ "Alt",  0,XK_Alt_L, 2 },
     63 	{ "",  0,XK_space, 5 },
     64 	{ "Alt",  0,XK_Alt_R, 2 },
     65 	{ "Ctrl",  0,XK_Control_R, 2 },
     66 };
     67 
     68 Buttonmod buttonmods[] = {
     69 	{ XK_Shift_L, Button2 },
     70 	{ XK_Alt_L, Button3 },
     71 };
     72 
     73 #define OVERLAYS 1
     74 static Key overlay[OVERLAYS] = {
     75 	{ 0, 0, XK_Cancel },
     76 };
     77 
     78 #define LAYERS 1
     79 static char* layer_names[LAYERS] = {
     80 	"am",
     81 };
     82 
     83 static Key* available_layers[LAYERS] = {
     84 	keys_am,
     85 };