From 21beb59cb6068e0026c53e3609c6bbc917873a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 5 Oct 2017 14:21:37 +0200 Subject: [PATCH] Add merge sensor state to getKeyboardState() --- right/src/usb_protocol_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index d7e4e7e..8a0e5c4 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -83,6 +83,7 @@ void setTestLed(void) UhkModuleVars[0].isTestLedOn = ledState; } +// To be removed. Now it's already part of getKeyboardState() void readMergeSensor(void) { SetResponseByte(MERGE_SENSOR_IS_MERGED); @@ -222,6 +223,7 @@ void writeConfiguration(bool isHardware) void getKeyboardState(void) { GenericHidOutBuffer[1] = IsEepromBusy; + GenericHidOutBuffer[2] = MERGE_SENSOR_IS_MERGED; } void getDebugInfo(void)