The template was expanding KEY_LEFTCTRL, KEY_RIGHTCTRL but only
prepending ecodes. to the first one. Now all key codes include
the ecodes. prefix in the case statement values.
https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
setup-ptt.sh handles everything in one run:
- Adds user to input group (no sudo for PTT)
- Installs evdev Python module
- Interactive hotkey selection (5 options)
- Generates PTT Python script with chosen hotkey
- Creates systemd user service (auto-start, restart on failure)
- Checks if OpenWhispr is running, offers to launch
- Creates uninstall script
- Prints useful commands summary
https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm