Closed
Bug 920611
Opened 11 years ago
Closed 11 years ago
Support HTML5 Gamepad events
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 852935
People
(Reporter: wesj, Assigned: almasry.mina)
Details
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.
Reporter | ||
Updated•11 years ago
|
Summary: Supper HTML5 Gamepad events → Support HTML5 Gamepad events
Comment 1•11 years ago
|
||
This is probably a straight up dupe of bug 852935
Assignee | ||
Comment 2•11 years ago
|
||
I'm not sure I understand. Could you please elaborate what exactly is needed and where do I start with it? Thanks!
Flags: needinfo?(wjohnston)
Flags: needinfo?(bugmail.mozilla)
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.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
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(wjohnston)
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Flags: needinfo?(bugmail.mozilla)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → malmasry
Assignee | ||
Comment 4•11 years ago
|
||
Hehe wes I don't think you resolved this by providing the info for me needinfo flag :P
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 5•11 years ago
|
||
oops nevermind
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•