power button on m5paperS3, how to use as home button?
has someone experiance, how can I use the power button from my m5paperS3 as homebutton. e.g. short press, use a home for my on screen menue long press (e.g. 3seconds), power m5paperS3 off.
any ideas, whould be highly appreciated.
I know, I have posted a lot of questions, but I'm really puzzled, because the migration from M5EPD to m5unified is really dire. best regards
Hello @rudiratlos
short answer: you can\t.
long answer: M5PaperS3 uses a separate MCU (U1 - PMS150G) to power on / off. And the power button is exclusively connected (SW_PWR) to this MCU. So I don't see a way to use it for anything else. See schematic here.
Thanks Felix
I think this is probably not possible.
As mentioned earlier by @felmue the Button is exclusively connected to a separate 8-bit MCU (Padauk PMS150G). This MCU is not otherwise connected to the ESP32-S3 chip. There would be - in THEORY - a way to achieve this, but it would involve steps that would have really imbalanced cost-benefits. You would need to get a spare PMS150G, since those MCUs are One Time Programmed. You would need to download and get familiar with the toolchain of the chip and would probably need an impayable programmer. You also need to write the whole firmware from scratch. At last, you'd need to open the PaperS3, unsolder the old PMS150G and resolder it to the board and beg god you made everything correctly.
What leads me to @felmue's TLDR: You can't.