Firmware for ESP8266 keyboard with 8 buttons controlled using a 74HC4051 mux Schematics and PCB design can be found here in EasyEDA. Distributed under ISC license (check LICENSE file)