From 871283572fd0bb613590eb6c0975b8115abda06e Mon Sep 17 00:00:00 2001 From: Prabir Pradhan Date: Mon, 12 Dec 2022 22:26:55 +0000 Subject: [PATCH] DO NOT MERGE: Add remapping for an Android stylus This remapping is used for testing and development purposes. Bug: 262287992 Test: TBD Change-Id: I4cf157fd9c10d62c7ad08ef31ba1b6c4f3a7865e --- data/keyboards/Vendor_18d1_Product_4f80.kl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/keyboards/Vendor_18d1_Product_4f80.kl diff --git a/data/keyboards/Vendor_18d1_Product_4f80.kl b/data/keyboards/Vendor_18d1_Product_4f80.kl new file mode 100644 index 0000000000000..42a692508bdd7 --- /dev/null +++ b/data/keyboards/Vendor_18d1_Product_4f80.kl @@ -0,0 +1,21 @@ +# Copyright (C) 2022 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. + +# +# Android Stylus +# + +# Temporarily map the key reported by the stylus to an +# arbitrary keycode for testing and development. +key 0x242 VIDEO_APP_1