default partial alphanumeric_keys modifier_keys xkb_symbols "common" { key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ Shift_L ] }; modifier_map Shift { Shift_L }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ Control_L ] }; // Now defined as KEY_LEFTCTRL modifier_map Control { Control_L }; // Currently defined as KEY_FN include "level3(ralt_switch)" key.type = "THREE_LEVEL"; // 1. row key { [ q, Q, 1 ] }; key { [ w, W, 2 ] }; key { [ e, E, 3 ] }; key { [ r, R, 4 ] }; key { [ t, T, 5 ] }; key { [ y, Y, 6 ] }; key { [ u, U, 7 ] }; key { [ i, I, 8 ] }; key { [ o, O, 9 ] }; key { [ p, P, 0 ] }; key { [ BackSpace, Delete, BackSpace ] }; // 2. row key { [ a, A, exclam ] }; key { [ s, S, at ] }; key { [ d, D, numbersign ] }; key { [ f, F, dollar ] }; key { [ g, G, percent ] }; key { [ h, H, ampersand ] }; key { [ j, J, asterisk ] }; key { [ k, K, parenleft ] }; key { [ l, L, parenright ] }; key { [ l, L, parenright ] }; key { [ Up, Up, Prior ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ KP_Enter ] }; // 3. row // Shift is defined as modifier above key { [ z, Z, plus ] }; key { [ x, X, minus ] }; key { [ c, C, underscore ] }; key { [ v, V, semicolon ] }; key { [ b, B, colon ] }; key { [ n, N, apostrophe ] }; key { [ m, M, quotedbl ] }; key { [ Left, Left, Home ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ Return ] }; // KEY_OK in kernel for now, unable to catch this here key { [ Right, Right, End ] }; // 4. row // Alt is defined as modifier above // Ctrl is defined as modifier above key { [ Tab, Tab, XF86ApplicationRight ] }; // Now defined as KEY_TAB key { [ comma, less, equal ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ space ] }; key { [ period, greater, backslash ] }; key { [ question, bar, slash ] }; key { [ Down, Down, Next ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86WWW ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ space ] }; // 4 keys that are placed on sides of the keyboard and at the bottom of the screen key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86MenuKB ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86HomePage ] }; // Now defined as KEY_HOME, needs to be KEY_HOMEPAGE key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86Search ] }; key { [ XF86Back, XF86Back, Escape ] }; // Other 3 buttons on the sides of the phone key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86AudioLowerVolume ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86AudioRaiseVolume ] }; key { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ XF86PowerOff ] }; };