A tech demo that plays Bad Apple! on the Logitech G13. Cause reasons.
Go to file
2024-04-13 08:34:05 -05:00
images Initial and probably final commit 2024-04-13 07:44:00 -05:00
lpbm Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
badapple.py Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
downscaleVideo.sh Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
generate.sh Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
LICENSE Initial commit 2024-04-13 04:26:35 -05:00
pbm2lpbm.py Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
png2pbm.py Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
README.md Updated README.md 2024-04-13 08:34:05 -05:00
requirements.txt Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00
videoToPng.sh Actually tidied some things up a bit, and made some simple scripts to allow YOU to make the lpbms yourself. 2024-04-13 08:32:10 -05:00

logitech-g13-badapple

A tech demo that plays Bad Apple! on the Logitech G13. Cause reasons.

It uses the longer 5 minute version of the song instead of the edited version the actual video uses. That's my bad. I won't fix it.

This uses the g13 userspace driver, and expects the named pipe to be at /run/g13d/g13-0 as that's where it was put on my system (Arch).

This demo is VERY poorly written, but I don't care that much.

Usage

The Short Version

python3 badapple.py

The Long Version

The repository contains all of the lpbm files prebuilt, but if you'd like to do it yourself you can download the video that was used. The file must be named original.mp4.

Once that file is there, run the generate.sh script. It will take care of everything.