I created a VHDL description to work with the PS2 interface of a Nexys-3 board, but I'm having a problem with the arrow keys. The right arrow key - code E0 74 - works perfectly, but strangely the other three - codes E0 75, E0 6B and E0 72 - do not! I tested with the Ctrl key - code E0 14 - and with the Alt GR - code E0 11 - and they also work perfectly. Since I was unable to understand the problem, I tried with another board - a Basys-3 - and with Vivado. The behavior was exactly the same. Then I picked up an old Spartan-3E board with a true PS2 connector and the whole arrow keys and the Ctrl and Alt GR worked perfectly (I singled these keys out because they are extended keys like the arrow keys).
I'm completely puzzled! Why the same description works in a board and in the other two boards only works with certain keys? The only visible difference among the boards is that the most recent Nexys-3 and Basys-3 use an emulator to emulate PS2, while the old Spartan-3E board does not. May there be the problem? As someone already experienced the same problem? Thank you.
Question
Manu
Hi,
I created a VHDL description to work with the PS2 interface of a Nexys-3 board, but I'm having a problem with the arrow keys. The right arrow key - code E0 74 - works perfectly, but strangely the other three - codes E0 75, E0 6B and E0 72 - do not! I tested with the Ctrl key - code E0 14 - and with the Alt GR - code E0 11 - and they also work perfectly. Since I was unable to understand the problem, I tried with another board - a Basys-3 - and with Vivado. The behavior was exactly the same. Then I picked up an old Spartan-3E board with a true PS2 connector and the whole arrow keys and the Ctrl and Alt GR worked perfectly (I singled these keys out because they are extended keys like the arrow keys).
I'm completely puzzled! Why the same description works in a board and in the other two boards only works with certain keys? The only visible difference among the boards is that the most recent Nexys-3 and Basys-3 use an emulator to emulate PS2, while the old Spartan-3E board does not. May there be the problem? As someone already experienced the same problem? Thank you.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.