diff options
Diffstat (limited to 'keyboards/ploopyco/mouse')
-rw-r--r-- | keyboards/ploopyco/mouse/config.h | 74 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/info.json | 25 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/default/keymap.c | 25 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c | 27 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md | 3 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/drashna/config.h | 31 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/drashna/keymap.c | 41 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/drashna/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/uqs/keymap.c | 36 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/uqs/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/via/config.h | 21 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/via/keymap.c | 29 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/mouse.h | 61 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/readme.md | 66 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/rules.mk | 29 |
17 files changed, 0 insertions, 477 deletions
diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h deleted file mode 100644 index 6a6713557b..0000000000 --- a/keyboards/ploopyco/mouse/config.h +++ /dev/null @@ -1,74 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 1 -#define MATRIX_COLS 8 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define DIRECT_PINS \ - { \ - { D4, D2, E6, B6, D7, C6, C7, B7 } \ - } - -// These pins are not broken out, and cannot be used normally. -// They are set as output and pulled high, by default -#define UNUSABLE_PINS \ - { B4, D6, F1, F5, F6, F7 } - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -#define USB_MAX_POWER_CONSUMPTION 100 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 3 - -#define RGB_DI_PIN B5 -#define RGBLED_NUM 4 -#define RGBLIGHT_LIMIT_VAL 40 -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL - -// #define DEBUG_LED_PIN F7 - -/* PMW33XX Settings */ -#define PMW33XX_CS_PIN B0 diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json deleted file mode 100644 index f672336c25..0000000000 --- a/keyboards/ploopyco/mouse/info.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "keyboard_name": "Mouse", - "manufacturer": "PloopyCo", - "url": "www.ploopy.co", - "maintainer": "drashna", - "usb": { - "vid": "0x5043", - "pid": "0x4D6F", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"x":1, "y":0, "h":2}, - {"x":2, "y":0, "h":2}, - {"x":3, "y":0.25, "h":1.25}, - {"x":4, "y":0, "h":2}, - {"x":5, "y":0, "h":2}, - {"x":0, "y":0}, - {"x":0, "y":1}, - {"x":3, "y":1.5} - ] - } - } -} diff --git a/keyboards/ploopyco/mouse/keymaps/default/keymap.c b/keyboards/ploopyco/mouse/keymaps/default/keymap.c deleted file mode 100644 index 8145ffb1c3..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/default/keymap.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H - -// safe range starts at `PLOOPY_SAFE_RANGE` instead. - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(/* Base */ - C(KC_C), KC_BTN1, KC_BTN3, KC_BTN2, C(KC_V), KC_BTN4, KC_BTN5, DPI_CONFIG) -}; diff --git a/keyboards/ploopyco/mouse/keymaps/default/readme.md b/keyboards/ploopyco/mouse/keymaps/default/readme.md deleted file mode 100644 index 4618c83c05..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for PloopyCo Mouse diff --git a/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c b/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c deleted file mode 100644 index a072dfceca..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/drag_scroll/keymap.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(/* Base */ - C(KC_C), KC_BTN1, KC_BTN3, LT(1, KC_BTN2), C(KC_V), KC_BTN4, KC_BTN5, DPI_CONFIG), - [1] = LAYOUT(/* Base */ - _______, DRAG_SCROLL, _______, _______, _______, _______, _______, QK_BOOT), - -}; diff --git a/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md b/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md deleted file mode 100644 index ddf5eb7084..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/drag_scroll/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The Drag Scroll keymap for PloopyCo Mouse - -This is a sample keymap showing off what you can do with the custom callback drivers. diff --git a/keyboards/ploopyco/mouse/keymaps/drashna/config.h b/keyboards/ploopyco/mouse/keymaps/drashna/config.h deleted file mode 100644 index 1dc1b7695f..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/drashna/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#undef RGBLIGHT_LIMIT_VAL -#define RGBLIGHT_LIMIT_VAL 255 -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_SLEEP - -#define MOUSE_EXTENDED_REPORT diff --git a/keyboards/ploopyco/mouse/keymaps/drashna/keymap.c b/keyboards/ploopyco/mouse/keymaps/drashna/keymap.c deleted file mode 100644 index 056a1f7903..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/drashna/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H - -// safe range starts at `PLOOPY_SAFE_RANGE` instead. - -// clang-format off -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - C(KC_C), KC_BTN1, KC_BTN3, KC_BTN2, MO(1), KC_BTN4, KC_BTN5, DPI_CONFIG), - [1] = LAYOUT( - RGB_HUI, RGB_MOD, RGB_TOG, RGB_RMOD, MO(1), KC_VOLU, KC_VOLD, QK_BOOT) -}; -// clang-format on - -#ifdef RGBLIGHT_ENABLE -void eeconkfig_init_user(void) { - rgblight_enable(); -# ifdef RGBLIGHT_EFFECT_TWINKLE - rgblight_mode(RGBLIGHT_MODE_TWINKLE + 5); -# else - rgblight_mode(RGBLIGHT_MODE_BREATHING + 5); -# endif - rgblight_sethsv(HSV_MAGENTA); -} -#endif diff --git a/keyboards/ploopyco/mouse/keymaps/drashna/rules.mk b/keyboards/ploopyco/mouse/keymaps/drashna/rules.mk deleted file mode 100644 index bd3927a4b1..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/drashna/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -USER_NAME := not_drashna -BOOTLOADER = qmk-hid - -RGBLIGHT_ENABLE = yes -CONSOLE_ENABLE = no -LTO_ENABLE = yes diff --git a/keyboards/ploopyco/mouse/keymaps/uqs/keymap.c b/keyboards/ploopyco/mouse/keymaps/uqs/keymap.c deleted file mode 100644 index 564dad13df..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/uqs/keymap.c +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2022 Ulrich Spörlein (@uqs) -// SPDX-License-Identifier: GPL-2.0-or-later -// vi:et sw=4: - -#include QMK_KEYBOARD_H - -enum custom_keycodes { - DBL_CLK_NO = SAFE_RANGE, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // This works fine in xev(1) or a browser, but not in the game where I - // would want it. Maybe need to increase the delay? Also needs to be - // rewritten to use Deferred Execution. - case DBL_CLK_NO: - if (record->event.pressed) { - tap_code(KC_BTN2); - wait_ms(150); - tap_code(KC_BTN2); - wait_ms(300); - tap_code(KC_N); - } - return false; - } - return true; -} - - -// Layout is: -// left-most, M1, M3, M2, right-most, fwd, back (on side), tiny middle one - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(KC_E, KC_BTN1, KC_BTN3, KC_BTN2, KC_LSFT, KC_BTN4, KC_BTN5, DF(1)), // shooters - [1] = LAYOUT(KC_1, KC_BTN1, KC_Y, KC_BTN2, DBL_CLK_NO, KC_N, KC_Y, DF(0)), // stardew valley, sword on 1 -}; diff --git a/keyboards/ploopyco/mouse/keymaps/uqs/rules.mk b/keyboards/ploopyco/mouse/keymaps/uqs/rules.mk deleted file mode 100644 index 59222a688a..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/uqs/rules.mk +++ /dev/null @@ -1 +0,0 @@ -#VIA_ENABLE = yes diff --git a/keyboards/ploopyco/mouse/keymaps/via/config.h b/keyboards/ploopyco/mouse/keymaps/via/config.h deleted file mode 100644 index 0ba4c7e0c8..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/via/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define DYNAMIC_KEYMAP_LAYER_COUNT 8 diff --git a/keyboards/ploopyco/mouse/keymaps/via/keymap.c b/keyboards/ploopyco/mouse/keymaps/via/keymap.c deleted file mode 100644 index dd5e7eb5a7..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/via/keymap.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(C(KC_C), KC_BTN1, KC_BTN3, KC_BTN2, C(KC_V), KC_BTN4, KC_BTN5, DPI_CONFIG), - [1] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [2] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [3] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [4] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [5] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [6] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______), - [7] = LAYOUT(_______, _______, _______, _______, _______, _______, _______, _______) -}; diff --git a/keyboards/ploopyco/mouse/keymaps/via/rules.mk b/keyboards/ploopyco/mouse/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/ploopyco/mouse/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h deleted file mode 100644 index 8383049aa5..0000000000 --- a/keyboards/ploopyco/mouse/mouse.h +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2019 Sunjun Kim - * Copyright 2020 Ploopy Corporation - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "quantum.h" -#include "analog.h" -#include "opt_encoder.h" - -// Sensor defs -#define OPT_ENC1 F0 -#define OPT_ENC2 F4 -#define OPT_ENC1_MUX 0 -#define OPT_ENC2_MUX 4 - -void process_wheel(void); - -#define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \ - { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, } - -typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; -} keyboard_config_t; - -extern keyboard_config_t keyboard_config; -extern uint16_t dpi_array[]; - -enum ploopy_keycodes { -#ifdef VIA_ENABLE - DPI_CONFIG = USER00, -#else - DPI_CONFIG = SAFE_RANGE, -#endif - DRAG_SCROLL, -#ifdef VIA_ENABLE - PLOOPY_SAFE_RANGE = SAFE_RANGE, -#else - PLOOPY_SAFE_RANGE, -#endif -}; - -bool encoder_update_user(uint8_t index, bool clockwise); -bool encoder_update_kb(uint8_t index, bool clockwise); diff --git a/keyboards/ploopyco/mouse/readme.md b/keyboards/ploopyco/mouse/readme.md deleted file mode 100644 index af3cb3520f..0000000000 --- a/keyboards/ploopyco/mouse/readme.md +++ /dev/null @@ -1,66 +0,0 @@ -# Ploopyco Mouse - -![Ploopyco Mouse](https://ploopy.co/wp-content/uploads/2021/06/g1.jpeg) - -It's a DIY, QMK Powered Mouse!!!! - - -* Keyboard Maintainer: [PloopyCo](https://github.com/ploopyco), [Drashna Jael're](https://github.com/drashna/), [Germ](https://github.com/germ/) -* Hardware Supported: ATMega32u4 8MHz(3.3v) -* Hardware Availability: [Store](https://ploopy.co), [GitHub](https://github.com/ploopyco) - -Make example for this keyboard (after setting up your build environment): - - make ploopyco/mouse:default:flash - -To jump to the bootloader, hold down "Button 4" (the "forward" button on the left side) - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - -# Customizing your PloopyCo Mouse - -While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change. Such as adding DPI control, or to use the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor. - -The default behavior for this is: - -```c -void process_wheel_user(report_mouse_t* mouse_report, int16_t h, int16_t v) { - mouse_report->h = h; - mouse_report->v = v; -} - -void process_mouse_user(report_mouse_t* mouse_report, int16_t x, int16_t y) { - mouse_report->x = x; - mouse_report->y = y; -} -``` - -This should allow you to more heavily customize the behavior. - -Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. - -Additionally, you can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. - -To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. - -```c -#define PLOOPY_DPI_OPTIONS { 1200, 1600, 2400 } -#define PLOOPY_DPI_DEFAULT 1 -``` -The `PLOOPY_DPI_OPTIONS` array sets the values that you want to be able to cycle through, and the order they are in. The "default" define lets the firmware know which of these options is the default and should be loaded by default. - -The `DPI_CONFIG` macro will cycle through the values in the array, each time you hit it. And it stores this value in persistent memory, so it will load it the next time the device powers up. - -## Drag Scroll - -Drag Sroll is a custom keycode for the Ploopy devices that allow you to hold or tap a button and have the mouse movement translate into scrolling instead. - -Nothing needs to be enabled to use this functionality. Just add the `DRAG_SCROLL` to your keymap. - -### Drag Scroll Configuration - -* `#define PLOOPY_DRAGSCROLL_MOMENTARY` - Makes the key into a momentary key, rather than a toggle. -* `#define PLOOPY_DRAGSCROLL_MULTIPLIER 0.75` - Sets the DPI multiplier to use when drag scroll is enabled. -* `#define PLOOPY_DRAGSCROLL_FIXED` - Normally, when activating Drag Scroll, it uses a fraction of the current DPI. You can define this to use a specific, set DPI rather than a fraction of the current DPI. - * `#define PLOOPY_DRAGSCROLL_DPI 100` - When the fixed DPI option is enabled, this sets the DPI to be used for Drag Scroll. -* `#define PLOOPY_DRAGSCROLL_INVERT` - This reverses the direction that the scroll is performed. diff --git a/keyboards/ploopyco/mouse/rules.mk b/keyboards/ploopyco/mouse/rules.mk deleted file mode 100644 index 840b5eba39..0000000000 --- a/keyboards/ploopyco/mouse/rules.mk +++ /dev/null @@ -1,29 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Processor frequency -F_CPU = 8000000 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -POINTING_DEVICE_ENABLE = yes -POINTING_DEVICE_DRIVER = pmw3360 -MOUSEKEY_ENABLE = yes # Mouse keys - -ENCODER_ENABLE := no -OPTS_DEF += -DENCODER_ENABLE - -QUANTUM_LIB_SRC += analog.c -SRC += opt_encoder.c |