I should have been clearer. But first, thank you for the reply. I need to be able to discriminate which keyboard the response came from. For example monitor (1) & keyboard(1) pairing, and monitor (2) and keyboard (2) pairing. Is this possible, beyond going thru parallel port/USB switch boxes?
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/9989b0c7-11b1-43cc-8965-47c2171faba6%40googlegroups.com.
Other option, which is still on the higher end of implementation time, would be to connect the second kb to a microcontroller that can act as a USB keyboard /host/ and then forward the kb events for this kb from the microcontroller to the computer using a serial - USB interface. The events could then be accessed using py serial.
Thanks.
Sol
OP mentioned 'simultaneously' which he can NEVER achieve.
Or permanently engage the caps lock on one?
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/b7eb9aae-83c7-4692-a84c-0b3b8ec09869%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/c3799c8a-83ff-4ad3-8c55-72019a8e3e21%40googlegroups.com.
regarding cap lock, when using the default pyglet based keyboard events,I do not think the key constant will be changed if caps is on or off, but do the key modifiers for the event indicate if cap lock is on or not? If the answer is no, then using psychopy.iohub would solve this, as cap lock is one of the reported keyboard event modifier types and I believe the case of the keyboard event 'key' attribute will be upper or lower case depending on the cap lock state ( I.e. 'a' vs 'A' will be in the kb_event.key field when caps is off vs. on) as well.
Thanks, Sol