Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8ae8840 authored by Max Zhang's avatar Max Zhang
Browse files

Add key layout and device file for Reference RCU

Adding key layout and device configuration file
for Google Reference RCU.
The VID/PID pair used in file name is speicifically for
Reference RCU, which supports both G10 and G20.

b/173100313
test: manually on custom build for ADT-3

Change-Id: I2048012fb91adfc6a2f61065ba262d5ed344c673
parent eb87a526
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
# Copyright (C) 2021 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.

#
# Input Device Configuration file for Google Reference RCU Remote.
#
#

# Basic Parameters
keyboard.layout = Vendor_0957_Product_0001
keyboard.characterMap = Vendor_0957_Product_0001
audio.mic = 1
 No newline at end of file
+72 −0
Original line number Diff line number Diff line
# Copyright (C) 2021 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.

#
# Key Layout file for Google Reference RCU Remote.
#

key 116   POWER         WAKE
key 217   ASSIST        WAKE

key 103   DPAD_UP
key 108   DPAD_DOWN
key 105   DPAD_LEFT
key 106   DPAD_RIGHT
key 353   DPAD_CENTER

key 158   BACK
key 172   HOME          WAKE

key 113   VOLUME_MUTE
key 114   VOLUME_DOWN
key 115   VOLUME_UP

key 2     1
key 3     2
key 4     3
key 5     4
key 6     5
key 7     6
key 8     7
key 9     8
key 10    9
key 11    0

# custom keys
key usage 0x000c01BB    TV_INPUT
key usage 0x000c022A    BOOKMARK
key usage 0x000c0096    SETTINGS
key usage 0x000c0097    NOTIFICATION
key usage 0x000c008D    GUIDE
key usage 0x000c0089    TV
key usage 0x000c009C    CHANNEL_UP
key usage 0x000c009D    CHANNEL_DOWN
key usage 0x000c00CD    MEDIA_PLAY_PAUSE
key usage 0x000c00B4    MEDIA_SKIP_BACKWARD
key usage 0x000c00B3    MEDIA_SKIP_FORWARD
key usage 0x000c0226    MEDIA_STOP

key usage 0x000c0077    BUTTON_3     WAKE #YouTube
key usage 0x000c0078    BUTTON_4     WAKE #Netflix
key usage 0x000c0079    BUTTON_6     WAKE #Disney+
key usage 0x000c007A    BUTTON_7     WAKE #HBOmax

key usage 0x000c01BD    INFO
key usage 0x000c0061    CAPTIONS
key usage 0x000c0185    TV_TELETEXT

key usage 0x000c0069    PROG_RED
key usage 0x000c006A    PROG_GREEN
key usage 0x000c006B    PROG_BLUE
key usage 0x000c006C    PROG_YELLOW
 No newline at end of file