From 89fc71e82c8075af79558512ac9ae30fd015e987 Mon Sep 17 00:00:00 2001 From: Darshan Manjrekar Date: Fri, 29 Sep 2017 09:54:33 +0200 Subject: [PATCH] land: Set key 353 as CAMERA * Override key 353. * Thanks to https://www.xda-developers.com/enable-fingerprint-selfie-xiaomi-redmi-3s/. --- keylayout/gf3208.kl | 2 ++ keylayout/uinput-fpc.kl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/keylayout/gf3208.kl b/keylayout/gf3208.kl index a0c1087..1cb9fc9 100644 --- a/keylayout/gf3208.kl +++ b/keylayout/gf3208.kl @@ -12,3 +12,5 @@ #key 102 HOME #key 105 DPAD_LEFT #key 106 DPAD_RIGHT +#key 353 DPAD_CENTER +key 353 CAMERA diff --git a/keylayout/uinput-fpc.kl b/keylayout/uinput-fpc.kl index e10c762..7f54cc2 100644 --- a/keylayout/uinput-fpc.kl +++ b/keylayout/uinput-fpc.kl @@ -12,3 +12,5 @@ #key 102 HOME #key 105 DPAD_LEFT #key 106 DPAD_RIGHT +#key 353 DPAD_CENTER +key 353 CAMERA