mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Bug 1545806 - Correct the initializer list in Windows gamepad axis value constructor. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28242 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4d089aa543
commit
9e73a18233
@ -123,7 +123,8 @@ class Gamepad {
|
||||
double value;
|
||||
bool active;
|
||||
|
||||
axisValue() = default;
|
||||
axisValue()
|
||||
: value(0.0f), active(false) {}
|
||||
explicit axisValue(const HIDP_VALUE_CAPS& aCaps)
|
||||
: caps(aCaps), value(0.0f), active(true) {}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user