From 798f9f54cba7412eed8674015f5de143ff4e0eab Mon Sep 17 00:00:00 2001 From: Max Zhang Date: Wed, 26 Apr 2023 17:05:39 -0700 Subject: [PATCH] Map MAGIC button HID key to MACRO_1 for Ref RCU Map MAGIC button HID key from Google Reference RCU to Android keycode KEYCODE_MACRO_1 for the MAGIC / customizable button feature. bug: 279825318 test: manual Change-Id: Ic4705f0798ba1630297da83d3bc300afb27d0ad8 --- data/keyboards/Vendor_0957_Product_0001.kl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/keyboards/Vendor_0957_Product_0001.kl b/data/keyboards/Vendor_0957_Product_0001.kl index 54f8808e2285f..5d7fd85fc1788 100644 --- a/data/keyboards/Vendor_0957_Product_0001.kl +++ b/data/keyboards/Vendor_0957_Product_0001.kl @@ -45,6 +45,7 @@ key 11 0 # custom keys key usage 0x000c01BB TV_INPUT +key usage 0x000c0186 MACRO_1 key usage 0x000c0185 TV_TELETEXT key usage 0x000c0061 CAPTIONS @@ -77,4 +78,4 @@ key usage 0x000c009D CHANNEL_DOWN key usage 0x000c0077 BUTTON_3 WAKE #YouTube key usage 0x000c0078 BUTTON_4 WAKE #Netflix key usage 0x000c0079 BUTTON_6 WAKE -key usage 0x000c007A BUTTON_7 WAKE \ No newline at end of file +key usage 0x000c007A BUTTON_7 WAKE