Photobooth Arcade Wireless Push Button
I used a XIAO ESP32C3 with a battery connected directly to it, a 60mm arcade push button between GPIO9 and GND, and LED built-in with the push button between GPIO10 and 3V3. No need for any additional hardware components like pull-up resistors etc. Still, this is a quick and dirty solution. I will probably rework this for the next use and then publish it properly. Maybe someone can still make use of it.
The firmware creates a hardware wireless button that emulates a key stroke using a BLE keyboard at the connected device. I used two of them, button A and B, for my Photobooth with Pibooth. I used ESPHome BLE Keyboard for the job because it was the fastest for me to accomplish this and debug it in my homeassistant setup.