MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / row_count

Method row_count

src/info.rs:169–177  ·  view source on GitHub ↗

Amount of button rows the Stream Deck kind has

(&self)

Source from the content-addressed store, hash-verified

167
168 /// Amount of button rows the Stream Deck kind has
169 pub fn row_count(&self) -> u8 {
170 match self {
171 Kind::Original | Kind::OriginalV2 | Kind::Mk2 | Kind::Mk2Scissor | Kind::Mk2Module => 3,
172 Kind::Mini | Kind::MiniMk2 | Kind::MiniDiscord | Kind::MiniMk2Module => 2,
173 Kind::Xl | Kind::XlV2 | Kind::XlV2Module | Kind::PlusXl => 4,
174 Kind::Pedal => 1,
175 Kind::Neo | Kind::Plus => 2,
176 }
177 }
178
179 /// Amount of button columns the Stream Deck kind has
180 pub fn column_count(&self) -> u8 {

Callers 1

key_layoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected