Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrtnull committed Sep 26, 2024
1 parent b9cf809 commit abb53e6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 90 deletions.
49 changes: 5 additions & 44 deletions keyboards/beekeeb/3w6hs/keymaps/sqrtnull/config.h
Original file line number Diff line number Diff line change
@@ -1,56 +1,17 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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

// #define USE_MATRIX_I2C

/* Select hand configuration */

#define MASTER_LEFT
// #define MASTER_RIGHT
// #define EE_HANDS

// #define QUICK_TAP_TERM 0
#define TAPPING_TERM 180

#define ONESHOT_TIMEOUT 500

#define LEADER_PER_KEY_TIMING
#define LEADER_TIMEOUT 250
#define LEADER_TIMEOUT 251

#define ENABLE_COMPILE_KEYCODE

#ifdef RGBLIGHT_ENABLE
# 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
# define RGBLIGHT_LIMIT_VAL 120
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
#endif
#define MK_KINETIC_SPEED
#define MOUSEKEY_MOVE_DELTA 29

#define DEBOUNCE 10
2 changes: 1 addition & 1 deletion keyboards/beekeeb/3w6hs/keymaps/sqrtnull/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, NAV_SCN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_LGUI, MO(2), OS_LSFT, OS_LCTL, KC_SPC, KC_LALT
MT(MOD_LGUI,KC_BSPC), MO(2), OS_LSFT, OS_LCTL, KC_SPC, MT(MOD_LALT,KC_ENT)

),

Expand Down
47 changes: 4 additions & 43 deletions keyboards/crkbd/keymaps/sqrtnull/config.h
Original file line number Diff line number Diff line change
@@ -1,34 +1,7 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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

// #define USE_MATRIX_I2C

/* Select hand configuration */

#define MASTER_LEFT
// #define MASTER_RIGHT
// #define EE_HANDS

// #define QUICK_TAP_TERM 0
#define TAPPING_TERM 180

#define ONESHOT_TIMEOUT 500
Expand All @@ -38,19 +11,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define ENABLE_COMPILE_KEYCODE

#ifdef RGBLIGHT_ENABLE
# 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
# define RGBLIGHT_LIMIT_VAL 120
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
#endif
#define MK_KINETIC_SPEED
#define MOUSEKEY_MOVE_DELTA 29

#define DEBOUNCE 10
4 changes: 2 additions & 2 deletions keyboards/crkbd/keymaps/sqrtnull/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, XXXXXXX,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
KC_LGUI, MO(2), OS_LSFT, OS_LCTL, KC_SPC, KC_LALT
MT(MOD_LGUI,KC_BSPC), MO(2), OS_LSFT, OS_LCTL, KC_SPC, MT(MOD_LALT,KC_ENT)
//`--------------------------' `--------------------------'

),
Expand Down Expand Up @@ -68,7 +68,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
_______, KC_TAB, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
_______, KC_WH_L, KC_BTN4, KC_BTN3, KC_BTN5, KC_WH_R, _______, KC_PGDN, KC_END, KC_BSPC, _______, _______,
_______, KC_WH_L, KC_BTN4, KC_BTN3, KC_BTN5, KC_WH_R, TG(3), KC_PGDN, KC_END, KC_BSPC, _______, _______,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______
//`--------------------------' `--------------------------'
Expand Down

0 comments on commit abb53e6

Please sign in to comment.