diff options
Diffstat (limited to 'docs/ja/feature_pointing_device.md')
| -rw-r--r-- | docs/ja/feature_pointing_device.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ja/feature_pointing_device.md b/docs/ja/feature_pointing_device.md index 8b26ac102..1d655627d 100644 --- a/docs/ja/feature_pointing_device.md +++ b/docs/ja/feature_pointing_device.md | |||
| @@ -32,7 +32,7 @@ report_mouse_t (ここでは "mouseReport") が以下のプロパティを持つ | |||
| 32 | 32 | ||
| 33 | ```c | 33 | ```c |
| 34 | case MS_SPECIAL: | 34 | case MS_SPECIAL: |
| 35 | report_mouse_t currentReport = pointing_device_get_report(); | 35 | report_mouse_t currentReport = pointing_device_get_report(); |
| 36 | if (record->event.pressed) { | 36 | if (record->event.pressed) { |
| 37 | currentReport.v = 127; | 37 | currentReport.v = 127; |
| 38 | currentReport.h = 127; | 38 | currentReport.h = 127; |
| @@ -42,7 +42,7 @@ case MS_SPECIAL: | |||
| 42 | currentReport.h = -127; | 42 | currentReport.h = -127; |
| 43 | currentReport.buttons &= ~MOUSE_BTN1; | 43 | currentReport.buttons &= ~MOUSE_BTN1; |
| 44 | } | 44 | } |
| 45 | pointing_device_set_report(currentReport); | 45 | pointing_device_set_report(currentReport); |
| 46 | break; | 46 | break; |
| 47 | ``` | 47 | ``` |
| 48 | 48 | ||
