Incorrect mapping for GreenAsia joystick (0x0e8f, 0x0003) on Linux
Reported by
tigerso...@gmail.com,
Dec 25
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.28 Safari/537.36 Steps to reproduce the problem: 1. Insert Arctic USB wireless gamepad[1] to USB port, which is recognized as vendor 0x0e8f product 0x0003 by lsusb. 2. Test the gamepad at http://html5gamepad.com/ [1]. https://www.arctic.ac/us_en/usb-wireless-gamepad.html [1]. https://www.arctic.ac/us_en/usb-wireless-gamepad.html [1]. https://www.arctic.ac/us_en/usb-wireless-gamepad.html What is the expected behavior? Per spec[2], the mapping for the following buttons are: * Right stick X axis: axis 2 * Right stick Y axis: axis 3 * L1: button 4 * L2: button 6 * R1: button 5 * R2: button 7 [2]. https://w3c.github.io/gamepad/#remapping What went wrong? The X and Y axis are swapped (X mapped to 3 and Y mapped to 2) The top and bottom L/R buttons are swapped (L1 -> 6, L2 -> 4, R1 -> 7, R2 -> 5) Did this work before? N/A Chrome version: 72.0.3626.28 Channel: beta OS Version: Archlinux 2018-12-25 Flash Version: I guess something is wrong with the MapperXGEAR[3]. The mapping on macOS is also incorrect. Firefox mapping is correct for this gamepad on Linux. [3]. https://cs.chromium.org/chromium/src/device/gamepad/gamepad_standard_mappings_linux.cc?l=264&rcl=fadf911896ebbd2835a513ffa096486be826e53a
,
Dec 26
Thanks for filing the issue... The issue seems to be related to Arctic USB wireless gamepad[1] which is not available at TE to test the issue, hence adding "TE-Hardware-Dependency label".
,
Jan 3
|
|||
►
Sign in to add a comment |
|||
Comment 1 by viswa.karala@chromium.org
, Dec 26