Power on-off button only allows reboot?

That sounds promising, but I can’t see how to do the buttonswitch from the post. Is there a particular app? I tried downloading volumepower and button remapper, but they don’t seem to allow me to use another button as the power button.