# Weylus
( Type: Tool )
## Description
Setup instructions for Weylus, a stylus/touch input tool for Linux that turns a tablet or touchscreen into a graphics-tablet-style input device using the `uinput` interface.
## Key Tags
#weylus #stylus-input
## Essential Works
- [Weylus (GitHub)](https://github.com/H-M-H/Weylus) - project source and documentation
## Details
%% none yet %%
### Notes
- https://github.com/H-M-H/Weylus
- Weylus uses the uinput interface to simulate input events on Linux. To enable stylus and multi-touch support /dev/uinput needs to be writable by Weylus. To make /dev/uinput permanently writable by your user, run:
sudo groupadd -r uinput
sudo usermod -aG uinput $USER
echo 'KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"' \
| sudo tee /etc/udev/rules.d/60-weylus.rules
Then, either reboot, or run
sudo udevadm control --reload
sudo udevadm trigger
then log out and log in again. To undo this, run:
sudo rm /etc/udev/rules.d/60-weylus.rules
This allows your user to synthesize input events system-wide, even when another user is logged in. Therefore, untrusted users should not be added to the uinput group.
### Concepts and Theories
%% none yet %%
### Related Practices
- [[Drawing]] - Weylus enables stylus/touch input for digital drawing on Linux
### Key Practitioners
%% none yet %%
### Institutional Affiliations
%% none yet %%
## References
### Primary Sources Bibliography
%% none yet %%
### Secondary Sources Bibliography
%% none yet %%