Hope they will be useful to get Xiaomi remote working with Nexus player
Vendor_2717_Product_32b0.kl and Vendor_2717_Product_3200.kl
# Copyright (C) 2013 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://ift.tt/Uca6vn
#
# 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.
# BLE Remote layout file for xiaomi Remote keyboards.
# This file is intentionally very generic and is intended to support a broad rang of keyboards.
# Do not edit the generic key layout to support a specific keyboard; instead, create
# a new key layout file with the required keyboard configuration.
#
key 158 BACK
key 127 MENU
key 108 DPAD_DOWN
key 103 DPAD_UP
key 102 HOME
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 235 SWITCHRESOLUTION
key 28 ENTER
key 116 POWER WAKE
key 97 DPAD_CENTER
key 232 DPAD_CENTER
Vendor_2717_Product_32b0.kl and Vendor_2717_Product_3200.kl
# Copyright (C) 2013 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://ift.tt/Uca6vn
#
# 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.
# BLE Remote layout file for xiaomi Remote keyboards.
# This file is intentionally very generic and is intended to support a broad rang of keyboards.
# Do not edit the generic key layout to support a specific keyboard; instead, create
# a new key layout file with the required keyboard configuration.
#
key 158 BACK
key 127 MENU
key 108 DPAD_DOWN
key 103 DPAD_UP
key 102 HOME
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 235 SWITCHRESOLUTION
key 28 ENTER
key 116 POWER WAKE
key 97 DPAD_CENTER
key 232 DPAD_CENTER
from xda-developers http://ift.tt/1NHNXy7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire