diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-29 18:20:34 -0500 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-29 19:21:51 -0500 |
commit | bfac21fca10e1bc2f6888ce8592dc58bd9f2ffc3 (patch) | |
tree | 4749251285878a4d2398d965bf6fab74686d68dc | |
parent | b86fcf7c316d8a024f6ed90e46a20fb977b55f5e (diff) |
core: hid: hid_types: Add "All" to NpadButton
This represents a bitmask for all pressed buttons
-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 { LagonCUp = 1ULL << 32, LagonCRight = 1ULL << 33, LagonCDown = 1ULL << 34, + + All = 0xFFFFFFFFFFFFFFFFULL, }; DECLARE_ENUM_FLAG_OPERATORS(NpadButton); |