pub fn normalize_controller_key(port_name: &str) -> String
A port name without the number some systems append, such as "APC40 [2]" → "APC40", so a controller keeps its mapping when it is plugged in again.
"APC40 [2]"
"APC40"