diff options
Diffstat (limited to 'docs/feature_pointing_device.md')
-rw-r--r-- | docs/feature_pointing_device.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/feature_pointing_device.md b/docs/feature_pointing_device.md index 8ad428939..b90c341d5 100644 --- a/docs/feature_pointing_device.md +++ b/docs/feature_pointing_device.md | |||
@@ -1,10 +1,10 @@ | |||
1 | ## Pointing Device | 1 | # Pointing Device :id=pointing-device |
2 | 2 | ||
3 | Pointing Device is a generic name for a feature intended to be generic: moving the system pointer around. There are certainly other options for it - like mousekeys - but this aims to be easily modifiable and lightweight. You can implement custom keys to control functionality, or you can gather information from other peripherals and insert it directly here - let QMK handle the processing for you. | 3 | Pointing Device is a generic name for a feature intended to be generic: moving the system pointer around. There are certainly other options for it - like mousekeys - but this aims to be easily modifiable and lightweight. You can implement custom keys to control functionality, or you can gather information from other peripherals and insert it directly here - let QMK handle the processing for you. |
4 | 4 | ||
5 | To enable Pointing Device, uncomment the following line in your rules.mk: | 5 | To enable Pointing Device, uncomment the following line in your rules.mk: |
6 | 6 | ||
7 | ``` | 7 | ```makefile |
8 | POINTING_DEVICE_ENABLE = yes | 8 | POINTING_DEVICE_ENABLE = yes |
9 | ``` | 9 | ``` |
10 | 10 | ||
@@ -25,7 +25,7 @@ When the mouse report is sent, the x, y, v, and h values are set to 0 (this is d | |||
25 | 25 | ||
26 | In the following example, a custom key is used to click the mouse and scroll 127 units vertically and horizontally, then undo all of that when released - because that's a totally useful function. Listen, this is an example: | 26 | In the following example, a custom key is used to click the mouse and scroll 127 units vertically and horizontally, then undo all of that when released - because that's a totally useful function. Listen, this is an example: |
27 | 27 | ||
28 | ``` | 28 | ```c |
29 | case MS_SPECIAL: | 29 | case MS_SPECIAL: |
30 | report_mouse_t currentReport = pointing_device_get_report(); | 30 | report_mouse_t currentReport = pointing_device_get_report(); |
31 | if (record->event.pressed) | 31 | if (record->event.pressed) |