gecko-dev/dom/gamepad
Chris Martin 886c2c65a8 Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz
Currently, the gamepad code uses a uint32_t as a handle and does some trickery
with it by trying to create a unique ID and adding an offset to it for VR code.

This can (and has) led to errors where the developer forgets to perform the
arithmetic and sends the wrong number to the wrong manager.

This change created a strongly-typed handle that remembers which service it
belongs to. This should eliminate such accidents.

Differential Revision: https://phabricator.services.mozilla.com/D96273
2020-12-02 23:06:05 +00:00
..
android Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
cocoa Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
fallback Bug 1610040 - Cut PGamepadEventChannel over to use Tainted<> IPC Mechanics; r=tjr 2020-12-01 19:56:00 +00:00
ipc Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
linux Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
windows Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
Gamepad.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
Gamepad.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadButton.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
GamepadButton.h
GamepadHandle.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadHandle.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadHapticActuator.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadHapticActuator.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadLightIndicator.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadLightIndicator.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadManager.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadManager.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadMonitoring.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadPlatformService.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadPlatformService.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadPose.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
GamepadPose.h
GamepadPoseState.h Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol 2020-04-21 11:17:34 +00:00
GamepadRemapping.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadRemapping.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadServiceTest.cpp Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadServiceTest.h Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00
GamepadTouch.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
GamepadTouch.h Bug 1671641 - Make `dom/gamepad` buildable outside of `unified-build` environment. r=sg 2020-10-28 12:29:56 +00:00
GamepadTouchState.h
moz.build Bug 1657404 - Implement a strongly-typed, service-dependent gamepad handle r=handyman,aklotz 2020-12-02 23:06:05 +00:00