From 26a03f8c4026a0c03b8059b536806432b4b7cadf Mon Sep 17 00:00:00 2001 From: Max Zhang Date: Fri, 2 Apr 2021 02:20:53 +0000 Subject: [PATCH] Update Reference RCU kl and idc files 1. Reference RCU sends 0x9F for Notification key. Keylayout should map the same value to ANDROID_KEY_NOTIFICATION. 2. disable default key wake up feature unless "WAKE" is specified, by adding "keyboard.doNotWakeByDefault = 1" bug: 173100313 test: manual Change-Id: I6fd17c0f4776e6b303840f54f7cad5729f89467a --- data/keyboards/Vendor_0957_Product_0001.idc | 1 + data/keyboards/Vendor_0957_Product_0001.kl | 2 +- data/keyboards/Vendor_248a_Product_8266.idc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/keyboards/Vendor_0957_Product_0001.idc b/data/keyboards/Vendor_0957_Product_0001.idc index 39479ce725e1b..c67e6d34fccb7 100644 --- a/data/keyboards/Vendor_0957_Product_0001.idc +++ b/data/keyboards/Vendor_0957_Product_0001.idc @@ -19,4 +19,5 @@ # Basic Parameters keyboard.layout = Vendor_0957_Product_0001 +keyboard.doNotWakeByDefault = 1 audio.mic = 1 \ No newline at end of file diff --git a/data/keyboards/Vendor_0957_Product_0001.kl b/data/keyboards/Vendor_0957_Product_0001.kl index 90c0433d2a9cf..672abef3c9633 100644 --- a/data/keyboards/Vendor_0957_Product_0001.kl +++ b/data/keyboards/Vendor_0957_Product_0001.kl @@ -47,7 +47,7 @@ key 11 0 key usage 0x000c01BB TV_INPUT key usage 0x000c022A BOOKMARK key usage 0x000c0096 SETTINGS -key usage 0x000c0097 NOTIFICATION +key usage 0x000c009F NOTIFICATION key usage 0x000c008D GUIDE key usage 0x000c0089 TV key usage 0x000c009C CHANNEL_UP diff --git a/data/keyboards/Vendor_248a_Product_8266.idc b/data/keyboards/Vendor_248a_Product_8266.idc index 3021655c286e2..47ff9f88374f1 100644 --- a/data/keyboards/Vendor_248a_Product_8266.idc +++ b/data/keyboards/Vendor_248a_Product_8266.idc @@ -21,4 +21,5 @@ # Due to a memory error on early prototypes of the reference remote control # the VID/PID is mapped to 248a/8266 instead of 0957/0001 keyboard.layout = Vendor_0957_Product_0001 +keyboard.doNotWakeByDefault = 1 audio.mic = 1 \ No newline at end of file