diff --git a/contrib/Settings-sample.toml b/contrib/Settings-sample.toml index b1ccdb63..7826e62d 100644 --- a/contrib/Settings-sample.toml +++ b/contrib/Settings-sample.toml @@ -1,5 +1,5 @@ # selected-library = 0 -# Possible values: "English", "Russian". +# Possible values: "English", "Russian", "Spanish". keyboard-layout = "English" frontlight = true wifi = false diff --git a/keyboard-layouts/spanish.json b/keyboard-layouts/spanish.json new file mode 100644 index 00000000..53b3e2f8 --- /dev/null +++ b/keyboard-layouts/spanish.json @@ -0,0 +1,32 @@ +{ + "name": "Spanish", + "outputs": [ + [["q", "w", "e", "r", "t", "y", "u", "i", "o", "p"], + ["a", "s", "d", "f", "g", "h", "j", "k", "l","ñ"], + ["z", "x", "c", "v", "b", "n", "m"]], + + [["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"], + ["A", "S", "D", "F", "G", "H", "J", "K", "L","Ñ"], + ["Z", "X", "C", "V", "B", "N", "M"]], + + [["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"], + ["\\", "=", ",", "'", "_","\"", ".", "*", "/"," "], + ["!", "-", "(", ":", ")", "+", "?"]], + + [["·", "“", "%", "^", "#", "$", "~", "×", "”", "°"], + ["‘", "@", "[", "`", "|", "…", "]", "&", "’"," "], + ["–", "<", "{", ";", "}", ">", "—"]] + ], + "keys": [ + ["▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢"], + ["DB", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "DF"], + ["Shift", "▢", "▢", "▢", "▢", "▢", "▢", "▢", "Return"], + ["MoveB", "Cmb", "Space", "Alt", "MoveF"] + ], + "widths": [ + [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + [2.06, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.06], + [1.53, 1.53, 4.18, 1.53, 1.53] + ] +}