macro_rules! inputs {
    ($op:ident, $($idx:expr => ($name:expr, $desc:expr)),*) => { ... };
}