From 07f563c533594ab49947b7a513153133b73f9c9e Mon Sep 17 00:00:00 2001 From: apiraino Date: Sat, 28 Nov 2020 00:20:32 +0100 Subject: [PATCH] Add note about having multiple keyboard configured --- Home.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Home.md b/Home.md index e6b7d9c..4c9205e 100644 --- a/Home.md +++ b/Home.md @@ -132,6 +132,20 @@ input { } ``` +Nothing prevents having multiple configurations for different specific devices: + +``` +# default layout +input "1:1:AT_Translated_Set_2_keyboard" { + xkb_layout us +} + +# custom layout for an external keyboard +input "1452:591:Custom_Keyboard" { + xkb_layout YourCustomLayout +} +``` + See `man 5 sway-input` for a summary of the available options. #### Keyboard layout