diff options
Diffstat (limited to 'keyboards/keebio/chocopad')
-rw-r--r-- | keyboards/keebio/chocopad/chocopad.c | 18 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/chocopad.h | 15 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/config.h | 36 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/info.json | 16 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/default/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/khord/keymap.c | 75 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/keymaps/khord/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/readme.md | 14 | ||||
-rw-r--r-- | keyboards/keebio/chocopad/rules.mk | 20 |
9 files changed, 0 insertions, 224 deletions
diff --git a/keyboards/keebio/chocopad/chocopad.c b/keyboards/keebio/chocopad/chocopad.c deleted file mode 100644 index db62f02cc5..0000000000 --- a/keyboards/keebio/chocopad/chocopad.c +++ /dev/null @@ -1,18 +0,0 @@ -#include "chocopad.h" - -void eeconfig_init_kb(void) { -#ifdef BACKLIGHT_ENABLE - backlight_enable(); - backlight_level(5); -#endif -#ifdef RGBLIGHT_ENABLE - rgblight_enable(); // Enable RGB by default - rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness -#ifdef RGBLIGHT_ANIMATIONS - rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default -#endif -#endif - - eeconfig_update_kb(0); - eeconfig_init_user(); -} diff --git a/keyboards/keebio/chocopad/chocopad.h b/keyboards/keebio/chocopad/chocopad.h deleted file mode 100644 index 43e94a093d..0000000000 --- a/keyboards/keebio/chocopad/chocopad.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_4x4( \ - A1, A2, A3, A4, \ - B1, B2, B3, B4, \ - C1, C2, C3, C4, \ - D1, D2, D3, D4 \ -) { \ - { A1, A2, A3, A4 }, \ - { B1, B2, B3, B4 }, \ - { C1, C2, C3, C4 }, \ - { D1, D2, D3, D4 } \ -} diff --git a/keyboards/keebio/chocopad/config.h b/keyboards/keebio/chocopad/config.h deleted file mode 100644 index bbbc022849..0000000000 --- a/keyboards/keebio/chocopad/config.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 4 - -/* key matrix pins */ -#define MATRIX_ROW_PINS { D7, E6, B3, B2 } -#define MATRIX_COL_PINS { D2, D4, F6, F5 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* number of backlight levels */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 6 - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -#ifdef RGB_DI_PIN -#define RGBLIGHT_ANIMATIONS -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 -#endif -#define RGB_DI_PIN D3 -#define RGBLED_NUM 4 diff --git a/keyboards/keebio/chocopad/info.json b/keyboards/keebio/chocopad/info.json deleted file mode 100644 index 426d9d72e8..0000000000 --- a/keyboards/keebio/chocopad/info.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "keyboard_name": "Chocopad", - "manufacturer": "Keebio", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xCB10", - "pid": "0x1144", - "device_version": "1.0.0" - }, - "layouts": { - "LAYOUT_ortho_4x4": { - "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}] - } - } -} diff --git a/keyboards/keebio/chocopad/keymaps/default/keymap.c b/keyboards/keebio/chocopad/keymaps/default/keymap.c deleted file mode 100644 index b89246adf0..0000000000 --- a/keyboards/keebio/chocopad/keymaps/default/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BASE 0 -#define _FN1 1 -#define _FN2 2 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BASE] = LAYOUT_ortho_4x4( - KC_PGUP, KC_HOME, KC_UP, KC_END , - KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, - MO(_FN2), KC_VOLU, KC_MPLY, KC_MPRV, - MO(_FN1), KC_VOLD, KC_MUTE, KC_MNXT - ), - [_FN1] = LAYOUT_ortho_4x4( - KC_ESC, KC_P7, KC_P8, KC_P9, - KC_TAB, KC_P4, KC_P5, KC_P6, - KC_ENT, KC_P1, KC_P2, KC_P3, - _______, KC_P0, KC_P0, KC_DOT - ), - [_FN2] = LAYOUT_ortho_4x4( - RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, - RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, - _______, _______, _______, QK_BOOT, - BL_STEP, _______, _______, _______ - ) - -}; diff --git a/keyboards/keebio/chocopad/keymaps/khord/keymap.c b/keyboards/keebio/chocopad/keymaps/khord/keymap.c deleted file mode 100644 index 3459ffe8a6..0000000000 --- a/keyboards/keebio/chocopad/keymaps/khord/keymap.c +++ /dev/null @@ -1,75 +0,0 @@ -#include "chocopad.h" - -#define _BASE 0 -#define _FN1 1 -#define _FN2 2 - -#define KC_L1 LT(1, KC_P0) -#define KC_L2 LT(2, KC_SPC) -#define KC_MAC1 ADMIN -#define KC_MAC2 SMSPC -#define KC_M192 M192 -#define KC_M255 M255 - -enum custom_keycodes { - NUMPAD = SAFE_RANGE, - ADMIN, - SMSPC, - M192, - M255 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BASE] = LAYOUT_ortho_4x4( - KC_P7, KC_P8, KC_P9, KC_BSPC, - KC_P4, KC_P5, KC_P6, KC_TAB , - KC_P1, KC_P2, KC_P3, KC_PENT, - KC_L1, KC_L2, KC_PDOT, KC_PSLS - ), - - [_FN1] = LAYOUT_ortho_4x4( - KC_ESC, KC_MAC1, KC_MAC2, KC_DEL , - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - KC_M192, KC_M255, XXXXXXX, XXXXXXX, - _______, XXXXXXX, _______, XXXXXXX - ), - - [_FN2] = LAYOUT_ortho_4x4( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, - RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, - RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, - BL_STEP, _______, XXXXXXX, XXXXXXX - ) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case ADMIN: - if (record->event.pressed) { - SEND_STRING("Administrator"); - } - return false; - break; - case SMSPC: - if (record->event.pressed) { - SEND_STRING("Simspace1!"); - } - return false; - break; - case M192: - if (record->event.pressed) { - SEND_STRING("192.168."); - } - return false; - break; - case M255: - if (record->event.pressed) { - SEND_STRING("255"); - } - return false; - break; - } - return true; -}; diff --git a/keyboards/keebio/chocopad/keymaps/khord/rules.mk b/keyboards/keebio/chocopad/keymaps/khord/rules.mk deleted file mode 100644 index a81250cdf6..0000000000 --- a/keyboards/keebio/chocopad/keymaps/khord/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = yes - diff --git a/keyboards/keebio/chocopad/readme.md b/keyboards/keebio/chocopad/readme.md deleted file mode 100644 index 3cdb3b3b9c..0000000000 --- a/keyboards/keebio/chocopad/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -Chocopad -======== - -A 4x4 macropad keyboard using Kailh PG1350 Lower Profile Choc switches. - -Keyboard Maintainer: Keebio -Hardware Supported: Chocopad PCB, Arduino Pro Micro -Hardware Availability: [Keebio](https://keeb.io) - -Make example for this keyboard (after setting up your build environment): - - make keebio/chocopad:default - -See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/keebio/chocopad/rules.mk b/keyboards/keebio/chocopad/rules.mk deleted file mode 100644 index 4a14c7977c..0000000000 --- a/keyboards/keebio/chocopad/rules.mk +++ /dev/null @@ -1,20 +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 = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes - -LAYOUTS = ortho_4x4 |