Page 1 of 1

send a keystroke received from a raspbian "contemporarily" to another

Posted: Sat Apr 13, 2019 2:58 pm
by matteoraggi
Hi, I need that 2 raspbian will receive the same keystroke received from one of them (just CROSS TO LEFT and CROSS TO RIGHT, nothign else) simultaneously. Is that possible? how?

Re: send a keystroke received from a raspbian "contemporarily" to another

Posted: Thu Apr 25, 2019 1:29 pm
by omegaman477
matteoraggi wrote:
Sat Apr 13, 2019 2:58 pm
Hi, I need that 2 raspbian will receive the same keystroke received from one of them (just CROSS TO LEFT and CROSS TO RIGHT, nothign else) simultaneously. Is that possible? how?
"Contemporarily" what a great word, which it is not. Its better to use simpler English, than make stuff up.

We need more information.

1. Are the keystrokes from a manual keyboard, connected via USB or Serial?
2. "CROSS TO LEFT and CROSS TO RIGHT" does not make any sense. What are the actual keystroke (or keystrokes) you are trying to detect?
3. How critical is the timing? Does the keystrokes need to be presented to each RPi exactly at the same time (Contemporarily ;-) or will a nominal delay be acceptable as one Rpi passes the keystroke data to the next?

4. Maybe explain the application better, what is the purpose of this Contemporarily Collection Device?

Re: send a keystroke received from a raspbian "contemporarily" to another

Posted: Thu Apr 25, 2019 1:33 pm
by matteoraggi
I tryed to use https://github.com/debauchee/barrier both on windows and raspbian but I was not able to make it works..

Here the answers:
1. keystroke is connected trough bluetooth
2. keystroke left, keystroke right, thanks to clarify my bad english :-)
3. a nominal delay is acceptable as one Rpi passes the keystroke data to the next, thanks :-)