From 532e100450615ef1e63e2eed548c38d0c4fa688b Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 28 Nov 2013 10:42:41 +0900 Subject: Add ps2_usart.c and fix set_led at USB wake --- protocol/ps2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocol/ps2.h') diff --git a/protocol/ps2.h b/protocol/ps2.h index b780d01a29..483eea7209 100644 --- a/protocol/ps2.h +++ b/protocol/ps2.h @@ -70,11 +70,13 @@ POSSIBILITY OF SUCH DAMAGE. #define PS2_RESEND 0xFE #define PS2_SET_LED 0xED +// TODO: error numbers #define PS2_ERR_NONE 0 #define PS2_ERR_STARTBIT1 1 #define PS2_ERR_STARTBIT2 2 #define PS2_ERR_STARTBIT3 3 #define PS2_ERR_PARITY 0x10 +#define PS2_ERR_NODATA 0x20 #define PS2_LED_SCROLL_LOCK 0 #define PS2_LED_NUM_LOCK 1 -- cgit v1.2.3