From df098bd075e26fb6ecc75b2f7be5923371741677 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 15 Aug 2021 17:34:42 +0300 Subject: win95 runtime switching --- hid/src/proto.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'hid/src/proto.h') diff --git a/hid/src/proto.h b/hid/src/proto.h index 7a273a30..18124d74 100644 --- a/hid/src/proto.h +++ b/hid/src/proto.h @@ -53,18 +53,20 @@ namespace PROTO { const uint8_t PS2 = 0b00000011; }; namespace MOUSE { - const uint8_t MASK = 0b00111000; - const uint8_t USB_ABS = 0b00001000; - const uint8_t USB_REL = 0b00010000; - const uint8_t PS2 = 0b00011000; + const uint8_t MASK = 0b00111000; + const uint8_t USB_ABS = 0b00001000; + const uint8_t USB_REL = 0b00010000; + const uint8_t PS2 = 0b00011000; + const uint8_t USB_WIN98 = 0b00100000; }; }; namespace OUTPUTS2 { // Complex response - const uint8_t CONNECTABLE = 0b10000000; - const uint8_t CONNECTED = 0b01000000; - const uint8_t HAS_USB = 0b00000001; - const uint8_t HAS_PS2 = 0b00000010; + const uint8_t CONNECTABLE = 0b10000000; + const uint8_t CONNECTED = 0b01000000; + const uint8_t HAS_USB = 0b00000001; + const uint8_t HAS_PS2 = 0b00000010; + const uint8_t HAS_USB_WIN98 = 0b00000100; } namespace CMD { -- cgit v1.2.3