summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2013-06-14 14:00:36 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-02 21:00:23 +0200
commit03285044a087c854e0c35f01dcc832e43894c44c (patch)
tree4cdd8905a80d1b4fb2dc3a14002073c09b82a084 /src/plugins/generic
parentbb05c4129ebd19263f7515b925db1e2e2c75a5a0 (diff)
Add how to create a udev rule for the evdev plugins
Change-Id: Icd7a192701958673fe216f40ddab710f5f63a8b8 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/plugins/generic')
-rw-r--r--src/plugins/generic/evdevkeyboard/README7
-rw-r--r--src/plugins/generic/evdevmouse/README8
2 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/generic/evdevkeyboard/README b/src/plugins/generic/evdevkeyboard/README
new file mode 100644
index 0000000000..751cc99aa9
--- /dev/null
+++ b/src/plugins/generic/evdevkeyboard/README
@@ -0,0 +1,7 @@
+On development machines it might be useful to add the input devices
+to a group that your development user i part of. Ie add:
+KERNEL=="event*", SUBSYSTEM=="input", MODE="0640", GROUP="users"
+
+to a file such as:
+/etc/udev/rules.d/10-local.rules
+
diff --git a/src/plugins/generic/evdevmouse/README b/src/plugins/generic/evdevmouse/README
index 76ee76bc91..526106e338 100644
--- a/src/plugins/generic/evdevmouse/README
+++ b/src/plugins/generic/evdevmouse/README
@@ -12,3 +12,11 @@ initial position.
Touchpads reporting absolute events will work too, the positions will
be turned into relative. Touchscreens are however not supported.
+
+On development machines it might be useful to add the input devices
+to a group that your development user i part of. Ie add:
+KERNEL=="event*", SUBSYSTEM=="input", MODE="0640", GROUP="users"
+
+to a file such as:
+/etc/udev/rules.d/10-local.rules
+