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/keebio/chocopad/keymaps | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/keebio/chocopad/keymaps')
-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 |
3 files changed, 0 insertions, 105 deletions
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 - |