fn distinct_runs(syms: &[u32], max: usize) -> Vec<&[u32]>
syms cut into consecutive runs of at most max distinct keysyms.
syms
max