Skip to content

Instantly share code, notes, and snippets.

@benoit-pierre
Created April 3, 2018 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benoit-pierre/d816067551b5c636cef017f606975814 to your computer and use it in GitHub Desktop.
Save benoit-pierre/d816067551b5c636cef017f606975814 to your computer and use it in GitHub Desktop.
plover_portuguese.py | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git i/plover_portuguese.py w/plover_portuguese.py
index d7787a5..3daf258 100755
--- i/plover_portuguese.py
+++ w/plover_portuguese.py
@@ -66,23 +66,23 @@ KEYMAPS = {
'Keyboard': {
'#' : ('1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '='),
'S-' : ('a', 'q'),
- 'T-' : 'w',
- 'K-' : 's',
- 'P-' : 'e',
- 'W-' : 'd',
- 'H-' : 'r',
+ 'K-' : 'w',
+ 'T-' : 's',
+ 'F-' : 'e',
+ 'P-' : 'd',
+ 'L-' : 'r',
'R-' : 'f',
'A-' : 'c',
'O-' : 'v',
'*' : ('t', 'g', 'y', 'h'),
'-E' : 'n',
'-U' : 'm',
- '-F' : 'u',
- '-R' : 'j',
- '-P' : 'i',
- '-B' : 'k',
- '-L' : 'o',
- '-G' : 'l',
+ '-R' : 'u',
+ '-W' : 'j',
+ '-B' : 'i',
+ '-P' : 'k',
+ '-G' : 'o',
+ '-H' : 'l',
'-T' : 'p',
'-S' : ';',
'-D' : '[',
@@ -94,23 +94,23 @@ KEYMAPS = {
'Passport': {
'#' : '#',
'S-' : ('S', 'C'),
- 'T-' : 'T',
- 'K-' : 'K',
- 'P-' : 'P',
- 'W-' : 'W',
- 'H-' : 'H',
+ 'K-' : 'T',
+ 'T-' : 'K',
+ 'F-' : 'P',
+ 'P-' : 'W',
+ 'L-' : 'H',
'R-' : 'R',
'A-' : 'A',
'O-' : 'O',
'*' : ('~', '*'),
'-E' : 'E',
'-U' : 'U',
- '-F' : 'F',
- '-R' : 'Q',
- '-P' : 'N',
- '-B' : 'B',
- '-L' : 'L',
- '-G' : 'G',
+ '-R' : 'F',
+ '-W' : 'Q',
+ '-B' : 'N',
+ '-P' : 'B',
+ '-G' : 'L',
+ '-H' : 'G',
'-T' : 'Y',
'-S' : 'X',
'-D' : 'D',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment