add keyboard-keymap
This commit is contained in:
parent
279f407b9c
commit
44399fa48c
1 changed files with 28 additions and 0 deletions
|
@ -19,10 +19,38 @@ let
|
|||
path = "${plover-src}/plover/assets/main.json";
|
||||
}
|
||||
];
|
||||
keyboard-keymap = [
|
||||
[ "#" [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "-" "=" "b" ] ]
|
||||
[ "S-" [ "q" "a" ] ]
|
||||
[ "T-" [ "w" ] ]
|
||||
[ "K-" [ "s" ] ]
|
||||
[ "P-" [ "e" ] ]
|
||||
[ "W-" [ "d" ] ]
|
||||
[ "H-" [ "r" ] ]
|
||||
[ "R-" [ "f" ] ]
|
||||
[ "A-" [ "c" ] ]
|
||||
[ "O-" [ "v" ] ]
|
||||
[ "*" [ "t" "y" "g" "h" ] ]
|
||||
[ "-E" [ "n" ] ]
|
||||
[ "-U" [ "m" ] ]
|
||||
[ "-F" [ "u" ] ]
|
||||
[ "-R" [ "j" ] ]
|
||||
[ "-P" [ "i" ] ]
|
||||
[ "-B" [ "k" ] ]
|
||||
[ "-L" [ "o" ] ]
|
||||
[ "-G" [ "l" ] ]
|
||||
[ "-T" [ "p" ] ]
|
||||
[ "-S" [ ";" ] ]
|
||||
[ "-D" [ "[" ] ]
|
||||
[ "-Z" [ "'" ] ]
|
||||
[ "arpeggiate" [ "space" ] ]
|
||||
[ "no-op" [ "\\" "]" "z" "x" "" "." "/" ] ]
|
||||
];
|
||||
plover-cfg = pkgs.writeText "plover.cfg" (lib.generators.toINI { } {
|
||||
"Machine Configuration".machine_type = "Keyboard";
|
||||
"System: English Stenotype" = {
|
||||
dictionaries = builtins.toJSON plover-dictionaries;
|
||||
"keymap[keyboard]" = builtins.toJSON keyboard-keymap;
|
||||
};
|
||||
});
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue