adds support for ploopy mouse (#841)
* adds support for ploopy mouse while not using tapdance * Add Vial support for NCR80 ALPS SKFL/FR (#819) * add support * fix * Update config.h * Add vial support for the elongate delta (#826) * Add vial support for the elongate delta delta * removing uneeded parts * Add Vial support for desire65 (#830) * Add vial support for lazydesigners/kontro (#842) Add vial support for lazydesigners/kontro * added readme file for rorian04_kbd keyboard (#843) * added readme file for rorian05_kbd * Update readme.md * Add support for K1 Pro ISO RGB, bluetooth delete, USB cable only. (#838) * add keyboard kbd0/curve0/60_ansi (#834) * add keyboard kbd0/curve0/60_ansi * Update vial.json * Port Leviatan to VIAL (#829) * Port Swiss to VIAL (#827) * Port Swiss to VIAL * Revert some changes * feat: add VIAL support for xt60_singa (#824) * fix tapping force hold to use quick tap term internally (#839) * keebio/quefrency/rev5: reduce vial fw size * disable key override to save a lot of flash storage --------- Co-authored-by: Sắn <59417802+MaiTheSan@users.noreply.github.com> Co-authored-by: Patrick Muldoon <doon@labratsoftware.com> Co-authored-by: akyp <archerkeyboard2022@gmail.com> Co-authored-by: Jacky@LAZYDESIGNERS <jacky_lijun@126.com> Co-authored-by: Rorian04 <114996287+Rorian04@users.noreply.github.com> Co-authored-by: richud <github@richud.com> Co-authored-by: kbd0 <108237598+kbd0@users.noreply.github.com> Co-authored-by: Nam <hey@sunsetsonwheels.me> Co-authored-by: Yuri Paharev <blood13th@gmail.com> Co-authored-by: Jaeseok Lee <devsunb@gmail.com> Co-authored-by: Ilya Zhuravlev <whatever@xyz.is>
This commit is contained in:
parent
330084efbe
commit
1c129915f0
4 changed files with 156 additions and 0 deletions
50
keyboards/ploopyco/mouse/keymaps/vial/config.h
Normal file
50
keyboards/ploopyco/mouse/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
/* 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
|
||||||
|
|
||||||
|
// 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 }
|
||||||
|
|
||||||
|
/* disable action features */
|
||||||
|
//#define NO_ACTION_LAYER
|
||||||
|
//#define NO_ACTION_TAPPING
|
||||||
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
|
// #define DEBUG_LED_PIN F7
|
||||||
|
|
||||||
|
/* PMW33XX Settings */
|
||||||
|
#define PMW33XX_CS_PIN B0
|
||||||
|
|
||||||
|
#define ENCODER_BUTTON_COL 1
|
||||||
|
#define ENCODER_BUTTON_ROW 0
|
||||||
|
/* Custom encoder needs to specify just how many encoders we have */
|
||||||
|
#define NUM_ENCODERS 1
|
||||||
|
|
||||||
|
#define ENCODER_A_PINS { F0 }
|
||||||
|
#define ENCODER_B_PINS { F4 }
|
||||||
|
|
||||||
|
#define PLOOPY_DPI_OPTIONS { 800, 1200, 1600, 2400 }
|
||||||
|
#define PLOOPY_DPI_DEFAULT 0
|
||||||
|
|
||||||
|
#define VIAL_KEYBOARD_UID {0x84, 0x1C, 0x34, 0x08, 0xC9, 0xC5, 0xB4, 0x37}
|
||||||
|
|
||||||
|
#define VIAL_UNLOCK_COMBO_ROWS {0, 0}
|
||||||
|
#define VIAL_UNLOCK_COMBO_COLS {4, 5}
|
||||||
23
keyboards/ploopyco/mouse/keymaps/vial/keymap.c
Normal file
23
keyboards/ploopyco/mouse/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)
|
||||||
|
};
|
||||||
16
keyboards/ploopyco/mouse/keymaps/vial/rules.mk
Normal file
16
keyboards/ploopyco/mouse/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Processor frequency
|
||||||
|
F_CPU = 8000000
|
||||||
|
|
||||||
|
POINTING_DEVICE_DRIVER = pmw3360
|
||||||
|
|
||||||
|
# add vial config
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
VIAL_ENABLE = yes
|
||||||
|
|
||||||
|
TAP_DANCE_ENABLE = no
|
||||||
|
KEY_OVERRIDE_ENABLE = no
|
||||||
|
|
||||||
|
|
||||||
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
|
# VIAL_INSECURE = yes
|
||||||
67
keyboards/ploopyco/mouse/keymaps/vial/vial.json
Normal file
67
keyboards/ploopyco/mouse/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