![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Acts a USB HID keyboard, and socket server. Forwards characters from TCP ip socket to keyboard
Dependencies: mbed EthernetNetIf
USBKeyboardMouse/USBKeyboard.cpp@1:d866a9d23e49, 2018-12-14 (annotated)
- Committer:
- henryeherman
- Date:
- Fri Dec 14 01:15:44 2018 +0000
- Revision:
- 1:d866a9d23e49
- Parent:
- 0:beb124b81ef5
init
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
henryeherman | 0:beb124b81ef5 | 1 | #include "USBKeyboard.h" |
henryeherman | 0:beb124b81ef5 | 2 | |
henryeherman | 0:beb124b81ef5 | 3 | USBKeyboard::USBKeyboard() { |
henryeherman | 0:beb124b81ef5 | 4 | // _buttons = 0; |
henryeherman | 0:beb124b81ef5 | 5 | } |
henryeherman | 0:beb124b81ef5 | 6 | |
henryeherman | 0:beb124b81ef5 | 7 | void USBKeyboard::sendKeys(char *szString) { |
henryeherman | 0:beb124b81ef5 | 8 | keyboard(szString); |
henryeherman | 0:beb124b81ef5 | 9 | } |
henryeherman | 0:beb124b81ef5 | 10 | |
henryeherman | 0:beb124b81ef5 | 11 | void USBKeyboard::sendKey(char c) { |
henryeherman | 0:beb124b81ef5 | 12 | keyboard(c); |
henryeherman | 0:beb124b81ef5 | 13 | } |