diff options
author | Joel Challis <git@zvecr.com> | 2022-10-13 04:17:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 14:17:20 +1100 |
commit | a9e5e230634e61210401631a60369b346e76381a (patch) | |
tree | 3794706b0f8808e04670420c9cc93519b90cc300 /keyboards/jc65/v32a/keymaps | |
parent | 3f4fd85dc7f91d008c778e516dc261b5b2e72b55 (diff) |
Remove keymaps that still reference legacy macros (#18693)
Diffstat (limited to 'keyboards/jc65/v32a/keymaps')
-rw-r--r-- | keyboards/jc65/v32a/keymaps/naut/keymap.c | 84 | ||||
-rw-r--r-- | keyboards/jc65/v32a/keymaps/naut/readme.md | 16 | ||||
-rw-r--r-- | keyboards/jc65/v32a/keymaps/naut/rules.mk | 2 |
3 files changed, 0 insertions, 102 deletions
diff --git a/keyboards/jc65/v32a/keymaps/naut/keymap.c b/keyboards/jc65/v32a/keymaps/naut/keymap.c deleted file mode 100644 index 52a0c8ce1e..0000000000 --- a/keyboards/jc65/v32a/keymaps/naut/keymap.c +++ /dev/null @@ -1,84 +0,0 @@ -#include QMK_KEYBOARD_H - -// Define Layers -#define _BASE 0 -#define _FNX 1 -#define _MAC 2 -#define _RGB 3 - -// Define Macros -#define M_PRTS M(0) -#define M_PRTA M(1) -#define M_PRTSC M(2) -#define M_PRTAC M(3) -#define M_MSSN M(4) -#define M_APPS M(5) -#define M_SPOT M(6) -#define M_LEFT M(7) -#define M_RGHT M(8) -#define RGB_WHT M(9) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // Base Layer - [_BASE] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,KC_MINS, KC_EQL,KC_BSLS, KC_GRV, KC_INS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,KC_LBRC,KC_RBRC, KC_BSPC, KC_DEL, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT, KC_NO, KC_ENT,KC_PGUP, - KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH, KC_RSFT, KC_UP,KC_PGDN, - MO(1),KC_LALT,KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_RGUI, KC_NO,KC_RALT,KC_LEFT,KC_DOWN,KC_RGHT - ), - // Fn Layer - [_FNX] = LAYOUT( - KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,KC_TRNS,KC_TRNS, TG(3), - KC_CAPS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, TG(2),KC_VOLU,KC_MPLY, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_MRWD,KC_VOLD,KC_MFFD - ), - // Mac Layer - [_MAC] = LAYOUT( - TO(0), KC_F14, KC_F15, M_APPS, M_MSSN, KC_F11, KC_F12,KC_MRWD,KC_MPLY,KC_MFFD,KC_MUTE,KC_VOLD,KC_VOLU,KC_EJCT, KC_NO, KC_NO, - KC_NO, M_PRTS, M_PRTA, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BSPC, KC_NO, - KC_NO,M_PRTSC,M_PRTAC, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, KC_NO, - KC_NO, KC_NO, KC_NO, KC_X, KC_C, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(0), M_MSSN, KC_NO, - KC_NO, KC_NO,KC_LGUI, M_SPOT, M_SPOT, M_SPOT, KC_RGUI, KC_NO, KC_NO, M_LEFT, M_APPS, M_RGHT - ), - // RGB and BL Layer - [_RGB] = LAYOUT( - TO(0), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(0), - KC_NO,RGB_HUD,RGB_HUI,RGB_WHT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,BL_TOGG, - KC_NO,RGB_SAD,RGB_SAI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,RGB_TOG, - KC_NO, KC_NO,RGB_VAD,RGB_VAI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,RGB_MOD,RGB_RMOD, KC_NO,RGB_M_P,RGB_M_R, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,RGB_M_G,RGB_M_SW - ), -}; - -// The Macros -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { - if (record->event.pressed) { - switch(id) { - case 0: - return MACRO(D(LGUI), D(LSFT), T(3), U(LSFT), U(LGUI), END); // Mac print screen - case 1: - return MACRO(D(LGUI), D(LSFT), T(4), U(LSFT), U(LGUI), END); // Mac print area - case 2: - return MACRO(D(LCTL), D(LSFT), D(LGUI), T(3), D(LCTL), D(LSFT), D(LGUI), END); // Mac print screen to clipboard - case 3: - return MACRO(D(LCTL), D(LSFT), D(LGUI), T(4), D(LCTL), D(LSFT), D(LGUI), END); // Mac print area to clipboard - case 4: - return MACRO(D(LCTL), T(UP), U(LCTL), END); // Mac mission control - case 5: - return MACRO(D(LCTL), T(DOWN), U(LCTL), END); // Mac app windows - case 6: - return MACRO(D(LGUI), T(SPC), U(LGUI), END); // Mac spotlight search - case 7: - return MACRO(D(LCTL), T(LEFT), U(LCTL), END); // Mac mission left - case 8: - return MACRO(D(LCTL), T(RGHT), U(LCTL), END); // Mac mission right - case 9: - rgblight_setrgb(0xff, 0xff, 0xff); // White rgb shortcut - break; - } - } - return MACRO_NONE; -}; diff --git a/keyboards/jc65/v32a/keymaps/naut/readme.md b/keyboards/jc65/v32a/keymaps/naut/readme.md deleted file mode 100644 index e7d1096666..0000000000 --- a/keyboards/jc65/v32a/keymaps/naut/readme.md +++ /dev/null @@ -1,16 +0,0 @@ -Naut's Keymap -======= - -Layer 1: HHKB Split backspace, 6.25u space, control on caps, Fn on L-Ctl. - -Layer 2: F Row on numrow, caps on tab, media shortcuts on arrows - -Layer 3: Mac Media buttons on numrow - -Layer 4: RGB control - -Keymap Maintainer: [Jason Barnachea](https://github.com/nautxx) - -Difference from base layout: HHKBish layout. HHKB Fn layer. Mac media layer. RGB control layer. - -Intended usage: Daily driver for keyboard peacocking. diff --git a/keyboards/jc65/v32a/keymaps/naut/rules.mk b/keyboards/jc65/v32a/keymaps/naut/rules.mk deleted file mode 100644 index d7463419b4..0000000000 --- a/keyboards/jc65/v32a/keymaps/naut/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = yes -BACKLIGHT_ENABLE = yes |