diff options
| author | tmk <nobody@nowhere> | 2013-11-28 10:42:41 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-11-28 11:31:48 +0900 |
| commit | 532e100450615ef1e63e2eed548c38d0c4fa688b (patch) | |
| tree | f09b8e4dc51fdca6a6ba0647b92cd672c7008ce9 /protocol/ps2.h | |
| parent | 9d26053f1c14da79336a64f800305660d1a71180 (diff) | |
| download | qmk_firmware-532e100450615ef1e63e2eed548c38d0c4fa688b.tar.gz qmk_firmware-532e100450615ef1e63e2eed548c38d0c4fa688b.zip | |
Add ps2_usart.c and fix set_led at USB wake
Diffstat (limited to 'protocol/ps2.h')
| -rw-r--r-- | protocol/ps2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol/ps2.h b/protocol/ps2.h index b780d01a2..483eea720 100644 --- a/protocol/ps2.h +++ b/protocol/ps2.h | |||
| @@ -70,11 +70,13 @@ POSSIBILITY OF SUCH DAMAGE. | |||
| 70 | #define PS2_RESEND 0xFE | 70 | #define PS2_RESEND 0xFE |
| 71 | #define PS2_SET_LED 0xED | 71 | #define PS2_SET_LED 0xED |
| 72 | 72 | ||
| 73 | // TODO: error numbers | ||
| 73 | #define PS2_ERR_NONE 0 | 74 | #define PS2_ERR_NONE 0 |
| 74 | #define PS2_ERR_STARTBIT1 1 | 75 | #define PS2_ERR_STARTBIT1 1 |
| 75 | #define PS2_ERR_STARTBIT2 2 | 76 | #define PS2_ERR_STARTBIT2 2 |
| 76 | #define PS2_ERR_STARTBIT3 3 | 77 | #define PS2_ERR_STARTBIT3 3 |
| 77 | #define PS2_ERR_PARITY 0x10 | 78 | #define PS2_ERR_PARITY 0x10 |
| 79 | #define PS2_ERR_NODATA 0x20 | ||
| 78 | 80 | ||
| 79 | #define PS2_LED_SCROLL_LOCK 0 | 81 | #define PS2_LED_SCROLL_LOCK 0 |
| 80 | #define PS2_LED_NUM_LOCK 1 | 82 | #define PS2_LED_NUM_LOCK 1 |
