X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Fibmpc.h;h=64bc2c8ad428040842d98a9a96e249a24b2c8bf0;hb=97782dd59e2966b568cdb7a58adaa988acc79d9b;hp=c994ddb63b6321e7f7628423eeba90f3a65a6c17;hpb=c6a6049bc85609b05a6502dbbed524d669b2b7a5;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/ibmpc.h b/tmk_core/protocol/ibmpc.h index c994ddb6..64bc2c8a 100644 --- a/tmk_core/protocol/ibmpc.h +++ b/tmk_core/protocol/ibmpc.h @@ -72,6 +72,7 @@ POSSIBILITY OF SUCH DAMAGE. #define IBMPC_PROTOCOL_NO 0 #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 @@ -187,11 +188,17 @@ static inline void idle(void) data_hi(); } -/* inhibit device to send */ +/* inhibit device to send(AT), soft reset(XT) */ static inline void inhibit(void) { clock_lo(); data_hi(); } +/* inhibit device to send(XT) */ +static inline void inhibit_xt(void) +{ + clock_hi(); + data_lo(); +} #endif