chore: update docs and scripts

This commit is contained in:
Gustavo Carvalho
2025-12-11 17:21:41 -03:00
parent f2543419ef
commit 1cb69a8869
5 changed files with 32 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
# udev rules for Windows 11 Clipboard History
# Allows non-root users in the 'input' group to access input devices for global hotkeys
# Input devices (keyboards, mice) - needed for rdev global hotkeys
# Input devices (keyboards) - needed for evdev global hotkey detection
KERNEL=="event*", SUBSYSTEM=="input", MODE="0660", GROUP="input"
# uinput device - needed for enigo keyboard simulation (paste injection)
# uinput device - needed for kernel-level keyboard simulation (paste injection)
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"

View File

@@ -65,9 +65,9 @@ fi
UDEV_RULE="/etc/udev/rules.d/99-win11-clipboard-input.rules"
cat > "$UDEV_RULE" << 'EOF'
# udev rules for Windows 11 Clipboard History
# Input devices (keyboards, mice) - needed for rdev global hotkeys
# Input devices (keyboards) - needed for evdev global hotkey detection
KERNEL=="event*", SUBSYSTEM=="input", MODE="0660", GROUP="input"
# uinput device - needed for enigo keyboard simulation (paste injection)
# uinput device - needed for kernel-level keyboard simulation (paste injection)
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
EOF
echo -e "${GREEN}${NC} Created udev rules for input devices"