(&self)
| 23 | |
| 24 | impl Commands { |
| 25 | pub fn to_pid(&self) -> u16 { |
| 26 | match self { |
| 27 | Self::LedMatrix(_) => LED_MATRIX_PID, |
| 28 | Self::B1Display(_) => B1_LCD_PID, |
| 29 | Self::C1Minimal(_) => 0x22, |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /// RAW HID and VIA commandline for QMK devices |