Skip to content

Commit

Permalink
Add qpnp_pon.kl keylayout
Browse files Browse the repository at this point in the history
power and volume- are both read from /dev/input/event1
If we don't provide an device specific .kl file, a Generic.kl file
is used. But Gecko parser can't parse this file (see bug#1168304).
  • Loading branch information
peppsac committed May 26, 2015
1 parent cedbb4f commit 3e37ec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions device.mk
Expand Up @@ -40,6 +40,7 @@ PRODUCT_COPY_FILES += \
# Input device files for shamu
PRODUCT_COPY_FILES += \
device/moto/shamu/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
device/moto/shamu/qpnp_pon.kl:system/usr/keylayout/qpnp_pon.kl \
device/moto/shamu/apq8084-taiko-tfa9890_stereo_co_Button_Jack.kl:system/usr/keylayout/apq8084-taiko-tfa9890_stereo_co_Button_Jack.kl \
device/moto/shamu/atmel_mxt_ts.idc:system/usr/idc/atmel_mxt_ts.idc

Expand Down
2 changes: 2 additions & 0 deletions qpnp_pon.kl
@@ -0,0 +1,2 @@
key 114 VOLUME_DOWN
key 116 POWER

0 comments on commit 3e37ec2

Please sign in to comment.