Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made keyboard.lua use a configuration file
Thus removing the need to edit it directly as an user
- Loading branch information
Neil Zeke Cecchini
authored and
Neil Zeke Cecchini
committed
Apr 2, 2016
1 parent
eae356c
commit c687efc
Showing
2 changed files
with
57 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
keyWidth, keyHeight = 25, 25 | ||
|
||
layout = { | ||
["default"] = { | ||
{ "&", "é", "\"", "'", "(", "-", "è", "_", "ç", "à", ")", "=", "Bks" }, | ||
{ "a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "^", "$", "Ent" }, | ||
{ "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "ù", "*", "Ent" }, | ||
{ "Shift", "<", "w", "x", "c", "v", "b", "n", ",", ";", ":", "!", "Tab" }, | ||
{ "SLck", ">", "+", "/", " ", " ", " ", " ", " ", "{", "}", ".", "Sym" } | ||
}, | ||
["Shift"] = { | ||
{ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "°", "+", "Bks" }, | ||
{ "A", "Z", "E", "R", "T", "Y", "U", "I", "O", "P", "¨", "£", "Ent" }, | ||
{ "Q", "S", "D", "F", "G", "H", "J", "K", "L", "M", "%", "µ", "Ent" }, | ||
{ "Shift", ">", "W", "X", "C", "V", "B", "N", "?", ".", "/", "§", "Tab" }, | ||
{ "SLck", "~", "#", "[", " ", " ", " ", " ", " ", "]", "|", "@", "Sym" } | ||
}, | ||
["Sym"] = { | ||
{ "²", "~", "#", "{", "[", "|", "`", "\\", "^", "@", "]", "}", "Bks" }, | ||
{ "a", "z", "€", "r", "t", "y", "u", "i", "o", "p", "", "¤", "Ent" }, | ||
{ "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "", "", "Ent" }, | ||
{ "Shift", "", "w", "x", "c", "v", "b", "n", "", "", "", "", "Tab" }, | ||
{ "SLck", "", "", "", " ", " ", " ", " ", " ", "", "", "", "Sym" } | ||
}, | ||
} | ||
alias = { | ||
["Tab"] = "\t", | ||
["Ent"] = "\n", | ||
["Bks"] = "\b" | ||
} | ||
sticky = { | ||
["SLck"] = "Shift" | ||
} | ||
keys = { | ||
["l"] = "Shift", | ||
["r"] = "Shift" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters