I would refrain from “hacking” the Touch Display plugin, but think the cleaner solution would be to use the gpio control plugin. I have not used that plugin, but saw it fails to start only because the npm module “onoff” is missing. I will reply to this issue in the thread https://community.volumio.com/t/plugin-gpio-control-control-gpio-with-volumio2-events.