From 997944960a558696d51f6c95861247d32c753bb0 Mon Sep 17 00:00:00 2001 From: Nils Martel Date: Wed, 14 Aug 2019 08:49:25 +0200 Subject: [PATCH] Updated Keyboard mappings (markdown) --- Keyboard-mappings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Keyboard-mappings.md b/Keyboard-mappings.md index fdc69ce..97093bd 100644 --- a/Keyboard-mappings.md +++ b/Keyboard-mappings.md @@ -16,7 +16,7 @@ glutin event: WindowEvent { window_id: WindowId(Id(140237741461568)), event: Rec 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 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" } ``` -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: "{" }