| 659 | |
| 660 | #[derive(Default)] |
| 661 | struct DeviceState { |
| 662 | /// Buttons include Touch Points state |
| 663 | pub buttons: Vec<bool>, |
| 664 | pub encoders: Vec<bool>, |
| 665 | } |
| 666 | |
| 667 | /// Button reader that keeps state of the Stream Deck and returns events instead of full states |
| 668 | pub struct DeviceStateReader { |
nothing calls this directly
no outgoing calls
no test coverage detected