From 30ff2868883e0f191f224e506ccbbc3e098d5424 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 19 Jul 2020 17:14:30 +0200 Subject: [sway] disable natural_scroll and add input definition for my cherry keyboard --- config/sway/config | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/sway/config b/config/sway/config index 16b219e..2b83153 100644 --- a/config/sway/config +++ b/config/sway/config @@ -74,20 +74,26 @@ for_window [app_id='qutebrowser'] inhibit_idle fullscreen input "1739:10036:Synaptics_s3203" { dwt enabled tap enabled - natural_scroll enabled + natural_scroll disabled middle_emulation enabled } + +# Cherry ML 4100 +input "5050:24:Barcode_Reader" { + xkb_layout gb + xkb_options "grp:alt_shift_toggle, caps:escape" +} + input "5426:512:Razer_Reclusa_Keyboard" { xkb_layout de xkb_variant nodeadkeys - xkb_options grp:alt_shift_toggle - xkb_options caps:escape + xkb_options "grp:alt_shift_toggle, caps:escape" } + input "1:1:AT_Translated_Set_2_keyboard" { xkb_layout de xkb_variant nodeadkeys - xkb_options grp:alt_shift_toggle - xkb_options caps:escape + xkb_options "grp:alt_shift_toggle, caps:escape" } ### Key bindings -- cgit v1.2.3