Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I am fiddling with the PS2 library and would like to set a flag when the BREAK or Ctrl-BREAK key is pressed even when the program is not reading the keyboard. Can this be done inside the clk interrupt of the PS2 routines ? I came up with something like this in PS2KB.cpp:
It seems to work as long as I don't press other keys before the Ctrl-Break, now for the Break key alone I have to check for the combination E1 14 77 E1 F0 14 F0 77 The flags need to be set regardless what is in the keyboard buffer. Any ideas ?
Gert