1# Copyright 2023 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# test key layout file for InputDeviceKeyMapTest#HidUsageCodesUseFallbackMapping
17#
18
19# Keys defined by HID usages without fallback mapping flag
20key usage 0x0c0067 WINDOW
21key usage 0x0c006F BRIGHTNESS_UP
22key usage 0x0c0070 BRIGHTNESS_DOWN
23key usage 0x0c0079 KEYBOARD_BACKLIGHT_UP
24key usage 0x0c007A KEYBOARD_BACKLIGHT_DOWN
25
26# Keys defined by HID usages with fallback mapping flag
27key usage 0x0c007C KEYBOARD_BACKLIGHT_TOGGLE FALLBACK_USAGE_MAPPING
28key usage 0x0c0173 MEDIA_AUDIO_TRACK         FALLBACK_USAGE_MAPPING
29key usage 0x0c019C PROFILE_SWITCH            FALLBACK_USAGE_MAPPING
30key usage 0x0c01A2 ALL_APPS                  FALLBACK_USAGE_MAPPING
31key usage 0x0d0044 STYLUS_BUTTON_PRIMARY     FALLBACK_USAGE_MAPPING
32key usage 0x0d005a STYLUS_BUTTON_SECONDARY   FALLBACK_USAGE_MAPPING