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/spaceman/pancake/rev2 | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/spaceman/pancake/rev2')
-rw-r--r-- | keyboards/spaceman/pancake/rev2/config.h | 26 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/info.json | 65 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c | 84 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/keymaps/default/readme.md | 3 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/readme.md | 67 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/rev2.c | 59 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/rev2.h | 31 | ||||
-rw-r--r-- | keyboards/spaceman/pancake/rev2/rules.mk | 22 |
8 files changed, 0 insertions, 357 deletions
diff --git a/keyboards/spaceman/pancake/rev2/config.h b/keyboards/spaceman/pancake/rev2/config.h deleted file mode 100644 index 15d483a82e..0000000000 --- a/keyboards/spaceman/pancake/rev2/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2020 Spaceman - * - * 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 12 - -#define DIODE_DIRECTION COL2ROW - -#define MATRIX_ROW_PINS { C7, C6, B6, B5 } -#define MATRIX_COL_PINS { B7, B3, B2, B1 ,B0, E6, F0, F1, F4, F5, F6, F7 } diff --git a/keyboards/spaceman/pancake/rev2/info.json b/keyboards/spaceman/pancake/rev2/info.json deleted file mode 100644 index 300d0f6090..0000000000 --- a/keyboards/spaceman/pancake/rev2/info.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "keyboard_name": "Pancake 2", - "manufacturer": "Spaceman", - "url": "", - "maintainer": "Spaceman", - "usb": { - "vid": "0x5342", - "pid": "0x5032", - "device_version": "0.0.2" - }, - "layouts": { - "LAYOUT_ortho_4x12": { - "layout": [ - {"x":0, "y":0}, - {"x":1, "y":0}, - {"x":2, "y":0}, - {"x":3, "y":0}, - {"x":4, "y":0}, - {"x":5, "y":0}, - {"x":7, "y":0}, - {"x":8, "y":0}, - {"x":9, "y":0}, - {"x":10, "y":0}, - {"x":11, "y":0}, - {"x":12, "y":0}, - {"x":0, "y":1}, - {"x":1, "y":1}, - {"x":2, "y":1}, - {"x":3, "y":1}, - {"x":4, "y":1}, - {"x":5, "y":1}, - {"x":7, "y":1}, - {"x":8, "y":1}, - {"x":9, "y":1}, - {"x":10, "y":1}, - {"x":11, "y":1}, - {"x":12, "y":1}, - {"x":0, "y":2}, - {"x":1, "y":2}, - {"x":2, "y":2}, - {"x":3, "y":2}, - {"x":4, "y":2}, - {"x":5, "y":2}, - {"x":7, "y":2}, - {"x":8, "y":2}, - {"x":9, "y":2}, - {"x":10, "y":2}, - {"x":11, "y":2}, - {"x":12, "y":2}, - {"x":0, "y":3}, - {"x":1, "y":3}, - {"x":2, "y":3}, - {"x":3, "y":3}, - {"x":4, "y":3}, - {"x":5, "y":3, "w":1.5}, - {"x":6.5, "y":3, "w":1.5}, - {"x":8, "y":3}, - {"x":9, "y":3}, - {"x":10, "y":3}, - {"x":11, "y":3}, - {"x":12, "y":3} - ] - } - } -} diff --git a/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c b/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c deleted file mode 100644 index 33a27bc491..0000000000 --- a/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c +++ /dev/null @@ -1,84 +0,0 @@ - /* Copyright Spaceman 2021 - * - * 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 layers { - _DEFAULT, - _RAISE, - _FN -}; - -#define RAISE MO(_RAISE) -#define FN MO(_FN) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Default - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | " | ; | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Alt | GUI | FN | Lower| Space | Del | / | Left | Down |Right | - * `-----------------------------------------------------------------------------------' - */ -[_DEFAULT] = LAYOUT_ortho_4x12( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_SCLN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT , - KC_LCTL, KC_LALT, KC_LGUI, FN, RAISE, KC_SPC, KC_SPC, KC_DEL, KC_SLSH, KC_LEFT, KC_DOWN, KC_RGHT -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | - | = | | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | [ | ] | Vol- | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | Vol+ | | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, _______, KC_BSLS, - _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_VOLU, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, _______ -), - - /* FN - * ,-----------------------------------------------------------------------------------. - * | Reset| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | | F11 | F12 | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | TRNS | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_FN] = LAYOUT_ortho_4x12( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - - -}; diff --git a/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md b/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md deleted file mode 100644 index 7eb8cc6d8d..0000000000 --- a/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Default keymap for Pancake - -designed by: Spaceman diff --git a/keyboards/spaceman/pancake/rev2/readme.md b/keyboards/spaceman/pancake/rev2/readme.md deleted file mode 100644 index 5b68180741..0000000000 --- a/keyboards/spaceman/pancake/rev2/readme.md +++ /dev/null @@ -1,67 +0,0 @@ -# Pancake 2 - -Ortho 40% Ortho Keyboard with an OLED Display - -* Keyboard Maintainer: [Spaceman](https://github.com/Spaceman) -* Hardware Availability: [MKUltra.Click](https://mkultra.click/pancake-2/) - -Make example for this keyboard (after setting up your build environment): - - make spaceman/pancake/rev2: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). - - -Alternative OLED Logos: - -![Japanese](https://i.imgur.com/g666Wvn.png) -```C - 0x00, 0xC0, 0x3C, 0x00, 0x04, 0x1A, - 0xE4, 0x00, 0x82, 0x84, 0x40, 0x20, - 0x18, 0x00, 0x10, 0x0E, 0x84, 0x7C, - 0x04, 0x00, 0x10, 0x10, 0x10, 0x10, - 0x10, 0x00, 0x24, 0x24, 0xFE, 0x24, - 0x24, 0x00, 0x00, 0xC0, 0x20, 0x10, - 0x10, 0x08, 0x08, 0x08, 0x08, 0x04, - 0x04, 0x04, 0x04, 0x04, 0x64, 0x74, - 0x74, 0x34, 0x04, 0x04, 0x04, 0x04, - 0x04, 0x08, 0x08, 0x08, 0x08, 0x10, - 0x10, 0x20, 0xC0, 0x00, 0x00, 0x8C, - 0x53, 0x22, 0x22, 0x44, 0xC4, 0x5C, - 0x4C, 0x88, 0x88, 0x88, 0x88, 0x88, - 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, - 0x88, 0x88, 0x88, 0x44, 0x44, 0x44, - 0xC4, 0x22, 0x22, 0x53, 0x8C, 0x00, - 0x00, 0x01, 0x0E, 0x04, 0x04, 0x08, - 0x09, 0x08, 0x08, 0x10, 0x10, 0x10, - 0x10, 0x10, 0x10, 0x11, 0x13, 0x10, - 0x10, 0x10, 0x10, 0x10, 0x10, 0x18, - 0x08, 0x08, 0x08, 0x04, 0x04, 0x02, - 0x01, 0x00, -``` -![Trans Rights](https://i.imgur.com/TijjY6j.png) - -```c - 0x00, 0x00, 0x00, 0x02, 0x02, 0xFE, - 0x02, 0x02, 0x00, 0xFE, 0x12, 0x12, - 0xEC, 0x00, 0xFC, 0x12, 0x12, 0xFC, - 0x00, 0xFE, 0x04, 0x18, 0x20, 0xFE, - 0x00, 0x8C, 0x92, 0x92, 0x62, 0x00, - 0x00, 0x00, 0x00, 0xFE, 0x12, 0x12, - 0xEC, 0x00, 0x82, 0xFE, 0x82, 0x00, - 0x7C, 0x82, 0x82, 0x92, 0x70, 0x00, - 0xFE, 0x10, 0x10, 0xFE, 0x00, 0x02, - 0x02, 0xFE, 0x02, 0x02, 0x00, 0x8C, - 0x92, 0x92, 0x62, 0x00, 0x00, 0x00, - 0x00, 0x00, 0xC0, 0xF0, 0xF0, 0xF8, - 0x98, 0x98, 0xF8, 0xF8, 0xF8, 0xF8, - 0xFC, 0xFE, 0xFE, 0xFE, 0xF6, 0xF2, - 0xF0, 0xE0, 0xE0, 0xC0, 0xC0, 0xC0, - 0xE0, 0xF0, 0x70, 0x30, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, - 0x07, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, - 0x0F, 0x0F, 0x0F, 0x1F, 0x3F, 0x7F, - 0x7F, 0x6F, 0x07, 0x07, 0x03, 0x03, - 0x03, 0x03, 0x0F, 0x1F, 0x1E, 0x18, - 0x00, 0x00, -``` diff --git a/keyboards/spaceman/pancake/rev2/rev2.c b/keyboards/spaceman/pancake/rev2/rev2.c deleted file mode 100644 index 9b186192c5..0000000000 --- a/keyboards/spaceman/pancake/rev2/rev2.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2020 Spaceman - * - * 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 "rev2.h" - - -#ifdef OLED_ENABLE -oled_rotation_t oled_init_kb(oled_rotation_t rotation) { - return OLED_ROTATION_270; -} - -bool oled_task_kb(void) { - if (!oled_task_user()) { - return false; - } - static const char PROGMEM pancake_logo[] = { - 0x00, 0x00, 0x3e, 0x0a, 0x04, 0x00, 0x3c, 0x0a, 0x3c, 0x00, 0x3e, 0x0c, 0x18, 0x3e, 0x00, 0x3e, - 0x22, 0x22, 0x00, 0x3c, 0x0a, 0x3c, 0x00, 0x3e, 0x08, 0x36, 0x00, 0x3e, 0x2a, 0x22, 0x00, 0x00, - 0x00, 0x30, 0xc8, 0x84, 0x84, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x19, 0x1d, - 0x1d, 0x0d, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x84, 0x84, 0xc8, 0x30, 0x00, - 0x00, 0x63, 0x94, 0x08, 0x08, 0x11, 0x71, 0x17, 0x13, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x62, - 0xe2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x11, 0x11, 0x11, 0x31, 0x08, 0x08, 0x94, 0x63, 0x00, - 0x00, 0x00, 0x03, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, - 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x06, 0x02, 0x02, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00 }; - oled_write_raw_P(pancake_logo, sizeof(pancake_logo)); - // Host Keyboard Layer Status - oled_set_cursor(0, 4); - oled_write_P(PSTR("\nLAYER\n-----\n"), false); - - switch (get_highest_layer(layer_state)) { - case 0: - oled_write_P(PSTR("DEFLT\n"), false); - break; - case 2: - oled_write_P(PSTR("FUNCT\n"), false); - break; - case 1: - oled_write_P(PSTR("RAISE\n"), false); - break; - default: - // Or use the write_ln shortcut over adding '\n' to the end of your string - oled_write_ln_P(PSTR("Undefined"), false); - break; - } - return false; -} -#endif diff --git a/keyboards/spaceman/pancake/rev2/rev2.h b/keyboards/spaceman/pancake/rev2/rev2.h deleted file mode 100644 index 628b1b39ac..0000000000 --- a/keyboards/spaceman/pancake/rev2/rev2.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 Spaceman - * - * 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_4x12( \ - k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ - k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ - k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ - k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 \ -) \ -{ \ - { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ - { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ - { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ - { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 } \ -} diff --git a/keyboards/spaceman/pancake/rev2/rules.mk b/keyboards/spaceman/pancake/rev2/rules.mk deleted file mode 100644 index fa32ecc897..0000000000 --- a/keyboards/spaceman/pancake/rev2/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -OLED_ENABLE = yes -OLED_DRIVER = SSD1306 - -LAYOUTS = ortho_4x12 |