@@ -129,7 +129,7 @@ impl KeyboardLayout for Azerty {
129
129
KeyCode :: Tab => DecodedKey :: Unicode ( 0x09 . into ( ) ) ,
130
130
KeyCode :: Q => {
131
131
if map_to_unicode && modifiers. is_ctrl ( ) {
132
- DecodedKey :: Unicode ( '\u{0011 }' )
132
+ DecodedKey :: Unicode ( '\u{0001 }' )
133
133
} else if modifiers. is_caps ( ) {
134
134
DecodedKey :: Unicode ( 'A' )
135
135
} else {
@@ -138,7 +138,7 @@ impl KeyboardLayout for Azerty {
138
138
}
139
139
KeyCode :: W => {
140
140
if map_to_unicode && modifiers. is_ctrl ( ) {
141
- DecodedKey :: Unicode ( '\u{0017 }' )
141
+ DecodedKey :: Unicode ( '\u{001A }' )
142
142
} else if modifiers. is_caps ( ) {
143
143
DecodedKey :: Unicode ( 'Z' )
144
144
} else {
@@ -244,7 +244,7 @@ impl KeyboardLayout for Azerty {
244
244
}
245
245
KeyCode :: A => {
246
246
if map_to_unicode && modifiers. is_ctrl ( ) {
247
- DecodedKey :: Unicode ( '\u{0001 }' )
247
+ DecodedKey :: Unicode ( '\u{0011 }' )
248
248
} else if modifiers. is_caps ( ) {
249
249
DecodedKey :: Unicode ( 'Q' )
250
250
} else {
@@ -324,7 +324,9 @@ impl KeyboardLayout for Azerty {
324
324
}
325
325
}
326
326
KeyCode :: SemiColon => {
327
- if modifiers. is_shifted ( ) {
327
+ if map_to_unicode && modifiers. is_ctrl ( ) {
328
+ DecodedKey :: Unicode ( '\u{000D}' )
329
+ } else if modifiers. is_caps ( ) {
328
330
DecodedKey :: Unicode ( 'M' )
329
331
} else {
330
332
DecodedKey :: Unicode ( 'm' )
@@ -341,7 +343,7 @@ impl KeyboardLayout for Azerty {
341
343
KeyCode :: Enter => DecodedKey :: Unicode ( 10 . into ( ) ) ,
342
344
KeyCode :: Z => {
343
345
if map_to_unicode && modifiers. is_ctrl ( ) {
344
- DecodedKey :: Unicode ( '\u{001A }' )
346
+ DecodedKey :: Unicode ( '\u{0017 }' )
345
347
} else if modifiers. is_caps ( ) {
346
348
DecodedKey :: Unicode ( 'W' )
347
349
} else {
@@ -394,9 +396,7 @@ impl KeyboardLayout for Azerty {
394
396
}
395
397
}
396
398
KeyCode :: M => {
397
- if map_to_unicode && modifiers. is_ctrl ( ) {
398
- DecodedKey :: Unicode ( '\u{000D}' )
399
- } else if modifiers. is_caps ( ) {
399
+ if modifiers. is_caps ( ) {
400
400
DecodedKey :: Unicode ( '?' )
401
401
} else {
402
402
DecodedKey :: Unicode ( ',' )
0 commit comments