a command line interface that can dynamically assign pins
Dependencies: TextLCD mbed PS2
keyname.h@0:4b04cc4cccb4, 2011-10-20 (annotated)
- Committer:
- gsulc
- Date:
- Thu Oct 20 20:27:04 2011 +0000
- Revision:
- 0:4b04cc4cccb4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gsulc | 0:4b04cc4cccb4 | 1 | #ifndef _KEYNAME_H |
gsulc | 0:4b04cc4cccb4 | 2 | #define _KEYNAME_H |
gsulc | 0:4b04cc4cccb4 | 3 | |
gsulc | 0:4b04cc4cccb4 | 4 | #include "mbed.h" |
gsulc | 0:4b04cc4cccb4 | 5 | #include "PS2Keyboard.h" |
gsulc | 0:4b04cc4cccb4 | 6 | |
gsulc | 0:4b04cc4cccb4 | 7 | char keyname(char scancode); |
gsulc | 0:4b04cc4cccb4 | 8 | int curstr(char* str,int numchar,char c); |
gsulc | 0:4b04cc4cccb4 | 9 | int keyhit(char* str,int numchar,PS2Keyboard::keyboard_event_t evt_kb); |
gsulc | 0:4b04cc4cccb4 | 10 | |
gsulc | 0:4b04cc4cccb4 | 11 | #endif |