why an esp32 instead something simpler like an stm8 (or an stm32f103c8t6 if you need arduino compatibility) if you really want an mcu per key ?
The thing I like the most about it is that I don't have to manually install and managed various tool chains and it's a lot more flexible than the Arduino ide.