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


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

Vendor_0079_Product_0011.kl

  • Vendor: DragonRise Inc.

  • Product: Gamepad

  • Строк: 10

    1. key BUTTON_X 288 [0x0120]

    2. key BUTTON_SELECT 296 [0x0128]

    3. key BUTTON_START 297 [0x0129]

    4. key BUTTON_R1 293 [0x0125]

    5. key BUTTON_L1 292 [0x0124]

    6. key BUTTON_Y 291 [0x0123]

    7. key BUTTON_B 290 [0x0122]

    8. key BUTTON_A 289 [0x0121]

    9. axis HAT_X 0x00 [0]

    10. axis HAT_Y 0x01 [1]



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

    # Classic [S]NES Controller

    key 288 BUTTON_X
    key 289 BUTTON_A
    key 290 BUTTON_B
    key 291 BUTTON_Y
    key 292 BUTTON_L1
    key 293 BUTTON_R1
    key 297 BUTTON_START
    key 296 BUTTON_SELECT

    axis 0x00 HAT_X
    axis 0x01 HAT_Y