X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Fps2.h;h=483eea7209a769d10790f19952728f974ab72ccf;hb=37cf2607648a40bbac0b37f7e0838f240e66450a;hp=b780d01a29079029f9085c532346042d7e5be54a;hpb=9ae9742ac59b18cf989370f53d669daeb75bd7a3;p=max%2Ftmk_keyboard.git diff --git a/protocol/ps2.h b/protocol/ps2.h index b780d01a..483eea72 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