found it http://puredata.hurleur.com/sujet-3933-multiple-mice-keyboards-hid-input
ha ha
billy@resonator:~$ xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ HP Mouse id=8 [slave pointer (2)] ⎜ ↳ Microsoft Comfort Curve Keyboard 2000 id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Microsoft Comfort Curve Keyboard 2000 id=11 [slave keyboard (3)] ↳ Apple, Inc Apple Keyboard id=9 [slave keyboard (3)] ↳ Apple, Inc Apple Keyboard id=10 [slave keyboard (3)]