Button reader that keeps state of the Stream Deck and returns events instead of full states
| 666 | |
| 667 | /// Button reader that keeps state of the Stream Deck and returns events instead of full states |
| 668 | pub struct DeviceStateReader { |
| 669 | device: Arc<StreamDeck>, |
| 670 | states: Mutex<DeviceState>, |
| 671 | } |
| 672 | |
| 673 | impl DeviceStateReader { |
| 674 | /// Reads states and returns updates |
nothing calls this directly
no outgoing calls
no test coverage detected