Skip to content

Commit

Permalink
[Keymap] update to Danielo515 keymaps (#8004)
Browse files Browse the repository at this point in the history
* feat(build): added script for compiling with docker easily

* chore: bring my own build with docker to master

* feat: merge ergodox ez into latest maste

* chore: remove my build with docker file

* chore: remove my changes to process_leader

* feat: more modular user danielo515

* Apply suggestions from @ridingqwerty

Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>

* chore: more suggestions implemented

* chore: add my basic details

* Apply suggestions from @drashna

Co-Authored-By: Drashna Jaelre <drashna@live.com>

* fix: more @drashna fixes

* feat: @fauxpark optimization

* fix: some more @drashna improvements

Co-Authored-By: Drashna Jaelre <drashna@live.com>

* chore: small improvement on layout

* fix: some more @drashna improvements

* chore: remove some F dance

Co-authored-by: ridingqwerty <george.g.koenig@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
  • Loading branch information
3 people committed Jan 27, 2020
1 parent 0804f0a commit 1b7a003
Show file tree
Hide file tree
Showing 12 changed files with 1,113 additions and 0 deletions.
37 changes: 37 additions & 0 deletions keyboards/ergodox_ez/keymaps/danielo515/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
Set any config.h overrides for your specific keymap here.
See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file
*/
#pragma once

#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_TERM 200

#define ONESHOT_TAP_TOGGLE 3

#define RGBLIGHT_SLEEP

#undef MOUSEKEY_TIME_TO_MAX
#define MOUSEKEY_TIME_TO_MAX 50

#undef MOUSEKEY_WHEEL_TIME_TO_MAX
#define MOUSEKEY_WHEEL_TIME_TO_MAX 60
// Timeout settings for leader key
#undef LEADER_TIMEOUT
#define LEADER_TIMEOUT 350
#define LEADER_PER_KEY_TIMING

#undef DEBOUNCE
#define DEBOUNCE 45
// Memory saving
#ifdef CONSOLE_ENABLE
# define NO_DEBUG
# define NO_PRINT
#endif

#ifndef LINK_TIME_OPTIMIZATION_ENABLE
# define NO_ACTION_MACRO
# define NO_ACTION_FUNCTION
#endif

#undef RGBLIGHT_ANIMATIONS
318 changes: 318 additions & 0 deletions keyboards/ergodox_ez/keymaps/danielo515/keymap.c

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions keyboards/ergodox_ez/keymaps/danielo515/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
LTO_ENABLE = yes
AUTO_SHIFT_ENABLE = no
TAP_DANCE_ENABLE = yes # Enable the tap dance feature.
LEADER_ENABLE = yes
CONSOLE_ENABLE = no
RGBLIGHT_ENABLE = yes
COMBO_ENABLE = yes
21 changes: 21 additions & 0 deletions users/danielo515/combo.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include "combo.h"
enum combos {
JK_ESC,
YU_COM,
UI_COM,
IO_COM,
OP_COM,
QW_COM
};

const uint16_t PROGMEM ui_combo[] = {KC_U, KC_I, COMBO_END};
const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END};
const uint16_t PROGMEM yu_combo[] = {KC_Y, KC_U, COMBO_END};
const uint16_t PROGMEM io_combo[] = {KC_I, KC_O, COMBO_END};

combo_t key_combos[COMBO_COUNT] = {
[JK_ESC] = COMBO(jk_combo, KC_ESC),
[YU_COM] = COMBO(yu_combo, KC_CIRC),
[UI_COM] = COMBO(ui_combo, KC_ESC),
[IO_COM] = COMBO(io_combo, KC_TILD)
};
2 changes: 2 additions & 0 deletions users/danielo515/combo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#pragma once
#include "quantum.h"
6 changes: 6 additions & 0 deletions users/danielo515/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

#if defined(COMBO_ENABLE)
#define COMBO_COUNT 4
#define COMBO_TERM 50
#endif // !COMBO_ENABLE
Loading

0 comments on commit 1b7a003

Please sign in to comment.