@@ -35,7 +35,7 @@ const KeyboardFrame = styled.div`
3535const KeyboardInner = styled . div `
3636 display: flex;
3737 flex-direction: column;
38- gap: 4px ;
38+ gap: 2px ;
3939 padding: 12px;
4040 border-radius: 8px;
4141 background: ${ props => `${ props . theme . colors . primary } 15` } ;
@@ -104,7 +104,7 @@ const Keyboard75: React.FC<Keyboard75Props> = ({ onKeyPress, onReset, keyboardTy
104104 < KeyboardInner >
105105 { /* Function Row */ }
106106 < KeyRow >
107- < Key { ...createKeyProps ( 'ESC' , 'ESC ' , undefined , true ) } />
107+ < Key { ...createKeyProps ( 'ESC' , 'Escape ' , undefined , true ) } />
108108 < Key { ...createKeyProps ( 'F1' , 'F1' , undefined , true ) } />
109109 < Key { ...createKeyProps ( 'F2' , 'F2' , undefined , true ) } />
110110 < Key { ...createKeyProps ( 'F3' , 'F3' , undefined , true ) } />
@@ -124,87 +124,87 @@ const Keyboard75: React.FC<Keyboard75Props> = ({ onKeyPress, onReset, keyboardTy
124124
125125 { /* Number Row */ }
126126 < KeyRow >
127- < Key { ...createKeyProps ( '~' , '` ' , '`' , true ) } />
128- < Key { ...createKeyProps ( '1' , '1 ' , '!' ) } />
129- < Key { ...createKeyProps ( '2' , '2 ' , '@' ) } />
130- < Key { ...createKeyProps ( '3' , '3 ' , '#' ) } />
131- < Key { ...createKeyProps ( '4' , '4 ' , '$' ) } />
132- < Key { ...createKeyProps ( '5' , '5 ' , '%' ) } />
133- < Key { ...createKeyProps ( '6' , '6 ' , '^' ) } />
134- < Key { ...createKeyProps ( '7' , '7 ' , '&' ) } />
135- < Key { ...createKeyProps ( '8' , '8 ' , '*' ) } />
136- < Key { ...createKeyProps ( '9' , '9 ' , '(' ) } />
137- < Key { ...createKeyProps ( '0' , '0 ' , ')' ) } />
138- < Key { ...createKeyProps ( '-' , '- ' , '_' ) } />
139- < Key { ...createKeyProps ( '=' , '= ' , '+' ) } />
127+ < Key { ...createKeyProps ( '~' , 'Backquote ' , '`' , true ) } />
128+ < Key { ...createKeyProps ( '1' , 'Digit1 ' , '!' ) } />
129+ < Key { ...createKeyProps ( '2' , 'Digit2 ' , '@' ) } />
130+ < Key { ...createKeyProps ( '3' , 'Digit3 ' , '#' ) } />
131+ < Key { ...createKeyProps ( '4' , 'Digit4 ' , '$' ) } />
132+ < Key { ...createKeyProps ( '5' , 'Digit5 ' , '%' ) } />
133+ < Key { ...createKeyProps ( '6' , 'Digit6 ' , '^' ) } />
134+ < Key { ...createKeyProps ( '7' , 'Digit7 ' , '&' ) } />
135+ < Key { ...createKeyProps ( '8' , 'Digit8 ' , '*' ) } />
136+ < Key { ...createKeyProps ( '9' , 'Digit9 ' , '(' ) } />
137+ < Key { ...createKeyProps ( '0' , 'Digit0 ' , ')' ) } />
138+ < Key { ...createKeyProps ( '-' , 'Minus ' , '_' ) } />
139+ < Key { ...createKeyProps ( '=' , 'Equal ' , '+' ) } />
140140 < Key { ...createKeyProps ( 'Backspace' , 'Backspace' , undefined , true , '2.1u' ) } />
141141 < Key { ...createKeyProps ( 'Home' , 'Home' , undefined , true ) } />
142142 </ KeyRow >
143143
144144 { /* Top Alpha Row */ }
145145 < KeyRow >
146146 < Key { ...createKeyProps ( 'Tab' , 'Tab' , undefined , true , '1.55u' ) } />
147- < Key { ...createKeyProps ( 'Q' , 'Q ' ) } />
148- < Key { ...createKeyProps ( 'W' , 'W ' ) } />
149- < Key { ...createKeyProps ( 'E' , 'E ' ) } />
150- < Key { ...createKeyProps ( 'R' , 'R ' ) } />
151- < Key { ...createKeyProps ( 'T' , 'T ' ) } />
152- < Key { ...createKeyProps ( 'Y' , 'Y ' ) } />
153- < Key { ...createKeyProps ( 'U' , 'U ' ) } />
154- < Key { ...createKeyProps ( 'I' , 'I ' ) } />
155- < Key { ...createKeyProps ( 'O' , 'O ' ) } />
156- < Key { ...createKeyProps ( 'P' , 'P ' ) } />
157- < Key { ...createKeyProps ( '[' , '[ ' , '{' ) } />
158- < Key { ...createKeyProps ( ']' , '] ' , '}' ) } />
159- < Key { ...createKeyProps ( '\\' , '\\ ' , '|' , true , '1.55u' ) } />
147+ < Key { ...createKeyProps ( 'Q' , 'KeyQ ' ) } />
148+ < Key { ...createKeyProps ( 'W' , 'KeyW ' ) } />
149+ < Key { ...createKeyProps ( 'E' , 'KeyE ' ) } />
150+ < Key { ...createKeyProps ( 'R' , 'KeyR ' ) } />
151+ < Key { ...createKeyProps ( 'T' , 'KeyT ' ) } />
152+ < Key { ...createKeyProps ( 'Y' , 'KeyY ' ) } />
153+ < Key { ...createKeyProps ( 'U' , 'KeyU ' ) } />
154+ < Key { ...createKeyProps ( 'I' , 'KeyI ' ) } />
155+ < Key { ...createKeyProps ( 'O' , 'KeyO ' ) } />
156+ < Key { ...createKeyProps ( 'P' , 'KeyP ' ) } />
157+ < Key { ...createKeyProps ( '[' , 'BracketLeft ' , '{' ) } />
158+ < Key { ...createKeyProps ( ']' , 'BracketRight ' , '}' ) } />
159+ < Key { ...createKeyProps ( '\\' , 'Backslash ' , '|' , true , '1.55u' ) } />
160160 < Key { ...createKeyProps ( 'End' , 'End' , undefined , true ) } />
161161 </ KeyRow >
162162
163163 { /* Middle Alpha Row */ }
164164 < KeyRow >
165- < Key { ...createKeyProps ( 'Caps' , 'Caps Lock ' , undefined , true , '1.85u' ) } />
166- < Key { ...createKeyProps ( 'A' , 'A ' ) } />
167- < Key { ...createKeyProps ( 'S' , 'S ' ) } />
168- < Key { ...createKeyProps ( 'D' , 'D ' ) } />
169- < Key { ...createKeyProps ( 'F' , 'F ' ) } />
170- < Key { ...createKeyProps ( 'G' , 'G ' ) } />
171- < Key { ...createKeyProps ( 'H' , 'H ' ) } />
172- < Key { ...createKeyProps ( 'J' , 'J ' ) } />
173- < Key { ...createKeyProps ( 'K' , 'K ' ) } />
174- < Key { ...createKeyProps ( 'L' , 'L ' ) } />
175- < Key { ...createKeyProps ( ';' , '; ' , ':' ) } />
176- < Key { ...createKeyProps ( "'" , "'" , '"' ) } />
165+ < Key { ...createKeyProps ( 'Caps' , 'CapsLock ' , undefined , true , '1.85u' ) } />
166+ < Key { ...createKeyProps ( 'A' , 'KeyA ' ) } />
167+ < Key { ...createKeyProps ( 'S' , 'KeyS ' ) } />
168+ < Key { ...createKeyProps ( 'D' , 'KeyD ' ) } />
169+ < Key { ...createKeyProps ( 'F' , 'KeyF ' ) } />
170+ < Key { ...createKeyProps ( 'G' , 'KeyG ' ) } />
171+ < Key { ...createKeyProps ( 'H' , 'KeyH ' ) } />
172+ < Key { ...createKeyProps ( 'J' , 'KeyJ ' ) } />
173+ < Key { ...createKeyProps ( 'K' , 'KeyK ' ) } />
174+ < Key { ...createKeyProps ( 'L' , 'KeyL ' ) } />
175+ < Key { ...createKeyProps ( ';' , 'Semicolon ' , ':' ) } />
176+ < Key { ...createKeyProps ( "'" , 'Quote' , '"' ) } />
177177 < Key { ...createKeyProps ( 'Enter' , 'Enter' , undefined , true , '2.4u' ) } />
178178 < Key { ...createKeyProps ( 'Pg Up' , 'PageUp' , undefined , true ) } />
179179 </ KeyRow >
180180
181181 { /* Bottom Alpha Row */ }
182182 < KeyRow >
183- < Key { ...createKeyProps ( 'Shift' , 'L-Shift ' , undefined , true , '2.35u' ) } />
184- < Key { ...createKeyProps ( 'Z' , 'Z ' ) } />
185- < Key { ...createKeyProps ( 'X' , 'X ' ) } />
186- < Key { ...createKeyProps ( 'C' , 'C ' ) } />
187- < Key { ...createKeyProps ( 'V' , 'V ' ) } />
188- < Key { ...createKeyProps ( 'B' , 'B ' ) } />
189- < Key { ...createKeyProps ( 'N' , 'N ' ) } />
190- < Key { ...createKeyProps ( 'M' , 'M ' ) } />
191- < Key { ...createKeyProps ( ',' , ', ' , '<' ) } />
192- < Key { ...createKeyProps ( '.' , '. ' , '>' ) } />
193- < Key { ...createKeyProps ( '/' , '/ ' , '?' ) } />
194- < Key { ...createKeyProps ( 'Shift' , 'R-Shift ' , undefined , true , '1.85u' ) } />
183+ < Key { ...createKeyProps ( 'Shift' , 'ShiftLeft ' , undefined , true , '2.35u' ) } />
184+ < Key { ...createKeyProps ( 'Z' , 'KeyZ ' ) } />
185+ < Key { ...createKeyProps ( 'X' , 'KeyX ' ) } />
186+ < Key { ...createKeyProps ( 'C' , 'KeyC ' ) } />
187+ < Key { ...createKeyProps ( 'V' , 'KeyV ' ) } />
188+ < Key { ...createKeyProps ( 'B' , 'KeyB ' ) } />
189+ < Key { ...createKeyProps ( 'N' , 'KeyN ' ) } />
190+ < Key { ...createKeyProps ( 'M' , 'KeyM ' ) } />
191+ < Key { ...createKeyProps ( ',' , 'Comma ' , '<' ) } />
192+ < Key { ...createKeyProps ( '.' , 'Period ' , '>' ) } />
193+ < Key { ...createKeyProps ( '/' , 'Slash ' , '?' ) } />
194+ < Key { ...createKeyProps ( 'Shift' , 'ShiftRight ' , undefined , true , '1.85u' ) } />
195195 < Key { ...createKeyProps ( '↑' , 'ArrowUp' ) } />
196196 < Key { ...createKeyProps ( 'Pg Dn' , 'PageDown' , undefined , true ) } />
197197 </ KeyRow >
198198
199199 { /* Bottom Row */ }
200200 < KeyRow >
201- < Key { ...createKeyProps ( 'Ctrl' , 'L-Ctrl ' , undefined , true , '1.25u' ) } />
202- < Key { ...createKeyProps ( 'Win' , 'Win ' , undefined , true , '1.25u' ) } />
203- < Key { ...createKeyProps ( 'Alt' , 'L-Alt ' , undefined , true , '1.25u' ) } />
201+ < Key { ...createKeyProps ( 'Ctrl' , 'ControlLeft ' , undefined , true , '1.25u' ) } />
202+ < Key { ...createKeyProps ( 'Win' , 'MetaLeft ' , undefined , true , '1.25u' ) } />
203+ < Key { ...createKeyProps ( 'Alt' , 'AltLeft ' , undefined , true , '1.25u' ) } />
204204 < Key { ...createKeyProps ( '' , 'Space' , undefined , false , '6.45u' ) } />
205- < Key { ...createKeyProps ( 'Alt' , 'R-Alt ' , undefined , true , '1.2u' ) } />
206- < Key { ...createKeyProps ( 'Win' , 'R-Win ' , undefined , true , '1.2u' ) } />
207- < Key { ...createKeyProps ( 'Ctrl' , 'R-Ctrl ' , undefined , true , '1.2u' ) } />
205+ < Key { ...createKeyProps ( 'Alt' , 'AltRight ' , undefined , true , '1.2u' ) } />
206+ < Key { ...createKeyProps ( 'Win' , 'MetaRight ' , undefined , true , '1.2u' ) } />
207+ < Key { ...createKeyProps ( 'Ctrl' , 'ControlRight ' , undefined , true , '1.2u' ) } />
208208 < Key { ...createKeyProps ( '←' , 'ArrowLeft' ) } />
209209 < Key { ...createKeyProps ( '↓' , 'ArrowDown' ) } />
210210 < Key { ...createKeyProps ( '→' , 'ArrowRight' ) } />
0 commit comments