Add long press support to the power button

If the power button has been pressed longer than
LONG_PRESS_TIME_MS, then issue the PressedLong signal
instead of the Released signal.

LONG_PRESS_TIME_MS can be changed at compile time.

Change-Id: Iad4922735a378e45e58d70b9e1400d0e09f784c6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: 8bfb8368dc31e3423264902254e6e369950f125a
  1. inc/
  2. src/
  3. .clang-format
  4. CMakeLists.txt
  5. LICENSE
  6. MAINTAINERS
  7. settings.hpp.in