KB Animator is a Python-based tool for controlling ASUS keyboard backlight animations. It supports both hardware and software-based animations.
- Start and stop animations for ASUS keyboards.
- Supports hardware modes like
static,breathe,rainbow, andstrobe. - Software animations like
heartbeat,candle flicker, andnetwork speed. - Logs actions and errors to systemd journal/syslog and a rotating user log file.
- Python 3.8 or higher
pip(Python package installer)psutillibrary (automatically installed as a dependency)
-
Clone the repository:
git clone https://github.com/vskvj3/asus-kbbacklit-ctl.git cd asus-kbbacklit-ctl -
Install the package:
pip install . -
Verify installation:
kb-animator --help
To start an animation, use the start command:
kb-animator start <animation_name> [--color <color>] [--speed <speed>]Example:
kb-animator start heartbeat --color redTo stop all running animations:
kb-animator stopLogs are written to:
- Systemd journal (if available)
- Syslog
- A rotating log file at
~/.cache/kb_animator/kb_animator.log
To view the logs:
tail -f ~/.cache/kb_animator/kb_animator.logTo run the tool locally without installation:
python3 cli.py start heartbeat --color redRun the tests (if any) using:
pytestThis project is licensed under the MIT License. See the LICENSE file for details.