手機 - Motorola XT897 - Sailfish OS - 自定義鍵盤按鍵



/usr/share/X11/xkb/symbols/us

xkb_symbols "basic" {
    name[Group1]= "English (US)";

    key <TLDE> {  [apostrophe,   quotedbl,        grave,        U007E ] };
    key <AE01> {  [   1,  exclam,        U007C,   exclamdown ], [  F1 ] };
    key <AE02> {  [   2,  at ],          [  F2 ] };
    key <AE03> {  [   3,  numbersign ],  [  F3 ] };
    key <AE04> {  [   4,  dollar ],      [  F4 ] };
    key <AE05> {  [   5,  percent ],     [  F5 ] };
    key <AE06> {  [   6,  asciicircum ], [  F6 ] };
    key <AE07> {  [   7,  ampersand ],   [  F7 ] };
    key <AE08> {  [   8,  asterisk ],    [  F8 ] };
    key <AE09> {  [   9,  parenleft, braceleft, U005B ],   [  F9 ] };
    key <AE10> {  [   0,  parenright, braceright, U005D ], [  F10 ] };
    key <AE11> {  [   minus,  underscore, asciitilde ] };
    key <AE12> {  [   equal,  plus ] };

    key <AD01> {  [   q,  Q   ] };
    key <AD02> {  [   w,  W   ] };
    key <AD03> {  [   e,  E   ] };
    key <AD04> {  [   r,  R   ] };
    key <AD05> {  [   t,  T   ] };
    key <AD06> {  [   y,  Y   ] };
    key <AD07> {  [   u,  U   ] };
    key <AD08> {  [   i,  I   ] };
    key <AD09> {  [   o,  O, bracketleft  ], [  F11 ] };
    key <AD10> {  [   p,  P, bracketright ], [  F12 ] };

    key <AC01> {  [   a,  A   ], [ Prior ] };
    key <AC02> {  [   s,  S   ] };
    key <AC03> {  [   d,  D   ] };
    key <AC04> {  [   f,  F   ] };
    key <AC05> {  [   g,  G   ] };
    key <AC06> {  [   h,  H   ] };
    key <AC07> {  [   j,  J   ] };
    key <AC08> {  [   k,  K   ] };
    key <AC09> {  [   l,  L   ] };
    key <AC10> {  [   semicolon,  colon     ] };
    key <AC11> {  [   apostrophe, quotedbl  ] };
    key <AB01> {  [   z,  Z     ], [ Next ] };
    key <AB02> {  [   x,  X   ] };
    key <AB03> {  [   c,  C   ] };
    key <AB04> {  [   v,  V   ] };
    key <AB05> {  [   b,  B   ] };
    key <AB06> {  [   n,  N   ] };
    key <AB07> {  [   m,  M   ] };
    key <AB08> {  [   comma, semicolon, less, multiply ] };
    key <AB09> {  [   period, colon, greater, division ] };
    key <AB10> {  [   slash, question, backslash, U007C ] };

    key <BKSL> {  [ backslash, bar  ] };

    key <RALT> {
        [ Mode_switch, Mode_switch ]
    };

    key <LFSH> {
        type[Group1]="ONE_LEVEL",
        symbols[Group1]=[ ISO_Level2_Latch]
    };
    modifier_map Shift { Shift_L, ISO_Level2_Latch};

    key <LALT> {
        type[Group1]="ONE_LEVEL",
        symbols[Group1]=[ ISO_Level3_Latch]
    };
};