summaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
Diffstat (limited to 'hid')
-rw-r--r--hid/src/main.cpp5
-rw-r--r--hid/src/usb/hid.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index 47ae9d76..732cbde2 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -268,10 +268,9 @@ static void _sendResponse(uint8_t code) {
break;
}
}
- if(_mouse->getType() != DRIVERS::DUMMY) {
+ if (_mouse->getType() != DRIVERS::DUMMY) {
response[1] |= (_mouse->isOffline() ? PROTO::PONG::MOUSE_OFFLINE : 0);
- switch (_mouse->getType())
- {
+ switch (_mouse->getType()) {
case DRIVERS::USB_MOUSE_ABSOLUTE_WIN98:
response[2] |= PROTO::OUTPUTS1::MOUSE::USB_WIN98;
break;
diff --git a/hid/src/usb/hid.h b/hid/src/usb/hid.h
index 6b709a32..ca923352 100644
--- a/hid/src/usb/hid.h
+++ b/hid/src/usb/hid.h
@@ -187,7 +187,7 @@ class UsbMouseAbsolute : public DRIVERS::Mouse {
}
};
-class UsbMouseRelative : public DRIVERS::Mouse{
+class UsbMouseRelative : public DRIVERS::Mouse {
public:
UsbMouseRelative() : DRIVERS::Mouse(DRIVERS::USB_MOUSE_RELATIVE) {}