summaryrefslogtreecommitdiffstats
path: root/keyboards/pabile/p20
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pabile/p20')
-rw-r--r--keyboards/pabile/p20/info.json64
-rw-r--r--keyboards/pabile/p20/readme.md16
-rw-r--r--keyboards/pabile/p20/ver1/.noci0
-rw-r--r--keyboards/pabile/p20/ver1/config.h34
-rw-r--r--keyboards/pabile/p20/ver1/info.json6
-rw-r--r--keyboards/pabile/p20/ver1/keymaps/default/keymap.c39
-rw-r--r--keyboards/pabile/p20/ver1/rules.mk24
-rw-r--r--keyboards/pabile/p20/ver1/ver1.c18
-rw-r--r--keyboards/pabile/p20/ver1/ver1.h50
-rw-r--r--keyboards/pabile/p20/ver2/config.h31
-rw-r--r--keyboards/pabile/p20/ver2/info.json6
-rw-r--r--keyboards/pabile/p20/ver2/keymaps/default/keymap.c43
-rw-r--r--keyboards/pabile/p20/ver2/rules.mk24
-rw-r--r--keyboards/pabile/p20/ver2/ver2.c18
-rw-r--r--keyboards/pabile/p20/ver2/ver2.h50
15 files changed, 0 insertions, 423 deletions
diff --git a/keyboards/pabile/p20/info.json b/keyboards/pabile/p20/info.json
deleted file mode 100644
index e1fbb231ce..0000000000
--- a/keyboards/pabile/p20/info.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "manufacturer": "Pabile",
- "url": "",
- "maintainer": "pabile",
- "usb": {
- "vid": "0x6666",
- "pid": "0x6667"
- },
- "layouts": {
- "LAYOUT_ortho_5x4": {
- "layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
-
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":3, "y":1},
-
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2},
- {"x":3, "y":2},
-
- {"x":0, "y":3},
- {"x":1, "y":3},
- {"x":2, "y":3},
- {"x":3, "y":3},
-
- {"x":0, "y":4},
- {"x":1, "y":4},
- {"x":2, "y":4},
- {"x":3, "y":4}
- ]
- },
- "LAYOUT_numpad_5x4": {
- "layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
-
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
-
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2},
- {"x":3, "y":1, "h":2},
-
- {"x":0, "y":3},
- {"x":1, "y":3},
- {"x":2, "y":3},
-
- {"x":0, "y":4, "w":2},
- {"x":2, "y":4},
- {"x":3, "y":3, "h":2}
- ]
- }
- }
-}
diff --git a/keyboards/pabile/p20/readme.md b/keyboards/pabile/p20/readme.md
deleted file mode 100644
index e94005b0d4..0000000000
--- a/keyboards/pabile/p20/readme.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# P20
-
-![Linear grid](https://github.com/pabile/Pabile20/blob/master/_bak/layout-grid.jpg)
-
-A 5x4 grid macro numeric pad with up to 3 optional rotary encoders.
-
-* Keyboard Maintainer: [pabile](https://github.com/pabile)
-* Hardware Supported: Pabile P20 PCB, Pro Micro, Rotary Encoders, Alps/MX Switches
-* Hardware Availability: [pabileonline.blogspot.com](https://pabileonline.blogspot.com/search/label/p20)
-
-Make example for this keyboard (after setting up your build environment):
-
- make pabile/p20/ver1:default # for ver1
- make pabile/p20/ver2:default # for ver2
-
-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/p20/ver1/.noci b/keyboards/pabile/p20/ver1/.noci
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/pabile/p20/ver1/.noci
+++ /dev/null
diff --git a/keyboards/pabile/p20/ver1/config.h b/keyboards/pabile/p20/ver1/config.h
deleted file mode 100644
index 231e491d9b..0000000000
--- a/keyboards/pabile/p20/ver1/config.h
+++ /dev/null
@@ -1,34 +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 5
-#define MATRIX_COLS 4
-
-/* pin-out */
-#define MATRIX_ROW_PINS { B3, B4, B5, D7, E6 }
-#define MATRIX_COL_PINS { D0, B2, D4, B6 }
-
-#define ENCODERS_PAD_A { F5, F7 }
-#define ENCODERS_PAD_B { F6, B1 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW \ No newline at end of file
diff --git a/keyboards/pabile/p20/ver1/info.json b/keyboards/pabile/p20/ver1/info.json
deleted file mode 100644
index 18b5e4bd2b..0000000000
--- a/keyboards/pabile/p20/ver1/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "P20 ver1",
- "usb": {
- "device_version": "0.0.1"
- }
-}
diff --git a/keyboards/pabile/p20/ver1/keymaps/default/keymap.c b/keyboards/pabile/p20/ver1/keymaps/default/keymap.c
deleted file mode 100644
index 48b537b564..0000000000
--- a/keyboards/pabile/p20/ver1/keymaps/default/keymap.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#include QMK_KEYBOARD_H
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_5x4(
- KC_PSLS, KC_PMNS, KC_PAST, KC_MPLY,
- KC_P7, KC_P8, KC_P9, KC_PMNS,
- KC_P4, KC_P5, KC_P6, KC_PPLS,
- KC_P1, KC_P2, KC_P3, KC_TAB,
- LT(2,KC_P0), KC_PCMM, KC_PDOT, LT(1,KC_PENT)),
- [1] = LAYOUT_ortho_5x4(
- KC_NLCK, KC_UNDS, KC_NO, KC_NO,
- KC_AMPR, KC_ASTR, KC_LPRN, KC_EQL,
- KC_DLR, KC_PERC, KC_CIRC, KC_NO,
- KC_EXLM, KC_AT, KC_HASH, KC_NO,
- KC_RPRN, KC_NO, KC_PSLS, KC_NO),
- [2] = LAYOUT_ortho_5x4(
- KC_NLCK, KC_NO, KC_NO, KC_NO,
- KC_BTN1, KC_MS_U, KC_BTN2, KC_NO,
- KC_MS_L, KC_MS_D, KC_MS_R, KC_TAB,
- KC_WH_U, KC_NO, KC_WH_D, KC_NO,
- KC_NO, KC_NO, KC_DEL, KC_ESC)
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- if (clockwise) {
- tap_code(KC_WH_U); /*mouse wheel up*/
- } else {
- tap_code(KC_WH_D); /*mouse wheel down */
- }
- } else if (index == 1) { /* Second encoder */
- if (clockwise) {
- tap_code(KC_VOLD); /*volume down*/
- } else {
- tap_code(KC_VOLU); /*volume up*/
- }
- }
- return true;
-}
diff --git a/keyboards/pabile/p20/ver1/rules.mk b/keyboards/pabile/p20/ver1/rules.mk
deleted file mode 100644
index 2fc8c8885b..0000000000
--- a/keyboards/pabile/p20/ver1/rules.mk
+++ /dev/null
@@ -1,24 +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
-
-LAYOUTS = ortho_5x4 numpad_5x4
diff --git a/keyboards/pabile/p20/ver1/ver1.c b/keyboards/pabile/p20/ver1/ver1.c
deleted file mode 100644
index 65e11630bc..0000000000
--- a/keyboards/pabile/p20/ver1/ver1.c
+++ /dev/null
@@ -1,18 +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/>.
-*/
-
-#include "ver1.h"
diff --git a/keyboards/pabile/p20/ver1/ver1.h b/keyboards/pabile/p20/ver1/ver1.h
deleted file mode 100644
index 36ec781fa1..0000000000
--- a/keyboards/pabile/p20/ver1/ver1.h
+++ /dev/null
@@ -1,50 +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 "quantum.h"
-
-#define LAYOUT_ortho_5x4( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33, \
- k40, k41, k42, k43 \
-) \
-{ \
- {k00, k01, k02, k03}, \
- {k10, k11, k12, k13}, \
- {k20, k21, k22, k23}, \
- {k30, k31, k32, k33}, \
- {k40, k41, k42, k43} \
-}
-
-#define LAYOUT_numpad_5x4( \
- k00, k01, k02, k03, \
- k10, k11, k12, \
- k20, k21, k22, k23, \
- k30, k31, k32, \
- k40, k42, k43 \
-) \
-{ \
- {k00, k01, k02, k03}, \
- {k10, k11, k12, KC_NO}, \
- {k20, k21, k22, k23}, \
- {k30, k31, k32, KC_NO}, \
- {k40, KC_NO, k42, k43} \
-}
diff --git a/keyboards/pabile/p20/ver2/config.h b/keyboards/pabile/p20/ver2/config.h
deleted file mode 100644
index 13bce5132d..0000000000
--- a/keyboards/pabile/p20/ver2/config.h
+++ /dev/null
@@ -1,31 +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 5
-#define MATRIX_COLS 4
-
-/* pin-out */
-#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { D1, D0, D4, B2 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/pabile/p20/ver2/info.json b/keyboards/pabile/p20/ver2/info.json
deleted file mode 100644
index dae1f84edb..0000000000
--- a/keyboards/pabile/p20/ver2/info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "keyboard_name": "P20 ver2",
- "usb": {
- "device_version": "0.0.2"
- }
-}
diff --git a/keyboards/pabile/p20/ver2/keymaps/default/keymap.c b/keyboards/pabile/p20/ver2/keymaps/default/keymap.c
deleted file mode 100644
index 2c2af0da8a..0000000000
--- a/keyboards/pabile/p20/ver2/keymaps/default/keymap.c
+++ /dev/null
@@ -1,43 +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/>.
-*/
-
-#include QMK_KEYBOARD_H
-
-enum custom_keycodes {
- DBLZERO = SAFE_RANGE,
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case DBLZERO:
- if (record->event.pressed) {
- tap_code(KC_P0);
- tap_code(KC_P0);
- }
- break;
- }
- return true;
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_5x4(
- KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
- KC_P7, KC_P8, KC_P9, KC_TAB,
- KC_P4, KC_P5, KC_P6, KC_PPLS,
- KC_P1, KC_P2, KC_P3, KC_DEL,
- KC_P0, DBLZERO, KC_PDOT, KC_PENT)
-};
diff --git a/keyboards/pabile/p20/ver2/rules.mk b/keyboards/pabile/p20/ver2/rules.mk
deleted file mode 100644
index fc387fabe6..0000000000
--- a/keyboards/pabile/p20/ver2/rules.mk
+++ /dev/null
@@ -1,24 +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 = no
-
-LAYOUTS = ortho_5x4 numpad_5x4
diff --git a/keyboards/pabile/p20/ver2/ver2.c b/keyboards/pabile/p20/ver2/ver2.c
deleted file mode 100644
index fa7e1f2e39..0000000000
--- a/keyboards/pabile/p20/ver2/ver2.c
+++ /dev/null
@@ -1,18 +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/>.
-*/
-
-#include "ver2.h"
diff --git a/keyboards/pabile/p20/ver2/ver2.h b/keyboards/pabile/p20/ver2/ver2.h
deleted file mode 100644
index 36ec781fa1..0000000000
--- a/keyboards/pabile/p20/ver2/ver2.h
+++ /dev/null
@@ -1,50 +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 "quantum.h"
-
-#define LAYOUT_ortho_5x4( \
- k00, k01, k02, k03, \
- k10, k11, k12, k13, \
- k20, k21, k22, k23, \
- k30, k31, k32, k33, \
- k40, k41, k42, k43 \
-) \
-{ \
- {k00, k01, k02, k03}, \
- {k10, k11, k12, k13}, \
- {k20, k21, k22, k23}, \
- {k30, k31, k32, k33}, \
- {k40, k41, k42, k43} \
-}
-
-#define LAYOUT_numpad_5x4( \
- k00, k01, k02, k03, \
- k10, k11, k12, \
- k20, k21, k22, k23, \
- k30, k31, k32, \
- k40, k42, k43 \
-) \
-{ \
- {k00, k01, k02, k03}, \
- {k10, k11, k12, KC_NO}, \
- {k20, k21, k22, k23}, \
- {k30, k31, k32, KC_NO}, \
- {k40, KC_NO, k42, k43} \
-}