From bcad2fb71b4fcff1ba8c0fcace166259ad32f832 Mon Sep 17 00:00:00 2001 From: Bruno Pagani Date: Mon, 28 Dec 2015 15:48:58 +0100 Subject: [PATCH] conf: Change the way we ignore input devices --- conf/xorg.conf.d/10-dummy.conf | 0 conf/xorg.conf.d/10-ignore-devices.conf | 5 +++++ conf/xorg.conf.nouveau | 1 - conf/xorg.conf.nvidia | 1 - 4 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 conf/xorg.conf.d/10-dummy.conf create mode 100644 conf/xorg.conf.d/10-ignore-devices.conf diff --git a/conf/xorg.conf.d/10-dummy.conf b/conf/xorg.conf.d/10-dummy.conf deleted file mode 100644 index e69de29..0000000 diff --git a/conf/xorg.conf.d/10-ignore-devices.conf b/conf/xorg.conf.d/10-ignore-devices.conf new file mode 100644 index 0000000..9aa5d81 --- /dev/null +++ b/conf/xorg.conf.d/10-ignore-devices.conf @@ -0,0 +1,5 @@ +Section "InputClass" + Identifier "IgnoreDevices" + MatchDevicePath "/dev/input/event*|/dev/input/mouse*|/dev/input/js*|/dev/input/mice*" + Option "Ignore" "true" +EndSection diff --git a/conf/xorg.conf.nouveau b/conf/xorg.conf.nouveau index 87e48cb..098e38f 100644 --- a/conf/xorg.conf.nouveau +++ b/conf/xorg.conf.nouveau @@ -1,6 +1,5 @@ Section "ServerLayout" Identifier "Layout0" - Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection diff --git a/conf/xorg.conf.nvidia b/conf/xorg.conf.nvidia index 5bd686e..7571cb5 100644 --- a/conf/xorg.conf.nvidia +++ b/conf/xorg.conf.nvidia @@ -1,6 +1,5 @@ Section "ServerLayout" Identifier "Layout0" - Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection