|
|
|
@ -32,7 +32,7 @@ report_mouse_t (ここでは "mouseReport") が以下のプロパティを持つ
|
|
|
|
|
|
|
|
|
|
```c
|
|
|
|
|
case MS_SPECIAL:
|
|
|
|
|
report_mouse_t currentReport = pointing_device_get_report();
|
|
|
|
|
report_mouse_t currentReport = pointing_device_get_report();
|
|
|
|
|
if (record->event.pressed) {
|
|
|
|
|
currentReport.v = 127;
|
|
|
|
|
currentReport.h = 127;
|
|
|
|
@ -42,7 +42,7 @@ case MS_SPECIAL:
|
|
|
|
|
currentReport.h = -127;
|
|
|
|
|
currentReport.buttons &= ~MOUSE_BTN1;
|
|
|
|
|
}
|
|
|
|
|
pointing_device_set_report(currentReport);
|
|
|
|
|
pointing_device_set_report(currentReport);
|
|
|
|
|
break;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|