diff options
Diffstat (limited to 'keyboards/puck')
-rw-r--r-- | keyboards/puck/.noci | 0 | ||||
-rw-r--r-- | keyboards/puck/config.h | 22 | ||||
-rw-r--r-- | keyboards/puck/info.json | 29 | ||||
-rw-r--r-- | keyboards/puck/keymaps/default/keymap.c | 64 | ||||
-rw-r--r-- | keyboards/puck/puck.c | 1 | ||||
-rw-r--r-- | keyboards/puck/puck.h | 15 | ||||
-rw-r--r-- | keyboards/puck/readme.md | 13 | ||||
-rw-r--r-- | keyboards/puck/rules.mk | 18 |
8 files changed, 0 insertions, 162 deletions
diff --git a/keyboards/puck/.noci b/keyboards/puck/.noci deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/puck/.noci +++ /dev/null diff --git a/keyboards/puck/config.h b/keyboards/puck/config.h deleted file mode 100644 index 71cea5ac64..0000000000 --- a/keyboards/puck/config.h +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 3 - -#define MATRIX_ROW_PINS { D2, D3, C6, C7 } -#define MATRIX_COL_PINS { B4, D7, D6 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 3 - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/puck/info.json b/keyboards/puck/info.json deleted file mode 100644 index 0d9c5ffa04..0000000000 --- a/keyboards/puck/info.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "keyboard_name": "Puck", - "manufacturer": "OkKeebs LLC", - "url": "", - "maintainer": "john-pettigrew", - "usb": { - "vid": "0xFEED", - "pid": "0x6060", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"SW1", "x":0, "y":0}, - {"label":"SW2", "x":1, "y":0}, - {"label":"SW3", "x":2, "y":0}, - {"label":"SW4", "x":0, "y":1}, - {"label":"SW5", "x":1, "y":1}, - {"label":"SW6", "x":2, "y":1}, - {"label":"SW7", "x":0, "y":2}, - {"label":"SW8", "x":1, "y":2}, - {"label":"SW9", "x":2, "y":2}, - {"label":"SW10", "x":0, "y":3}, - {"label":"SW11", "x":1, "y":3}, - {"label":"SW12", "x":2, "y":3} - ] - } - } -} diff --git a/keyboards/puck/keymaps/default/keymap.c b/keyboards/puck/keymaps/default/keymap.c deleted file mode 100644 index 6ba70a88bb..0000000000 --- a/keyboards/puck/keymaps/default/keymap.c +++ /dev/null @@ -1,64 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BL 0 -#define _HL 1 -#define _LL 2 - -enum keycodes { - LOW, - HIGH -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * Base Layer (Numbers) - */ - [_BL] = LAYOUT( - KC_KP_7, KC_KP_8, KC_KP_9, - KC_KP_4, KC_KP_5, KC_KP_6, - KC_KP_1, KC_KP_2, KC_KP_3, - LOW, KC_KP_0, HIGH - ), - /* - * High Layer (Work) - */ - [_HL] = LAYOUT( - KC_NUMLOCK, KC_PAST, KC_NO, - KC_PMNS, KC_PENT, KC_PPLS, - KC_NO, KC_PSLS, KC_NO, - KC_NO, KC_PDOT, KC_NO - ), - /* - * Low Layer (Media) - */ - [_LL] = LAYOUT( - KC_NO, KC_VOLU, KC_NO, - KC_MPRV, KC_MPLY, KC_MNXT, - KC_NO, KC_VOLD, KC_NO, - KC_NO, KC_NO, KC_NO - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch(keycode) { - case HIGH: - if (record->event.pressed) { - layer_on(_HL); - }else{ - layer_off(_HL); - layer_off(_LL); - } - return false; - break; - case LOW: - if (record->event.pressed) { - layer_on(_LL); - }else{ - layer_off(_LL); - layer_off(_HL); - } - return false; - break; - } - return true; -} diff --git a/keyboards/puck/puck.c b/keyboards/puck/puck.c deleted file mode 100644 index 0e26b9c3cd..0000000000 --- a/keyboards/puck/puck.c +++ /dev/null @@ -1 +0,0 @@ -#include "puck.h" diff --git a/keyboards/puck/puck.h b/keyboards/puck/puck.h deleted file mode 100644 index 31fff79555..0000000000 --- a/keyboards/puck/puck.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k01, k02, \ - k10, k11, k12, \ - k20, k21, k22, \ - k30, k31, k32 \ -) { \ - { k00, k01, k02 }, \ - { k10, k11, k12 }, \ - { k20, k21, k22 }, \ - { k30, k31, k32 } \ -} diff --git a/keyboards/puck/readme.md b/keyboards/puck/readme.md deleted file mode 100644 index fe1bd1668f..0000000000 --- a/keyboards/puck/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Puck - -A 4x3 macropad. - -Keyboard Maintainer: [John Pettigrew](https://github.com/john-pettigrew) -Hardware Supported: Puck PCB -Hardware Availability: [OKKeebs.com](https://okkeebs.com/products/puck-pcb) - -Make example for this keyboard (after setting up your build environment): - - make puck: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/puck/rules.mk b/keyboards/puck/rules.mk deleted file mode 100644 index 89e2608f2d..0000000000 --- a/keyboards/puck/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = halfkay - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # 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 -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |