X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=tmk_core%2Fprotocol%2Fibmpc.h;h=4f682aa7214fddbb08e72a82790946b031f2c4b2;hb=12e5a3a13eb86852ad58c131e28ba29c5f09bb2d;hp=7c8ea84aa88454194eb0bed65c0520d90b20faf8;hpb=0cf9dfc888755e18a88f71f40863e3dc035ab91a;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/ibmpc.h b/tmk_core/protocol/ibmpc.h index 7c8ea84a..4f682aa7 100644 --- a/tmk_core/protocol/ibmpc.h +++ b/tmk_core/protocol/ibmpc.h @@ -71,10 +71,12 @@ POSSIBILITY OF SUCH DAMAGE. #define IBMPC_SET_LED 0xED #define IBMPC_PROTOCOL_NO 0 -#define IBMPC_PROTOCOL_AT 1 -#define IBMPC_PROTOCOL_XT_IBM 2 -#define IBMPC_PROTOCOL_XT_CLONE 3 -#define IBMPC_PROTOCOL_XT_ERROR 4 +#define IBMPC_PROTOCOL_AT 0x10 +#define IBMPC_PROTOCOL_AT_Z150 0x11 +#define IBMPC_PROTOCOL_XT 0x20 +#define IBMPC_PROTOCOL_XT_IBM 0x21 +#define IBMPC_PROTOCOL_XT_CLONE 0x22 +#define IBMPC_PROTOCOL_XT_ERROR 0x23 // Error numbers #define IBMPC_ERR_NONE 0 @@ -83,7 +85,7 @@ POSSIBILITY OF SUCH DAMAGE. #define IBMPC_ERR_TIMEOUT 0x20 #define IBMPC_ERR_FULL 0x40 #define IBMPC_ERR_ILLEGAL 0x80 -#define IBMPC_ERR_FF 0xFF +#define IBMPC_ERR_FF 0xF0 #define IBMPC_LED_SCROLL_LOCK 0 #define IBMPC_LED_NUM_LOCK 1