Reverse engineering USB messages using Wireshark to control RGB on Gigabyte Aorus 15P KD laptop
Tested on Aorus 15P KD-72US223SH laptop, Windows 10, Python v3.10
- Python 3
- pyusb with libusb backend
- If you face problems with libusb installation, this answer might help https://stackoverflow.com/questions/33972145/pyusb-on-windows-8-1-no-backend-available-how-to-install-libusb
- pyaudio for the audio sync script, use this answer if you face problems installing it on Windows
If you would like the script to react to music playing on your machine, use a loopback device to direct output to an input device. A pyaudio fork which supports Windows sound loopback is mentioned in this answer. You can use Stereo Mix (which failed to work reliably for me) or use third-party software like Voicemeeter on Windows.
- Set color and brightness for the static full keyboard mode
- Set different modes like Wave, Ripple, Raindrop, Fade on press etc.