diff options
Diffstat (limited to '')
-rw-r--r-- | src/hid_core/hid_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hid_core/hid_types.h b/src/hid_core/hid_types.h index a01292a70..b310ab72d 100644 --- a/src/hid_core/hid_types.h +++ b/src/hid_core/hid_types.h @@ -437,6 +437,16 @@ struct LedPattern { }; }; +struct SleepButtonState { + union { + u64 raw{}; + + // Buttons + BitField<0, 1, u64> sleep; + }; +}; +static_assert(sizeof(SleepButtonState) == 0x8, "SleepButtonState has incorrect size."); + struct HomeButtonState { union { u64 raw{}; |