I tried it. Apparently I have 22 HID devices
After adding code in the demo script to print %DeviceNumber%,
I was mostly able to distinguish between the same key being pressed
on three different numeric keypads.
This is /potentially/ good news for those wanting a cheap way to obtain extra programmable keys - /without/ splashing out on a programmable keyboard.
However, the value returned in %DeviceNumber% proved not to be 100% reliable. I /suspect/ this is not a show-stopping problem -
but it looks like it may well be an irritation.
I have not explored what happens to %DeviceNumber% when the
machine is rebooted, or when USB devices are plugged/unplugged.
I also tried an unprogrammed X-Keys device. No juice - keypresses
produced no response.
--
_________
|im |yler
http://timtyler.org/ tim@tt1lock.org Remove lock to reply.