From 6d090cf00e59bec579e24d46a6f5e21238e02185 Mon Sep 17 00:00:00 2001 From: Eric Jiang Date: Sat, 20 Feb 2021 17:39:11 -0800 Subject: [PATCH] Add info about --rules flag in README instructions --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a9dd0b..c9f351b 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,12 @@ Inspiroy Q620M, and potentially other tablets. 4. Run the `xdo_build.py` script. It should create a file named `_xdo_cffi.cpython-...-linux-gnu.so`. 5. Run `huion_keys.py`. It will create an example config file at `~/.config/huion_keys.conf`. 6. Edit the config file to set up your key bindings. See the below section for more instructions. -7. Run `huion_keys.py` as root or give yourself read permission for your tablet's hidraw file. For example: - `chmod o+r /dev/hidraw3` +7. Install the udev rules to set up permissions for the tablet. This program + can generate the udev rules for you, so you can do something like: + `python huion_keys.py > /etc/udev/rules.d/50-huion-tablet.rules` + + Alternatively, you can run `huion_keys.py` as root or give yourself read permission for your tablet's hidraw file. For example: + `chmod o+r /dev/hidraw3` 8. When you push your tablet's buttons or swipe the scroll strips, this program should display information about what's going on. ## Configuration