USB Keyboard and mouse Example. Based on USBMouse
Fork of USBKeyboardMouse by
USBKeyboardMouse/USBKeyboard.cpp@1:9c83250ce43b, 2013-05-08 (annotated)
- Committer:
- Wabouz
- Date:
- Wed May 08 09:33:27 2013 +0000
- Revision:
- 1:9c83250ce43b
- Parent:
- 0:86603687efec
Un petit programme.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
zackc | 0:86603687efec | 1 | #include "USBKeyboard.h" |
zackc | 0:86603687efec | 2 | |
zackc | 0:86603687efec | 3 | USBKeyboard::USBKeyboard() { |
zackc | 0:86603687efec | 4 | // _buttons = 0; |
zackc | 0:86603687efec | 5 | } |
zackc | 0:86603687efec | 6 | |
zackc | 0:86603687efec | 7 | void USBKeyboard::sendKeys(char *szString) { |
zackc | 0:86603687efec | 8 | keyboard(szString); |
zackc | 0:86603687efec | 9 | } |
zackc | 0:86603687efec | 10 | |
zackc | 0:86603687efec | 11 | void USBKeyboard::sendKey(char c) { |
zackc | 0:86603687efec | 12 | keyboard(c); |
zackc | 0:86603687efec | 13 | } |