Skip to content

hackeriet/matelight-controller

Repository files navigation

matelight controller

Games for matelight WLED display with doorbell support.

This will run games on a 10x20 or 20x12 Matelight display. This program will communicate with the Matelight WLED controller with UDP on port 21324. It can either communicate with the WLED controller on a static IP or find the IP of the WLED controller with MDNS. It will use a USB joystick for input.

Games implemented:

Input:

  • Start: Start/Pause game
  • Select: Switch game
  • Up/Down/Left/Right/A/B: Game specific

Build:

Requirements: libavahi-client, libcurl, libudev, libmosquitto.

make

Run:

./matelight --mdns-description=Matelight --port=21324 --joystick-device=/dev/input/js0

Run locally with simulator:

mkfifo /tmp/js0.fifo
./contrib/matelight-simulator.py --address=127.0.0.1 --port=21324 --fifo=/tmp/js0.fifo &
./matelight --address=127.0.0.1 --port=21324 --joystick-device=/tmp/js0.fifo

TODO:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages