A version of the PS/2 library customized for MbedConsole. Also includes a few things that make it's behavior easier to control and a few bug fixes.
Fork of PS2 by
Diff: PS2Keyboard.cpp
- Revision:
- 5:ead90ca02b18
- Parent:
- 4:fc7f4cc9fbe8
--- a/PS2Keyboard.cpp Wed Sep 26 05:21:38 2012 +0000 +++ b/PS2Keyboard.cpp Fri Sep 28 04:03:35 2012 +0000 @@ -17,7 +17,7 @@ bool PS2Keyboard::processing(keyboard_event_t *p) { bool emit = false; const int c = ' ';//ps2kb.getc(); - NVIC_SetPriority( EINT3_IRQn, 255 ); + //NVIC_SetPriority( EINT3_IRQn, 2 ); //printf("character: %x\r\n", c); if (0 <= c) { //printf("Count: %i\r\n", count);