<p>Dear Interwebs, do I have anyone here who has successfully managed to get systemd-logind to recognize the S1 button on a PCEngines APU2 as a "power button"?</p><p>I can see the button producing an EV_KEY event with code BTN_1/257 on /dev/input/input1, but all the documentation I can find on how to remap that to a "power button" with udev and hwdb makes my eyes glaze over and brain freeze.</p>