mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
style fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user