diff options
Diffstat (limited to 'keyboards/proton_c')
| -rw-r--r-- | keyboards/proton_c/config.h | 114 | ||||
| -rw-r--r-- | keyboards/proton_c/keymaps/default/keymap.c | 21 | ||||
| -rw-r--r-- | keyboards/proton_c/proton_c.c | 25 | ||||
| -rw-r--r-- | keyboards/proton_c/proton_c.h | 18 | ||||
| -rw-r--r-- | keyboards/proton_c/readme.md | 16 | ||||
| -rw-r--r-- | keyboards/proton_c/rules.mk | 17 |
6 files changed, 0 insertions, 211 deletions
diff --git a/keyboards/proton_c/config.h b/keyboards/proton_c/config.h deleted file mode 100644 index 5ebd17f99..000000000 --- a/keyboards/proton_c/config.h +++ /dev/null | |||
| @@ -1,114 +0,0 @@ | |||
| 1 | /* Copyright 2018 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x6060 | ||
| 24 | #define DEVICE_VER 0x0006 | ||
| 25 | #define MANUFACTURER QMK | ||
| 26 | #define PRODUCT Proton C | ||
| 27 | #define DESCRIPTION A compact ortholinear keyboard | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 1 | ||
| 31 | #define MATRIX_COLS 1 | ||
| 32 | |||
| 33 | #define MATRIX_ROW_PINS { B9 } | ||
| 34 | #define MATRIX_COL_PINS { B0 } | ||
| 35 | |||
| 36 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 37 | #define DEBOUNCE 6 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 40 | //#define LOCKING_SUPPORT_ENABLE | ||
| 41 | /* Locking resynchronize hack */ | ||
| 42 | //#define LOCKING_RESYNC_ENABLE | ||
| 43 | |||
| 44 | /* | ||
| 45 | * Force NKRO | ||
| 46 | * | ||
| 47 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 48 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 49 | * makefile for this to work.) | ||
| 50 | * | ||
| 51 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 52 | * until the next keyboard reset. | ||
| 53 | * | ||
| 54 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 55 | * fully operational during normal computer usage. | ||
| 56 | * | ||
| 57 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 58 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 59 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 60 | * power-up. | ||
| 61 | * | ||
| 62 | */ | ||
| 63 | //#define FORCE_NKRO | ||
| 64 | |||
| 65 | /* | ||
| 66 | * Feature disable options | ||
| 67 | * These options are also useful to firmware size reduction. | ||
| 68 | */ | ||
| 69 | |||
| 70 | /* disable debug print */ | ||
| 71 | //#define NO_DEBUG | ||
| 72 | |||
| 73 | /* disable print */ | ||
| 74 | //#define NO_PRINT | ||
| 75 | |||
| 76 | /* disable action features */ | ||
| 77 | //#define NO_ACTION_LAYER | ||
| 78 | //#define NO_ACTION_TAPPING | ||
| 79 | //#define NO_ACTION_ONESHOT | ||
| 80 | //#define NO_ACTION_MACRO | ||
| 81 | //#define NO_ACTION_FUNCTION | ||
| 82 | |||
| 83 | /* | ||
| 84 | * MIDI options | ||
| 85 | */ | ||
| 86 | |||
| 87 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 88 | //#define MIDI_ENABLE_STRICT 1 | ||
| 89 | |||
| 90 | /* enable basic MIDI features: | ||
| 91 | - MIDI notes can be sent when in Music mode is on | ||
| 92 | */ | ||
| 93 | //#define MIDI_BASIC | ||
| 94 | |||
| 95 | /* enable advanced MIDI features: | ||
| 96 | - MIDI notes can be added to the keymap | ||
| 97 | - Octave shift and transpose | ||
| 98 | - Virtual sustain, portamento, and modulation wheel | ||
| 99 | - etc. | ||
| 100 | */ | ||
| 101 | //#define MIDI_ADVANCED | ||
| 102 | |||
| 103 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 104 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 105 | |||
| 106 | // #define WS2812_LED_N 2 | ||
| 107 | // #define RGBLED_NUM WS2812_LED_N | ||
| 108 | // #define WS2812_TIM_N 2 | ||
| 109 | // #define WS2812_TIM_CH 2 | ||
| 110 | // #define PORT_WS2812 GPIOA | ||
| 111 | // #define PIN_WS2812 1 | ||
| 112 | // #define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA stream for TIMx_UP (look up in reference manual under DMA Channel selection) | ||
| 113 | //#define WS2812_DMA_CHANNEL 7 // DMA channel for TIMx_UP | ||
| 114 | //#define WS2812_EXTERNAL_PULLUP | ||
diff --git a/keyboards/proton_c/keymaps/default/keymap.c b/keyboards/proton_c/keymaps/default/keymap.c deleted file mode 100644 index a3103432f..000000000 --- a/keyboards/proton_c/keymaps/default/keymap.c +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* Copyright 2018 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = {{ KC_A }} | ||
| 21 | }; | ||
diff --git a/keyboards/proton_c/proton_c.c b/keyboards/proton_c/proton_c.c deleted file mode 100644 index 525634347..000000000 --- a/keyboards/proton_c/proton_c.c +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | /* Copyright 2018 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "proton_c.h" | ||
| 18 | |||
| 19 | void matrix_init_kb(void) { | ||
| 20 | // Turn status LED on | ||
| 21 | setPinOutput(C13); | ||
| 22 | writePinHigh(C13); | ||
| 23 | |||
| 24 | matrix_init_user(); | ||
| 25 | } | ||
diff --git a/keyboards/proton_c/proton_c.h b/keyboards/proton_c/proton_c.h deleted file mode 100644 index 159f9975a..000000000 --- a/keyboards/proton_c/proton_c.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* Copyright 2018 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | #include "quantum.h" | ||
diff --git a/keyboards/proton_c/readme.md b/keyboards/proton_c/readme.md deleted file mode 100644 index 5f27795ae..000000000 --- a/keyboards/proton_c/readme.md +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | Proton C | ||
| 2 | === | ||
| 3 | |||
| 4 |  | ||
| 5 | |||
| 6 | A Pro Micro drop-in replacement. | ||
| 7 | |||
| 8 | Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert) | ||
| 9 | Hardware Supported: QMK Proton C | ||
| 10 | Hardware Availability: [List of vendors](https://qmk.fm/proton-c) | ||
| 11 | |||
| 12 | Make example for this keyboard (after setting up your build environment): | ||
| 13 | |||
| 14 | make proton_c:default | ||
| 15 | |||
| 16 | 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/proton_c/rules.mk b/keyboards/proton_c/rules.mk deleted file mode 100644 index 4edc75929..000000000 --- a/keyboards/proton_c/rules.mk +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | MCU = STM32F303 | ||
| 2 | |||
| 3 | # Build Options | ||
| 4 | # comment out to disable the options. | ||
| 5 | # | ||
| 6 | BACKLIGHT_ENABLE = no | ||
| 7 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 8 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | ||
| 9 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 11 | CONSOLE_ENABLE = yes # Console for debug | ||
| 12 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 13 | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
| 14 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 15 | AUDIO_ENABLE = yes | ||
| 16 | RGBLIGHT_ENABLE = no | ||
| 17 | # SERIAL_LINK_ENABLE = yes | ||
