Updated Keyboard mappings (markdown)
parent
a32b4f0ee6
commit
997944960a
|
@ -16,7 +16,7 @@ glutin event: WindowEvent { window_id: WindowId(Id(140237741461568)), event: Rec
|
||||||
|
|
||||||
We're interested in:
|
We're interested in:
|
||||||
|
|
||||||
- The value in between the brackets of `Some`, which is the one to use in the key property of the mapping
|
- The value between the brackets of `Some`, which is the one to use in the key property of the mapping
|
||||||
- The boolean properties in `ModifiersState`, which indicate which modifiers to add in the mods property of the mapping (these can be concatenated using the `|` character)
|
- The boolean properties in `ModifiersState`, which indicate which modifiers to add in the mods property of the mapping (these can be concatenated using the `|` character)
|
||||||
|
|
||||||
The value for the `chars` property of each entry in `key_bindings:` can be any text string and supports hexadecimal escapes:
|
The value for the `chars` property of each entry in `key_bindings:` can be any text string and supports hexadecimal escapes:
|
||||||
|
@ -112,7 +112,7 @@ The scancode is also printed in the output of `--print-events` and can be used d
|
||||||
- { key: L, mods: Alt, chars: "\x40" }
|
- { key: L, mods: Alt, chars: "\x40" }
|
||||||
```
|
```
|
||||||
|
|
||||||
When using an German `MacBookPro (15", 2019) with Touchbar`, these might fail, but here's a working solution:
|
When using an german `MacBookPro (15", 2019) with Touchbar`, these might fail, but here's a working solution:
|
||||||
|
|
||||||
```
|
```
|
||||||
- { key: 28, mods: Alt, chars: "{" }
|
- { key: 28, mods: Alt, chars: "{" }
|
||||||
|
|
Loading…
Reference in New Issue