Skip to content

Commit

Permalink
Move around RepeatHold declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Nov 2, 2024
1 parent d41fd96 commit e887de9
Show file tree
Hide file tree
Showing 20 changed files with 74 additions and 20 deletions.
3 changes: 2 additions & 1 deletion keyboards/keebio/iris/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q10/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -34,4 +33,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q10/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -48,4 +47,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q1v1/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

//#define PLODAH_FEAT_KC
//#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -44,4 +43,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
// #define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
2 changes: 2 additions & 0 deletions keyboards/keychron/q1v1/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
// #define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE
5 changes: 4 additions & 1 deletion keyboards/keychron/q3/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -36,4 +35,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q3/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -48,4 +47,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q8/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -44,4 +43,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q8/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -52,4 +51,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q9/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -34,4 +33,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/q9/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -43,4 +42,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/v2/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -39,4 +38,8 @@
#ifdef RGB_MATRIX_ENABLE
// #include "configs/rgbmatrix-effects-none.h"
#include "configs/rgbmatrix-effects-all.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/v2/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -48,4 +47,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/v6/iso_encoder/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -34,4 +33,8 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/keychron/v6/iso_encoder/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -48,4 +47,8 @@
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-few.h"
#include "configs/rgbmatrix-config.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/kprepublic/bm65hsrgb/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -29,4 +28,8 @@
/* ------- RGB LIGHTING ------- */
#ifdef RGBLIGHT_ENABLE
#include "configs/rgblight-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGBLIGHT_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/kprepublic/bm65hsrgb_iso/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -29,4 +28,8 @@
/* ------- RGB LIGHTING ------- */
#ifdef RGBLIGHT_ENABLE
#include "configs/rgblight-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGBLIGHT_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/kprepublic/bm65hsrgb_iso/keymaps/plodahc/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand Down Expand Up @@ -33,4 +32,8 @@
/* ------- RGB LIGHTING ------- */
#ifdef RGBLIGHT_ENABLE
#include "configs/rgblight-effects-few.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGBLIGHT_ENABLE

#include "plodah.h"
5 changes: 4 additions & 1 deletion keyboards/winry/winry315/keymaps/plodah/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "plodah.h"

#define PLODAH_FEAT_KC
#define PLODAH_QRGB_KC
Expand All @@ -20,9 +19,13 @@
/* ------- RGB MATRIX ------- */
#ifdef RGB_MATRIX_ENABLE
#include "configs/rgbmatrix-effects-none.h"
#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RATE 100
#endif // RGB_MATRIX_ENABLE

/* ------- RGB LIGHTING ------- */
#ifdef RGBLIGHT_ENABLE
#include "configs/rgblight-effects-none.h"
#endif // RGBLIGHT_ENABLE

#include "plodah.h"
4 changes: 2 additions & 2 deletions users/plodah/plodah.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#define PLODAH_ALT_TAB_DELAY 750
#endif // PLODAH_ALTTAB_ENHANCEMENTS_ENABLE

#define PLODAH_REPEATHOLD_RGB
// #define PLODAH_REPEATHOLD_RGB
#if defined(PLODAH_REPEATHOLD_RGB) && (! defined(PLODAH_REPEATHOLD_RATE))
#define PLODAH_REPEATHOLD_RATE 100
#define PLODAH_REPEATHOLD_RATE 125
#endif // defined(PLODAH_REPEATHOLD_RGB) && (! defined(PLODAH_REPEATHOLD_RATE))

#if defined(COMBO_ENABLE) && (! defined(COMBO_TERM))
Expand Down

0 comments on commit e887de9

Please sign in to comment.