From 55eda7d06f952ff7453e6d02776c3d598faa72b7 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 15 Jan 2020 11:47:51 +0100 Subject: [PATCH] input: no need to dock when detecting keyboard Nowadays, we get the appropriate events from udev and autorandr handles that. --- bin/input-event | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/input-event b/bin/input-event index c24924d..a29480b 100755 --- a/bin/input-event +++ b/bin/input-event @@ -19,12 +19,6 @@ case "$event,$use,$(uname -n),$name" in XIDeviceDisabled,*) : ;; - *,XISlaveKeyboard,*,"Topre Corporation Realforce 87") - # Are we getting docked? - sleep 2 - dock - xkb default - ;; *,XISlaveKeyboard,zoro,"AT Translated Set 2 keyboard") xkb x1 ;;