Merge "bullhead: fingerprint: fix navigation in orientation changes" into oc-dev am: 748de16ab3
am: c8271abddd

Change-Id: Ib0a24cbe65bc727493267659977b0ea31e41659f
diff --git a/device.mk b/device.mk
index 06db4a8..0f5fc92 100644
--- a/device.mk
+++ b/device.mk
@@ -83,6 +83,7 @@
 PRODUCT_COPY_FILES += \
     device/lge/bullhead/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
     device/lge/bullhead/qpnp_pon.kl:system/usr/keylayout/qpnp_pon.kl \
+    device/lge/bullhead/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc \
     device/lge/bullhead/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl
 
 # for launcher layout
diff --git a/uinput-fpc.idc b/uinput-fpc.idc
new file mode 100644
index 0000000..526d0e8
--- /dev/null
+++ b/uinput-fpc.idc
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Fingerprint navigation configuration file
+#
+keyboard.orientationAware = 1
+keyboard.builtIn = 1
+
diff --git a/uinput-fpc.kl b/uinput-fpc.kl
index 2bc2054..c8f0acd 100644
--- a/uinput-fpc.kl
+++ b/uinput-fpc.kl
@@ -1,4 +1,4 @@
-key 105   SYSTEM_NAVIGATION_LEFT
+key 106   SYSTEM_NAVIGATION_LEFT
 key 108   SYSTEM_NAVIGATION_DOWN
 key 103   SYSTEM_NAVIGATION_UP
-key 106   SYSTEM_NAVIGATION_RIGHT
+key 105   SYSTEM_NAVIGATION_RIGHT