PlatformIO project for the software side of a project to integrate an ESP8266 into a "Fisher-Price Laugh & Learn Game & Learn Controller".
The button pushes are sent to an MQTT broker which can report to client software to control all sorts of stuff.
For a extensive write up on the hardware build process, see https://www.robopenguins.com/toy-controller/
The python
folder has the software for the two demos:
python/controller_demo.py is simple PyGame demo:
python/wled_demo.py is integrates the controller with a WLED project I did awhile back: