We should ship gamepad events from the system over to Gecko. Should be pretty simple, although our handling of gamepad events in java for panning may make for some strange interactions.
This is probably a straight up dupe of bug 852935
I'm not sure I understand. Could you please elaborate what exactly is needed and where do I start with it? Thanks!
(In reply to Kartikaya Gupta (email:email@example.com) from comment #1) > This is probably a straight up dupe of bug 852935 I agree. Mina, this bug would mean that we grab MotionEvent from gamepads in java and send them over to the Gecko widget layer where they could be converted to HTML5 Gamepad events and redispatched. To see something similar, see how touch events are picked up in Java: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/gfx/LayerView.java#165 then send over to widget: http://mxr.mozilla.org/mozilla-central/source/widget/android/nsWindow.cpp#847 where they're eventually sent off into the wild blue yonder of the platform: http://mxr.mozilla.org/mozilla-central/source/widget/android/nsWindow.cpp#1316 in this case you'd be generating gamepad events rather than mouse: http://mxr.mozilla.org/mozilla-central/source/widget/BasicEvents.h#447
Hehe wes I don't think you resolved this by providing the info for me needinfo flag :P