-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 keyboards in 1 board #27
Comments
Without knowing what board you are using and EACH keyboard has its OWN interrupt pin, it is difficult to see what your problem is. |
I tried with an Arduino mega pro (1 keyboard on pins 20 and 21 and the other keyboard on pins 2 and 3) and with an arduino pro micro (on pins 16 and 2 and the other keyboard on pins 15 and 3). #define DATAPIN 16 #define DATAPIN2 15 PS2KeyAdvanced keyboard; |
I'm seeing a similar issue with an ESP32 and 2 keyboards. Comment out the code and individually either works fine. If both are set up, only keyboard 2 works. Most of the time the keypresses end up tripping keyboard1.available() and are read as if they came from keyboard 1, although sometimes it does come through on keyboard2. Keypresses on Keyboard 1 don't do anything. EDIT: ps2kbdlib does work with dual keyboards on the ESP32. I also left the keyboard2 code commented out in the example, but I'm sure you can figure that out. |
Hello Paul, I would like to know if it can be connected and how, 2 (two) Ps2 keyboards to the same board, I was trying but I can't make them both work at the same time. Thanks
The text was updated successfully, but these errors were encountered: