[2/3] OmniGears: add custom hardware button mapping

This allows for changing of what hardware buttons do.

This is taken from android-4.4 and things that
are commented out will be implemented later.

requires: https://gerrit.omnirom.org/11103

PS2: fix code style (red alerts)

PS3: fix code style (use space instead tabs)

PS5:
-added volume wake
-changed check for hw navigation buttons to use
config_deviceHardwareKeys

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I8a0a382e2ac5ad36dd47845b8b0380135e45d9d8
6 files changed
tree: ebbcc236039e67b6866b81d9cd34973bfc37fc4f
  1. res/
  2. src/
  3. Android.mk