diff options
Diffstat (limited to 'users/drashna/pointing')
-rw-r--r-- | users/drashna/pointing/pointing.c | 17 | ||||
-rw-r--r-- | users/drashna/pointing/pointing.h | 17 | ||||
-rw-r--r-- | users/drashna/pointing/readme.md | 19 |
3 files changed, 23 insertions, 30 deletions
diff --git a/users/drashna/pointing/pointing.c b/users/drashna/pointing/pointing.c index 0198a8ae2..0bd14e477 100644 --- a/users/drashna/pointing/pointing.c +++ b/users/drashna/pointing/pointing.c | |||
@@ -1,18 +1,5 @@ | |||
1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
2 | * | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | 3 | ||
17 | #include "pointing.h" | 4 | #include "pointing.h" |
18 | 5 | ||
diff --git a/users/drashna/pointing/pointing.h b/users/drashna/pointing/pointing.h index 4ad16eeff..8b00ffc0e 100644 --- a/users/drashna/pointing/pointing.h +++ b/users/drashna/pointing/pointing.h | |||
@@ -1,18 +1,5 @@ | |||
1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
2 | * | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | 3 | ||
17 | #include "drashna.h" | 4 | #include "drashna.h" |
18 | 5 | ||
diff --git a/users/drashna/pointing/readme.md b/users/drashna/pointing/readme.md new file mode 100644 index 000000000..777075505 --- /dev/null +++ b/users/drashna/pointing/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # User Pointing Device customization | ||
2 | |||
3 | To disable the customized pointing device code and implement it at the keymap, add `CUSTOM_POINTING_DEVICE = no` to your `rules.mk`. | ||
4 | |||
5 | ## Automatic Mouse Layer | ||
6 | |||
7 | Movement on the optical sensor triggers a layer that has all of the mouse keys on that layer. After a set time, the layer will automatically turn itself off after 650ms. | ||
8 | |||
9 | Also, using mousekeys will extend the amount of time that the layer will stay active. | ||
10 | |||
11 | Additionally, layer keys for the mouse layer will lock the layer on. | ||
12 | |||
13 | ## Gaming | ||
14 | |||
15 | When the gamepad or diablo layers are enabled, the mouse layer is locked on, as well. | ||
16 | |||
17 | ## Keycodes | ||
18 | |||
19 | The only custom keycode for Pointing devices here is `KC_ACCEL`. This allow the mouse report to have an acceleration curve (exponential). | ||