Hi,
I would like to know, if we can poweroff the device using long press event of the KEY_POWER button.
Reason for this is, I'd like to use this button as a multi functional button.
such that, on normal key press events some regular functionality like back press would be recorded and on long press device would be shutdown.
I am using a custom AM3352 based board.