MCPcopy Index your code
hub / github.com/FrameworkComputer/inputmodule-rs / to_pid

Method to_pid

inputmodule-control/src/main.rs:25–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23
24impl 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

Callers 1

find_serialdevsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected