File tree Expand file tree Collapse file tree 2 files changed +14
-24
lines changed Expand file tree Collapse file tree 2 files changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
14
14
0x00 , // ENQ
15
15
0x00 , // ACK
16
16
0x00 , // BEL
17
-
18
17
0x2a , // BS Backspace
19
18
0x2b , // TAB Tab
20
19
0x28 , // LF Enter
@@ -34,7 +33,7 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
34
33
0x00 , // CAN
35
34
0x00 , // EM
36
35
0x00 , // SUB
37
- 0x29 , // ESC
36
+ 0x00 , // ESC
38
37
0x00 , // FS
39
38
0x00 , // GS
40
39
0x00 , // RS
@@ -55,8 +54,7 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
55
54
0x36 , // ,
56
55
0x2D , // -
57
56
0x37 , // .
58
- 0x54 , // /
59
-
57
+ 0x14 |ALT_GR, // /
60
58
0x27 , // 0
61
59
0x1e , // 1
62
60
0x1f , // 2
@@ -68,13 +66,12 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
68
66
0x25 , // 8
69
67
0x26 , // 9
70
68
0x38 |SHIFT, // :
71
- 0x38 , // ;
72
- 0x36 |SHIFT, // <
69
+ 0x38 , // ;
70
+ 0x36 |SHIFT, // <
73
71
0x2e , // =
74
72
0x37 |SHIFT, // >
75
- 0x54 |SHIFT , // ? ?? ?
73
+ 0x1a |ALT_GR , // ?
76
74
0x1f |SHIFT, // @
77
-
78
75
0x04 |SHIFT, // A
79
76
0x05 |SHIFT, // B
80
77
0x06 |SHIFT, // C
@@ -101,14 +98,12 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
101
98
0x1b |SHIFT, // X
102
99
0x1c |SHIFT, // Y
103
100
0x1d |SHIFT, // Z
104
-
105
101
0x30 , // [
106
- 0x64 , // bslash
107
- 0x31 , // ]
108
- 0x34 |SHIFT, // ^ not supported (requires dead key + space)
102
+ 0x32 , // bslash
103
+ 0x31 , // ]
104
+ 0x00 , // ^ not supported (requires dead key + space)
109
105
0x2d |SHIFT, // _
110
- 0x2f |SHIFT, // ` not supported (requires dead key + space)
111
-
106
+ 0x00 , // ` not supported (requires dead key + space)
112
107
0x04 , // a
113
108
0x05 , // b
114
109
0x06 , // c
@@ -135,10 +130,9 @@ extern const uint8_t KeyboardLayout_pt_BR[128] PROGMEM =
135
130
0x1b , // x
136
131
0x1c , // y
137
132
0x1d , // z
138
-
139
- 0x30 |SHIFT, // {
140
- 0x64 |SHIFT, // |
141
- 0x31 |SHIFT, // }
142
- 0x34 , // ~ not supported (requires dead key + space)
133
+ 0x30 |SHIFT, // {
134
+ 0x32 |SHIFT, // |
135
+ 0x31 |SHIFT, // }
136
+ 0x00 , // ~ not supported (requires dead key + space)
143
137
0x00 // DEL
144
138
};
Original file line number Diff line number Diff line change 1
1
/*
2
- Keyboard_pt_PT.h
3
-
4
- Copyright (c) 2022, Edgar Bonet
2
+ Keyboard_pt_BR.h
5
3
6
4
This library is free software; you can redistribute it and/or
7
5
modify it under the terms of the GNU Lesser General Public
34
32
// Keyboard
35
33
36
34
// pt_BR keys
37
- #define KEY_MASCULINE_ORDINAL (136+0x31)
38
- #define KEY_SIX (136+0x23)
39
35
#define KEY_ACUTE (136+0x2f)
40
36
#define KEY_C_CEDILLA (136+0x33)
41
37
#define KEY_TILDE (136+0x34)
You can’t perform that action at this time.
0 commit comments