Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug
This commit is contained in:
@@ -601,7 +601,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
if (svc) {
|
||||
if (curEvent->Action() == AndroidGeckoEvent::ACTION_GAMEPAD_ADDED) {
|
||||
int svc_id = svc->AddGamepad("android",
|
||||
mozilla::dom::StandardMapping,
|
||||
mozilla::dom::GamepadMappingType::Standard,
|
||||
mozilla::dom::kStandardGamepadButtons,
|
||||
mozilla::dom::kStandardGamepadAxes);
|
||||
mozilla::widget::android::GeckoAppShell::GamepadAdded(curEvent->ID(),
|
||||
|
||||
Reference in New Issue
Block a user