This consolidates all of the information that was in the native KeyEvent and the KeyLayout files into the managed KeyEvent class. It also moves the definition for all of the key names to the native side, rather than having them in both places. Change-Id: I172e3b554e7eb52c79ae2ec406ef4332e8b25ffa
24 lines
811 B
Plaintext
24 lines
811 B
Plaintext
# Copyright (C) 2010 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 used for Bluetooth AVRCP support.
|
|
|
|
key 200 MEDIA_PLAY
|
|
key 201 MEDIA_PAUSE
|
|
key 166 MEDIA_STOP
|
|
key 163 MEDIA_NEXT
|
|
key 165 MEDIA_PREVIOUS
|
|
key 168 MEDIA_REWIND
|
|
key 208 MEDIA_FAST_FORWARD
|