This adds the remaining undefined *SharedMemoryFormat structures, plus functions for grabbing the state of the system buttons (home, capture, sleep) from shared memory.
To aid with verification, I checked all the struct sizes with static_assert so you don't have to https://godbolt.org/z/3eMxxEh8c
This adds the remaining undefined
*SharedMemoryFormat
structures, plus functions for grabbing the state of the system buttons (home, capture, sleep) from shared memory.To aid with verification, I checked all the struct sizes with
static_assert
so you don't have to https://godbolt.org/z/3eMxxEh8c