Amount of encoders/knobs the Stream Deck kind has
(&self)
| 190 | |
| 191 | /// Amount of encoders/knobs the Stream Deck kind has |
| 192 | pub fn encoder_count(&self) -> u8 { |
| 193 | match self { |
| 194 | Kind::Plus => 4, |
| 195 | Kind::PlusXl => 6, |
| 196 | _ => 0, |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /// Amount of touch points the Stream Deck kind has |
| 201 | pub fn touchpoint_count(&self) -> u8 { |
no outgoing calls
no test coverage detected