gecko-dev/dom/gamepad/cocoa
Daosheng Mu 33fd265be2 Bug 1604405 - Replace gamepad button array index with axis array index in Mac OS. r=baku
- Fixes wrong usage of button array index for axis id
- Added more warning and conditions for avoiding crashes happen
- Corrected aIndex vs aButton when checking button count.

Differential Revision: https://phabricator.services.mozilla.com/D57423

--HG--
extra : moz-landing-system : lando
2019-12-18 15:50:23 +00:00
..
CocoaGamepad.cpp Bug 1604405 - Replace gamepad button array index with axis array index in Mac OS. r=baku 2019-12-18 15:50:23 +00:00