Dec-24-2017, 03:50 PM
Hi,
I have made some progress into the not-so-easy listening to input from USB busses.
The setup:
RPi 3, python
I have 3 (identical) numerical keypads attached to 3 USB ports.
I have succeeded in reading vendor & product number and the bus numbers of the USB busses (each boot they are different,
but that is not a problem) Of course vendor & product number are 3x the same.
3 people will be typing 1-digit numbers on the keypads, each one and they stop.(actually answering multiple choice questions)
What i have to do is figure out who typed which number.
I imagine that if i can associate the bus number to the typed number and then parse,
i'm on my way.
But how do i get started, what method ...?
Thanks
Paul
I have made some progress into the not-so-easy listening to input from USB busses.
The setup:
RPi 3, python
I have 3 (identical) numerical keypads attached to 3 USB ports.
I have succeeded in reading vendor & product number and the bus numbers of the USB busses (each boot they are different,
but that is not a problem) Of course vendor & product number are 3x the same.
3 people will be typing 1-digit numbers on the keypads, each one and they stop.(actually answering multiple choice questions)
What i have to do is figure out who typed which number.
I imagine that if i can associate the bus number to the typed number and then parse,
i'm on my way.
But how do i get started, what method ...?
Thanks
Paul