unlock all features for new rp2040 version of ploopy mouse (#894)
* remove keyboard revision wide feature locks to let rev1_003 use its full feature set * add feature removals to let keyboard compile small enough to fit * change folder structure and add new keyboard id fixes vial feature set for old and new ploopy mouse. this is achieved by moving the keymaps folder into the respective folders. also change the keyboard id for the new revision. * remove commented out lines * remove added newline * remove all comments
This commit is contained in:
parent
06563c902c
commit
ee6b9db3e1
8 changed files with 124 additions and 4 deletions
|
|
@ -3,14 +3,10 @@ F_CPU = 8000000
|
||||||
|
|
||||||
POINTING_DEVICE_DRIVER = pmw3360
|
POINTING_DEVICE_DRIVER = pmw3360
|
||||||
|
|
||||||
# add vial config
|
|
||||||
VIA_ENABLE = yes
|
VIA_ENABLE = yes
|
||||||
VIAL_ENABLE = yes
|
VIAL_ENABLE = yes
|
||||||
|
|
||||||
TAP_DANCE_ENABLE = no
|
TAP_DANCE_ENABLE = no
|
||||||
KEY_OVERRIDE_ENABLE = no
|
KEY_OVERRIDE_ENABLE = no
|
||||||
|
|
||||||
|
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
# VIAL_INSECURE = yes
|
|
||||||
27
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/config.h
Normal file
27
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
/* 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 PLOOPY_DPI_OPTIONS { 800, 1200, 1600, 2400 }
|
||||||
|
#define PLOOPY_DPI_DEFAULT 0
|
||||||
|
|
||||||
|
#define VIAL_KEYBOARD_UID {0x78, 0x87, 0x0E, 0x2A, 0x8C, 0xB2, 0xB4, 0x7A}
|
||||||
|
|
||||||
|
#define VIAL_UNLOCK_COMBO_ROWS {0, 0}
|
||||||
|
#define VIAL_UNLOCK_COMBO_COLS {4, 5}
|
||||||
23
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/keymap.c
Normal file
23
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
/* 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, KC_BTN2, C(KC_V), KC_BTN4, KC_BTN5, DPI_CONFIG)
|
||||||
|
};
|
||||||
7
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/rules.mk
Normal file
7
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Processor frequency
|
||||||
|
F_CPU = 8000000
|
||||||
|
|
||||||
|
POINTING_DEVICE_DRIVER = pmw3360
|
||||||
|
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
VIAL_ENABLE = yes
|
||||||
67
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/vial.json
Normal file
67
keyboards/ploopyco/mouse/rev1_003/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
{
|
||||||
|
"name": "PloopyCo Mouse",
|
||||||
|
"vendorId": "0x5043",
|
||||||
|
"productId": "0x4D6F",
|
||||||
|
"matrix": {
|
||||||
|
"rows": 1,
|
||||||
|
"cols": 8
|
||||||
|
},
|
||||||
|
"customKeycodes": [
|
||||||
|
{
|
||||||
|
"name": "DPI Config",
|
||||||
|
"title": "DPI Config: Cycles through the DPI settings",
|
||||||
|
"shortName": "DPI"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Drag Scroll",
|
||||||
|
"title": "Drag Scroll: Enables you to scroll instead of moving the cursor",
|
||||||
|
"shortName": "DragScl"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"lighting": "none",
|
||||||
|
"layouts": {
|
||||||
|
"keymap": [
|
||||||
|
[
|
||||||
|
"0,4",
|
||||||
|
{
|
||||||
|
"h": 2
|
||||||
|
},
|
||||||
|
"0,6",
|
||||||
|
{
|
||||||
|
"h": 2
|
||||||
|
},
|
||||||
|
"0,0",
|
||||||
|
{
|
||||||
|
"x": 1,
|
||||||
|
"h": 2
|
||||||
|
},
|
||||||
|
"0,2",
|
||||||
|
{
|
||||||
|
"h": 2
|
||||||
|
},
|
||||||
|
"0,5"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"y": -0.75,
|
||||||
|
"x": 3,
|
||||||
|
"h": 1.25
|
||||||
|
},
|
||||||
|
"0,1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"y": -0.25
|
||||||
|
},
|
||||||
|
"0,3"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"y": -0.5,
|
||||||
|
"x": 3
|
||||||
|
},
|
||||||
|
"0,7"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue