Button reader that keeps state of the Stream Deck and returns events instead of full states
| 192 | |
| 193 | /// Button reader that keeps state of the Stream Deck and returns events instead of full states |
| 194 | pub struct AsyncDeviceStateReader { |
| 195 | device: AsyncStreamDeck, |
| 196 | states: Mutex<DeviceState>, |
| 197 | } |
| 198 | |
| 199 | impl AsyncDeviceStateReader { |
| 200 | /// Reads states and returns updates |
nothing calls this directly
no outgoing calls
no test coverage detected