Skip to content

Commit

Permalink
Merge pull request #4 from granitrocky/combo-remix
Browse files Browse the repository at this point in the history
Move all the combo remix includes to the bottom to overwrite existing…
  • Loading branch information
mcrosson authored May 4, 2022
2 parents e34ee37 + afc2bb7 commit 05f7671
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 33 deletions.
15 changes: 8 additions & 7 deletions users/ardux/layout/combos/ansi.def
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2021 Mike "KemoNine" Crosson
// SPDX-License-Identifier: Apache-2.0

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/ansi.def")
#include "../remixes/combos/ansi.def"
#endif

#ifndef DISABLE_DEFAULT_ANSI_COMBOS

#ifndef DISABLE_DEFAULT_ALPHA_COMBOS
Expand Down Expand Up @@ -38,4 +32,11 @@ COMB(combo_nine, KC_9, KNUM_B1, KNU
COMB(combo_zero, KC_0, KNUM_B2, KNUM_B3)
#endif // DISABLE_DEFAULT_NUMBER_COMBOS

#endif // DISABLE_DEFAULT_ANSI_COMBOS
#endif // DISABLE_DEFAULT_ANSI_COMBOS


// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/ansi.def")
#include "../remixes/combos/ansi.def"
#endif
12 changes: 7 additions & 5 deletions users/ardux/layout/combos/control.def
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Copyright (c) 2021 Mike "KemoNine" Crosson
// SPDX-License-Identifier: Apache-2.0

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/control.def")
#include "../remixes/combos/control.def"
#endif

#ifndef DISABLE_DEFAULT_CONTROL_COMBOS

Expand Down Expand Up @@ -47,3 +42,10 @@ COMB(combo_space_base_40p, KC_SPACE, RIGHT_SYMBOL
#endif // ARDUX_SIZE_40P

#endif // DISABLE_DEFAULT_CONTROL_COMBOS


// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/control.def")
#include "../remixes/combos/control.def"
#endif
14 changes: 7 additions & 7 deletions users/ardux/layout/combos/layers.def
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2021 Mike "KemoNine" Crosson
// SPDX-License-Identifier: Apache-2.0

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/layers.def")
#include "../remixes/combos/layers.def"
#endif

#ifndef DISABLE_DEFAULT_LAYER_COMBOS

// NAME RESULT TRIGGER
Expand All @@ -20,4 +14,10 @@ COMB(combo_layer_basefun, TG(LAYER_ID_BIG_FUN), OSM_SHIFT, K
COMB(combo_layer_funbase, TG(LAYER_ID_BIG_FUN), FUN_1, FUN_2)
#endif

#endif // DISABLE_DEFAULT_LAYER_COMBOS
#endif // DISABLE_DEFAULT_LAYER_COMBOS

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/layers.def")
#include "../remixes/combos/layers.def"
#endif
14 changes: 7 additions & 7 deletions users/ardux/layout/combos/mods.def
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2021 Mike "KemoNine" Crosson
// SPDX-License-Identifier: Apache-2.0

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/mods.def")
#include "../remixes/combos/mods.def"
#endif

#ifndef DISABLE_DEFAULT_MOD_COMBOS

// NAME RESULT TRIGGER
Expand Down Expand Up @@ -50,4 +44,10 @@ COMB(combo_caps_lock_base_40p, KC_CAPS, RIGHT_CUSTOM
#endif
#endif // ARDUX_SIZE_40P

#endif // DISABLE_DEFAULT_MOD_COMBOS
#endif // DISABLE_DEFAULT_MOD_COMBOS

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/mods.def")
#include "../remixes/combos/mods.def"
#endif
14 changes: 7 additions & 7 deletions users/ardux/layout/combos/symbols.def
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2021 Mike "KemoNine" Crosson
// SPDX-License-Identifier: Apache-2.0

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/symbols.def")
#include "../remixes/combos/symbols.def"
#endif

#ifndef DISABLE_DEFAULT_SYMBOL_COMBOS

// NAME RESULT TRIGGER
Expand All @@ -27,4 +21,10 @@ COMB(combo_single_quote_40p, KC_QUOT, RIGHT_PARENT
#endif
#endif // ARDUX_SIZE_40P

#endif // DISABLE_DEFAULT_SYMBOL_COMBOS
#endif // DISABLE_DEFAULT_SYMBOL_COMBOS

// /////////
// User remixes / tweaks -- these take precidence above all else
#if __has_include("../remixes/combos/symbols.def")
#include "../remixes/combos/symbols.def"
#endif

0 comments on commit 05f7671

Please sign in to comment.