Коды игровых манипуляторов


  Описание     Кнопки     Файлы устройств  

Vendor_0583_Product_2060.kl

  • Vendor: Padix Co., Ltd (Rockfire)

  • Product: 2-axis 8-button gamepad

  • Строк: 10

    1. key BUTTON_A 288 [0x0120]

    2. key BUTTON_R2 293 [0x0125]

    3. key BUTTON_L2 292 [0x0124]

    4. key BUTTON_R1 295 [0x0127]

    5. key BUTTON_L1 294 [0x0126]

    6. key BUTTON_Y 291 [0x0123]

    7. key BUTTON_X 290 [0x0122]

    8. key BUTTON_B 289 [0x0121]

    9. axis HAT_X 0x00 [0]

    10. axis HAT_Y 0x01 [1]



  • Содержимое файла Vendor_0583_Product_2060.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://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.

    # ION GO PAD

    key 288 BUTTON_A
    key 289 BUTTON_B
    key 290 BUTTON_X
    key 291 BUTTON_Y
    key 294 BUTTON_L1
    key 295 BUTTON_R1
    key 292 BUTTON_L2
    key 293 BUTTON_R2

    axis 0x00 HAT_X
    axis 0x01 HAT_Y