diff options
author | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
commit | 9581289745736ce068a1040f44cec37a2ca8830d (patch) | |
tree | 24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/pabile/p18 | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/pabile/p18')
-rw-r--r-- | keyboards/pabile/p18/config.h | 36 | ||||
-rw-r--r-- | keyboards/pabile/p18/info.json | 35 | ||||
-rw-r--r-- | keyboards/pabile/p18/keymaps/default/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/pabile/p18/p18.c | 1 | ||||
-rw-r--r-- | keyboards/pabile/p18/p18.h | 16 | ||||
-rw-r--r-- | keyboards/pabile/p18/readme.md | 15 | ||||
-rw-r--r-- | keyboards/pabile/p18/rules.mk | 21 |
7 files changed, 0 insertions, 152 deletions
diff --git a/keyboards/pabile/p18/config.h b/keyboards/pabile/p18/config.h deleted file mode 100644 index a13313413d..0000000000 --- a/keyboards/pabile/p18/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2020 Pabile - -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 4 -#define MATRIX_COLS 5 - -/* pin-out for PROMICRO */ -#define MATRIX_ROW_PINS { D1, D0, D4, C6 } -#define MATRIX_COL_PINS { D2, D7, E6, B4, B5 } - -/* Encoder position for PROMICRO */ -#define ENCODERS_PAD_A { B6, F6 } -#define ENCODERS_PAD_B { F4, F5 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/pabile/p18/info.json b/keyboards/pabile/p18/info.json deleted file mode 100644 index d6338182c6..0000000000 --- a/keyboards/pabile/p18/info.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "keyboard_name": "P18 Macro Pad", - "manufacturer": "Pabile", - "url": "https://pabileonline.blogspot.com/", - "maintainer": "Pabile", - "usb": { - "vid": "0x6666", - "pid": "0x6668", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"x":1.25, "y":0}, - {"x":2.25, "y":0}, - {"x":3.25, "y":0}, - {"x":4.25, "y":0}, - {"x":1.25, "y":1}, - {"x":2.25, "y":1}, - {"x":3.25, "y":1}, - {"x":4.25, "y":1}, - {"x":0, "y":2}, - {"x":1.25, "y":2}, - {"x":2.25, "y":2}, - {"x":3.25, "y":2}, - {"x":4.25, "y":2}, - {"x":0, "y":3}, - {"x":1.25, "y":3}, - {"x":2.25, "y":3}, - {"x":3.25, "y":3}, - {"x":4.25, "y":3} - ] - } - } -} diff --git a/keyboards/pabile/p18/keymaps/default/keymap.c b/keyboards/pabile/p18/keymaps/default/keymap.c deleted file mode 100644 index 0223a450cd..0000000000 --- a/keyboards/pabile/p18/keymaps/default/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_P7, KC_P8, KC_P9, KC_PMNS, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_MUTE, KC_P1, KC_P2, KC_P3, KC_TAB, - KC_ESC, KC_DEL, KC_P0, KC_PDOT, KC_PENT - ) - -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder below the controller */ - if (clockwise) { - tap_code(KC_VOLD); /*volume down*/ - } else { - tap_code(KC_VOLU); /*volume up*/ - } - } else if (index == 1) { /* Second encoder */ - if (clockwise) { - tap_code(KC_WH_U); /*mouse wheel up*/ - } else { - tap_code(KC_WH_D); /*mouse wheel down*/ - } - } - return true; -} diff --git a/keyboards/pabile/p18/p18.c b/keyboards/pabile/p18/p18.c deleted file mode 100644 index 94e74a8315..0000000000 --- a/keyboards/pabile/p18/p18.c +++ /dev/null @@ -1 +0,0 @@ -#include "p18.h" diff --git a/keyboards/pabile/p18/p18.h b/keyboards/pabile/p18/p18.h deleted file mode 100644 index 3be26191ce..0000000000 --- a/keyboards/pabile/p18/p18.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k01, k02, k03, k04, \ - k11, k12, k13, k14, \ - k20, k21, k22, k23, k24, \ - k30, k31, k32, k33, k34 \ -) \ -{ \ - {KC_NO, k04, k03, k02, k01}, \ - {KC_NO, k14, k13, k12, k11}, \ - {k20, k24, k23, k22, k21}, \ - {k30, k34, k33, k32, k31} \ -} diff --git a/keyboards/pabile/p18/readme.md b/keyboards/pabile/p18/readme.md deleted file mode 100644 index 57478c2359..0000000000 --- a/keyboards/pabile/p18/readme.md +++ /dev/null @@ -1,15 +0,0 @@ -# P18 - -![render](https://i.imgur.com/CPtGiSL.png) - -A 18-key DIY Hotswap Macropad that accepts both Pro Micro and Adafruit Feather 32u4 Bluefruit LE. - -* Keyboard Maintainer: [pabile](https://github.com/pabile) -* Hardware Supported: Pabile P18 PCB with Pro Micro or Adafruit Feather 32u4 Bluefruit LE -* Hardware Availability: [Info at pabileonline.blogspot.com](https://pabileonline.blogspot.com/search/label/pabile18) - -Make example for this keyboard (after setting up your build environment): - - make pabile/p18:default - -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). diff --git a/keyboards/pabile/p18/rules.mk b/keyboards/pabile/p18/rules.mk deleted file mode 100644 index 9c9341f36a..0000000000 --- a/keyboards/pabile/p18/rules.mk +++ /dev/null @@ -1,21 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -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 -UNICODE_ENABLE = yes # Unicode -IOS_DEVICE_ENABLE = no # connect to IOS Device -ENCODER_ENABLE = yes |