• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Mapping joystick keycodes for android ?

New Here ,
Jul 17, 2014 Jul 17, 2014

Copy link to clipboard

Copied

On connecting Logitech ControllerF710 to an android device, KeyboardEvents in AS3 gives the following as keycode and keylocation-

Buttons                   keycode          keylocation

A,B,X                     16777238         0    

Y,LB,RB                 13                   4

The issue is that many buttons are giving the same keycodes. Is there a way to map these get different keycodes ?

Also any button with 16777238 , the android devices goes to home.

The similar issue is happening for any joystick.

Views

458

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines