diff options
Diffstat (limited to 'keyboards/primekb/prime_e')
-rw-r--r-- | keyboards/primekb/prime_e/.noci | 0 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/brandonschlack/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/madhatter/config.h | 2 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/madhatter/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/milestogo/config.h | 40 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/milestogo/keymap.c | 150 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/milestogo/readme.md | 2 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/milestogo/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/keymaps/peott-fr/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/rgb/config.h | 11 |
10 files changed, 17 insertions, 201 deletions
diff --git a/keyboards/primekb/prime_e/.noci b/keyboards/primekb/prime_e/.noci deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/primekb/prime_e/.noci +++ /dev/null diff --git a/keyboards/primekb/prime_e/keymaps/brandonschlack/keymap.c b/keyboards/primekb/prime_e/keymaps/brandonschlack/keymap.c index 29b2f3214b..b7fb4dae47 100644 --- a/keyboards/primekb/prime_e/keymaps/brandonschlack/keymap.c +++ b/keyboards/primekb/prime_e/keymaps/brandonschlack/keymap.c @@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [_LOWER] = LAYOUT( \ - KC_DELT, KC_BRMD, KC_BRMU, MC_MSSN, MC_LHPD, _______, _______, _______, _______, KC_HOME, KC_UP, KC_PGUP, MC_SLPD, \ + KC_DEL, KC_BRMD, KC_BRMU, MC_MSSN, MC_LHPD, _______, _______, _______, _______, KC_HOME, KC_UP, KC_PGUP, MC_SLPD, \ _______, KC_MUTE, KC_VOLU, NXT_WIN, PRV_TAB, MC_BACK, MC_FWRD, NXT_TAB, _______, KC_LEFT, KC_RGHT, KC_MPLY, \ SF_CAPS, KC_MPRV, KC_VOLD, KC_MNXT, _______, PX_AFLL, OP_AFLL, _______, _______, KC_END, KC_DOWN, KC_PGDN, _______, \ _______, _______, _______, _______, _______, _______, _______, _______ \ @@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [_ADJUST] = LAYOUT( \ - QM_MAKE, _______, _______, EEP_RST, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, \ + QM_MAKE, _______, _______, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, \ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ _______, _______, _______, _______, _______, _______, _______, _______ \ diff --git a/keyboards/primekb/prime_e/keymaps/madhatter/config.h b/keyboards/primekb/prime_e/keymaps/madhatter/config.h index 8075bb73d5..3ec816d7ee 100644 --- a/keyboards/primekb/prime_e/keymaps/madhatter/config.h +++ b/keyboards/primekb/prime_e/keymaps/madhatter/config.h @@ -3,4 +3,4 @@ #define TAPPING_TERM 150 #undef PRODUCT -#define PRODUCT MadHatter\x27s Custom Ilpse +#define PRODUCT "MadHatter's Custom Ilpse" diff --git a/keyboards/primekb/prime_e/keymaps/madhatter/keymap.c b/keyboards/primekb/prime_e/keymaps/madhatter/keymap.c index e02cedcec9..f3228ec0d5 100644 --- a/keyboards/primekb/prime_e/keymaps/madhatter/keymap.c +++ b/keyboards/primekb/prime_e/keymaps/madhatter/keymap.c @@ -39,9 +39,9 @@ enum ilpse_layers { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT( - KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_BSPC, + QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_BSPC, KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, + SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_LCTL, KC_LALT, LOWER, GUBS, KC_SPC, RAISE, KC_RGUI, KC_RCTL ), diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/config.h b/keyboards/primekb/prime_e/keymaps/milestogo/config.h deleted file mode 100644 index c3f9e43415..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2019 Holten Campbell - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - - -#undef MATRIX_ROWS -#undef MATRIX_COLS -#undef MATRIX_ROW_PINS -#undef MATRIX_COL_PINS - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 - -/* Keyboard Matrix Assignments */ -#define MATRIX_ROW_PINS { E6, C7, B5, B4, C6 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4, D5, D3, D2, D1, D0, B6, D7} - -// Babble config -#define USE_BABBLEPASTE -#define BABL_MODSWAP -#define BABL_READMUX -#define BABL_KITTY -#define BABL_MAC -#define BABL_LINUX diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c b/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c deleted file mode 100644 index ced250e51f..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/keymap.c +++ /dev/null @@ -1,150 +0,0 @@ -/* Copyright 2018 Holten Campbell - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H -#include "milestogo.h" - -/* customized matrix needs to be updated in local config.h -#define MATRIX_ROWS 5 -#define MATRIX_COLS 15 -#define MATRIX_ROW_PINS { E6, C7, B5, B4, C6 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4, D5, D3, D2, D1, D0, B6, D7} -*/ - -#define LAYOUT_wrap_m2primee(...) LAYOUT_m2primee(__VA_ARGS__) -#define LAYOUT_wrap_m2primee_trns(...) LAYOUT_m2primee_trns(__VA_ARGS__) - -// clang-format off -#define LAYOUT_m2primee(\ - K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \ - K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112,\ - K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \ - K300, K301, K303, K304, K306, K308, K311, K312, \ - K413, K414 )\ - {\ - {K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO},\ - {K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112, KC_NO, KC_NO},\ - {K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, KC_NO}, \ - {K300, K301, KC_NO, K303, K304, KC_NO, K306, KC_NO, K308, KC_NO, KC_NO, K311, K312, 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, KC_NO, K413, K414 } \ - } - -#define LAYOUT_m2primee_trns(\ - K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \ - K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \ - K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211) \ - {\ - {KC_TRNS, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO}, \ - {KC_TRNS, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112, KC_NO, KC_NO}, \ - {KC_LSFT, K201, K202, K203, K204, K205, KC_TRNS, K207, K208, K209, K210, K211, KC_TRNS, KC_NO, KC_NO}, \ - {KC_LALT, KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_TRNS, KC_RSFT, 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, KC_NO, B_1ME, KC_ENTER } \ - } - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = LAYOUT_wrap_m2primee(\ -KC_TAB, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_MINS, KC_EQL, -LT(_MOV,KC_ESC), _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, KC_QUOT, -KC_LSFT, _________________QWERTY_L3_________________, MO(_SYM), _________________QWERTY_R3_________________, KC_RSFT, -B_2ME, KC_LALT, LT(_NUM, KC_DEL), KC_BSPC, KC_SPC, LT(_NUM, KC_ESC), B_2ME, KC_RALT, -B_1ME, KC_ENTER), - - [_NUM] = LAYOUT_wrap_m2primee(\ -KC_TRNS, __________40_______NUM_L1__________________, __________40_______NUM_R1__________________, KC_VOLD, KC_VOLU, -KC_TRNS, __________40_______NUM_L2__________________, __________40_______NUM_R2__________________, KC_ENT, -KC_TRNS, __________40_______NUM_L3__________________, KC_TRNS, __________40_______NUM_R3__________________, KC_TRNS, -KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -KC_TRNS, KC_TRNS), - - [_CDH] = LAYOUT_wrap_m2primee_trns(\ -______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________, KC_TRNS, KC_TRNS, -______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________, KC_QUOT, -______________COLEMAK_MOD_DH_L3____________, KC_TRNS, ______________COLEMAK_MOD_DH_R3____________), - - [_SYM] = LAYOUT_wrap_m2primee_trns(\ -___________________SYM_L1__________________, ___________________SYM_R1__________________, KC_TRNS, KC_TRNS, -___________________SYM_L2__________________, ___________________SYM_R2__________________, KC_TRNS, -___________________SYM_L3__________________, KC_TRNS, ___________________SYM_R3__________________), - - [_MOV] = LAYOUT_wrap_m2primee_trns(\ -__________40_______MOV_L1__________________, __________40_______MOV_R1__________________, KC_TRNS, KC_CDH, -__________40_______MOV_L2__________________, __________40_______MOV_R2__________________, KC_TRNS, -__________40_______MOV_L3__________________, KC_TRNS, __________40_______MOV_R3__________________), - - [_DMOV] = LAYOUT_wrap_m2primee_trns(\ -____________40__DELMOV_L1__________________, ____________40__DELMOV_R1__________________ , KC_TRNS, KC_CDH, -____________40__DELMOV_L2__________________, ____________40__DELMOV_R2__________________ , KC_TRNS, -____________40__DELMOV_L3__________________, KC_TRNS, ____________40__DELMOV_R3__________________ ), -}; - -// clang-format on - -void matrix_init_user(void) { - // set CapsLock LED to output and high by default, drop low when on. - setPinOutput(B1); - writePinHigh(B1); - // set NumLock LED to output and low - setPinOutput(B2); - writePinLow(B2); - // set ScrollLock LED to output and low - setPinOutput(B3); - writePinLow(B3); - - backlight_enable(); - backlight_level(2); -} - -bool led_update_kb(led_t led_state) { -#ifndef USE_BABBLEPASTE - // if we aren't using the LEDs to show bablepaste options, use them to show standard keyboard stuff - writePin(B1, led_state.caps_lock); - writePin(B2, led_state.num_lock); - writePin(B3, led_state.scroll_lock); -#endif - return true; -} - -void babble_modeswitch_kb(uint8_t mode) { -#ifdef USE_BABBLEPASTE - switch (mode) { - case (BABL_READMUX_MODE): - writePinHigh(B3); - writePinLow(B2); - backlight_level(1); - break; - case (BABL_LINUX_MODE): - writePinHigh(B2); - writePinLow(B3); - backlight_level(2); - break; - case (BABL_MAC_MODE): // backlight on, indicator leds off - writePinLow(B3); - writePinLow(B2); - backlight_level(4); - break; - } - - // call the user function - babble_modeswitch_user(mode); -#endif -} - -// function for layer indicator LED -layer_state_t layer_state_set_user(layer_state_t state) { - // Turn on top LED if we are in colemak, off for qwerty. - writePin(B1, layer_state_cmp(state, _CDH)); - return state; -} diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/readme.md b/keyboards/primekb/prime_e/keymaps/milestogo/readme.md deleted file mode 100644 index c74eda3ea3..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# Modified keymap for Prime_E -My PrimeE has two added thumb switches, so it uses a slightly different keymap.
\ No newline at end of file diff --git a/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk b/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk deleted file mode 100644 index 81d9ace791..0000000000 --- a/keyboards/primekb/prime_e/keymaps/milestogo/rules.mk +++ /dev/null @@ -1 +0,0 @@ -USER_NAME := miles2go diff --git a/keyboards/primekb/prime_e/keymaps/peott-fr/keymap.c b/keyboards/primekb/prime_e/keymaps/peott-fr/keymap.c index 3ad641179a..a3ab5711af 100644 --- a/keyboards/primekb/prime_e/keymaps/peott-fr/keymap.c +++ b/keyboards/primekb/prime_e/keymaps/peott-fr/keymap.c @@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT( 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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, + SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, LCTL_T(KC_MPRV), LALT_T(KC_MPLY), FN_NUM, SPC_LFT, BSP_FUNC, LGUI_T(KC_DEL), RALT_T(KC_HOME), RCTL_T(KC_END) ), [_LEFTHAND] = LAYOUT( @@ -54,7 +54,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [_FUNC] = LAYOUT( QK_BOOT, 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_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_INS, KC_TRNS, KC_TRNS, + KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_INS, KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, KC_RSFT, KC_LCTL, KC_LALT, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_RALT, KC_RCTL ) diff --git a/keyboards/primekb/prime_e/rgb/config.h b/keyboards/primekb/prime_e/rgb/config.h index 89cf43902c..015ba8b5e9 100644 --- a/keyboards/primekb/prime_e/rgb/config.h +++ b/keyboards/primekb/prime_e/rgb/config.h @@ -21,4 +21,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DI_PIN B7 #define RGBLED_NUM 8 -#define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_EFFECT_RAINBOW_MOOD +#define RGBLIGHT_EFFECT_RAINBOW_SWIRL +#define RGBLIGHT_EFFECT_SNAKE +#define RGBLIGHT_EFFECT_KNIGHT +#define RGBLIGHT_EFFECT_CHRISTMAS +#define RGBLIGHT_EFFECT_STATIC_GRADIENT +#define RGBLIGHT_EFFECT_RGB_TEST +#define RGBLIGHT_EFFECT_ALTERNATING +#define RGBLIGHT_EFFECT_TWINKLE |