diff options
| author | 2021-11-29 18:20:34 -0500 | |
|---|---|---|
| committer | 2021-11-29 19:21:51 -0500 | |
| commit | bfac21fca10e1bc2f6888ce8592dc58bd9f2ffc3 (patch) | |
| tree | 4749251285878a4d2398d965bf6fab74686d68dc /src | |
| parent | qt_controller: Make use of (Enable/Disable)AllControllerConfiguration (diff) | |
| download | yuzu-bfac21fca10e1bc2f6888ce8592dc58bd9f2ffc3.tar.gz yuzu-bfac21fca10e1bc2f6888ce8592dc58bd9f2ffc3.tar.xz yuzu-bfac21fca10e1bc2f6888ce8592dc58bd9f2ffc3.zip | |
core: hid: hid_types: Add "All" to NpadButton
This represents a bitmask for all pressed buttons
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hid/hid_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h index acf54e233..780659b86 100644 --- a/src/core/hid/hid_types.h +++ b/src/core/hid/hid_types.h | |||
| @@ -63,6 +63,8 @@ enum class NpadButton : u64 { | |||
| 63 | LagonCUp = 1ULL << 32, | 63 | LagonCUp = 1ULL << 32, |
| 64 | LagonCRight = 1ULL << 33, | 64 | LagonCRight = 1ULL << 33, |
| 65 | LagonCDown = 1ULL << 34, | 65 | LagonCDown = 1ULL << 34, |
| 66 | |||
| 67 | All = 0xFFFFFFFFFFFFFFFFULL, | ||
| 66 | }; | 68 | }; |
| 67 | DECLARE_ENUM_FLAG_OPERATORS(NpadButton); | 69 | DECLARE_ENUM_FLAG_OPERATORS(NpadButton); |
| 68 | 70 | ||