Browse Source

Remove usages of config_common.h from config.h files. (#19714)

pull/19722/head
Nick Brassel 1 year ago
committed by GitHub
parent
commit
f6dd8dea2e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2368 changed files with 11 additions and 2377 deletions
  1. +2
    -7
      docs/config_options.md
  2. +1
    -0
      drivers/sensors/adns5050.h
  3. +0
    -1
      keyboards/0_sixty/config.h
  4. +0
    -1
      keyboards/0_sixty/underglow/config.h
  5. +0
    -1
      keyboards/0xc7/61key/config.h
  6. +0
    -1
      keyboards/0xcb/1337/config.h
  7. +0
    -1
      keyboards/0xcb/static/config.h
  8. +0
    -1
      keyboards/0xcb/tutelpad/config.h
  9. +0
    -1
      keyboards/10bleoledhub/config.h
  10. +0
    -1
      keyboards/1k/config.h
  11. +0
    -1
      keyboards/1upkeyboards/1up60hse/config.h
  12. +0
    -1
      keyboards/1upkeyboards/1up60hte/config.h
  13. +0
    -1
      keyboards/1upkeyboards/1up60rgb/config.h
  14. +0
    -1
      keyboards/1upkeyboards/pi40/config.h
  15. +0
    -1
      keyboards/1upkeyboards/pi60_hse/config.h
  16. +0
    -1
      keyboards/1upkeyboards/pi60_rgb/config.h
  17. +0
    -1
      keyboards/1upkeyboards/super16/config.h
  18. +0
    -1
      keyboards/1upkeyboards/super16v2/config.h
  19. +0
    -1
      keyboards/1upkeyboards/sweet16/config.h
  20. +0
    -1
      keyboards/1upkeyboards/sweet16/v1/config.h
  21. +0
    -1
      keyboards/1upkeyboards/sweet16v2/kb2040/config.h
  22. +0
    -1
      keyboards/1upkeyboards/sweet16v2/pro_micro/config.h
  23. +0
    -1
      keyboards/25keys/aleth42/rev0/config.h
  24. +0
    -1
      keyboards/25keys/aleth42/rev1/config.h
  25. +0
    -1
      keyboards/25keys/cassette42/config.h
  26. +0
    -1
      keyboards/25keys/zinc/config.h
  27. +0
    -1
      keyboards/2key2crawl/config.h
  28. +0
    -1
      keyboards/30wer/config.h
  29. +0
    -1
      keyboards/3keyecosystem/2key2/config.h
  30. +0
    -1
      keyboards/40percentclub/25/config.h
  31. +0
    -1
      keyboards/40percentclub/4pack/config.h
  32. +0
    -1
      keyboards/40percentclub/4x4/config.h
  33. +0
    -1
      keyboards/40percentclub/5x5/config.h
  34. +0
    -1
      keyboards/40percentclub/6lit/config.h
  35. +0
    -1
      keyboards/40percentclub/foobar/config.h
  36. +0
    -1
      keyboards/40percentclub/gherkin/config.h
  37. +0
    -1
      keyboards/40percentclub/half_n_half/config.h
  38. +0
    -1
      keyboards/40percentclub/i75/config.h
  39. +0
    -1
      keyboards/40percentclub/i75/promicro/config.h
  40. +0
    -1
      keyboards/40percentclub/i75/teensy2/config.h
  41. +0
    -1
      keyboards/40percentclub/luddite/config.h
  42. +0
    -1
      keyboards/40percentclub/mf68/config.h
  43. +0
    -1
      keyboards/40percentclub/mf68/keymaps/mf68_ble/config.h
  44. +0
    -1
      keyboards/40percentclub/nano/config.h
  45. +0
    -1
      keyboards/40percentclub/nein/config.h
  46. +0
    -1
      keyboards/40percentclub/nori/config.h
  47. +0
    -1
      keyboards/40percentclub/polyandry/config.h
  48. +0
    -1
      keyboards/40percentclub/polyandry/promicro/config.h
  49. +0
    -1
      keyboards/40percentclub/polyandry/teensy2/config.h
  50. +0
    -1
      keyboards/40percentclub/sixpack/config.h
  51. +0
    -1
      keyboards/40percentclub/tomato/config.h
  52. +0
    -1
      keyboards/40percentclub/ut47/config.h
  53. +0
    -1
      keyboards/40percentclub/ut47/keymaps/rgb/config.h
  54. +0
    -1
      keyboards/45_ats/config.h
  55. +0
    -1
      keyboards/4by3/config.h
  56. +0
    -1
      keyboards/4pplet/aekiso60/rev_a/config.h
  57. +0
    -1
      keyboards/4pplet/aekiso60/rev_b/config.h
  58. +0
    -1
      keyboards/4pplet/bootleg/rev_a/config.h
  59. +0
    -1
      keyboards/4pplet/steezy60/rev_a/config.h
  60. +0
    -1
      keyboards/4pplet/waffling60/rev_a/config.h
  61. +0
    -1
      keyboards/4pplet/waffling60/rev_b/config.h
  62. +0
    -1
      keyboards/4pplet/waffling60/rev_c/config.h
  63. +0
    -1
      keyboards/4pplet/waffling60/rev_d/config.h
  64. +0
    -1
      keyboards/4pplet/waffling60/rev_d_ansi/config.h
  65. +0
    -1
      keyboards/4pplet/waffling60/rev_d_iso/config.h
  66. +0
    -1
      keyboards/4pplet/waffling80/rev_a/config.h
  67. +0
    -1
      keyboards/4pplet/waffling80/rev_b/config.h
  68. +0
    -1
      keyboards/7c8/framework/config.h
  69. +0
    -1
      keyboards/8pack/config.h
  70. +0
    -1
      keyboards/9key/config.h
  71. +0
    -1
      keyboards/a_dux/config.h
  72. +0
    -1
      keyboards/abacus/config.h
  73. +0
    -1
      keyboards/abatskeyboardclub/nayeon/config.h
  74. +0
    -1
      keyboards/abstract/ellipse/rev1/config.h
  75. +0
    -1
      keyboards/acekeyboard/titan60/config.h
  76. +0
    -1
      keyboards/acheron/athena/alpha/config.h
  77. +0
    -1
      keyboards/acheron/athena/beta/config.h
  78. +0
    -1
      keyboards/acheron/elongate/beta/config.h
  79. +0
    -1
      keyboards/acheron/elongate/delta/config.h
  80. +0
    -1
      keyboards/acheron/shark/alpha/config.h
  81. +0
    -1
      keyboards/acheron/shark/beta/config.h
  82. +4
    -5
      keyboards/acheron/shark/beta/keymaps/gondolindrim/keymap.c
  83. +0
    -1
      keyboards/ada/ada1800mini/config.h
  84. +0
    -1
      keyboards/ada/infinity81/config.h
  85. +0
    -1
      keyboards/adafruit/macropad/config.h
  86. +0
    -1
      keyboards/adelheid/config.h
  87. +0
    -1
      keyboards/adkb96/config.h
  88. +0
    -1
      keyboards/adm42/config.h
  89. +0
    -1
      keyboards/adpenrose/akemipad/config.h
  90. +0
    -1
      keyboards/adpenrose/kintsugi/config.h
  91. +0
    -1
      keyboards/adpenrose/obi/config.h
  92. +0
    -1
      keyboards/adpenrose/shisaku/config.h
  93. +0
    -1
      keyboards/aeboards/aegis/config.h
  94. +0
    -1
      keyboards/aeboards/constellation/rev1/config.h
  95. +0
    -1
      keyboards/aeboards/constellation/rev2/config.h
  96. +0
    -1
      keyboards/aeboards/constellation/rev3/config.h
  97. +0
    -1
      keyboards/afternoonlabs/breeze/config.h
  98. +0
    -1
      keyboards/afternoonlabs/gust/config.h
  99. +0
    -1
      keyboards/afternoonlabs/oceanbreeze/config.h
  100. +0
    -1
      keyboards/afternoonlabs/southern_breeze/config.h

+ 2
- 7
docs/config_options.md View File

@ -37,12 +37,7 @@ This level contains all of the options for that particular keymap. If you wish t
# The `config.h` File
This is a C header file that is one of the first things included, and will persist over the whole project (if included). Lots of variables can be set here and accessed elsewhere. The `config.h` file shouldn't be including other `config.h` files, or anything besides this:
```c
#include "config_common.h"
```
This is a C header file that is one of the first things included, and will persist over the whole project (if included). Lots of variables can be set here and accessed elsewhere. The `config.h` file shouldn't be including other `config.h` files.
## Hardware Options
* `#define VENDOR_ID 0x1234`
@ -329,7 +324,7 @@ There are a few different ways to set handedness for split keyboards (listed in
* `#define SPLIT_USB_TIMEOUT_POLL 10`
* Poll frequency when detecting master/slave when using `SPLIT_USB_DETECT`
* `#define SPLIT_WATCHDOG_ENABLE`
* Reboot slave if no communication from master within timeout.
* Helps resolve issue where both sides detect as slave using `SPLIT_USB_DETECT`


+ 1
- 0
drivers/sensors/adns5050.h View File

@ -20,6 +20,7 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
// CPI values
// clang-format off


+ 0
- 1
keyboards/0_sixty/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
// Rows are doubled-up


+ 0
- 1
keyboards/0_sixty/underglow/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* underglow */
#define RGB_DI_PIN B6


+ 0
- 1
keyboards/0xc7/61key/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/0xcb/1337/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
// clang-format off
/* key matrix size */


+ 0
- 1
keyboards/0xcb/static/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
// clang-format off
/* key matrix size */


+ 0
- 1
keyboards/0xcb/tutelpad/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 2


+ 0
- 1
keyboards/10bleoledhub/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/1k/config.h View File

@ -15,7 +15,6 @@
*/
#pragma once
#include "config_common.h"
/* matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/1upkeyboards/1up60hse/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/1upkeyboards/1up60hte/config.h View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/1upkeyboards/1up60rgb/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/1upkeyboards/pi40/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
#define DYNAMIC_KEYMAP_LAYER_COUNT 10


+ 0
- 1
keyboards/1upkeyboards/pi60_hse/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP15


+ 0
- 1
keyboards/1upkeyboards/pi60_rgb/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
#define RGB_DI_PIN GP19
#define RGB_MATRIX_LED_COUNT 61


+ 0
- 1
keyboards/1upkeyboards/super16/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/1upkeyboards/super16v2/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/1upkeyboards/sweet16/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/1upkeyboards/sweet16/v1/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix pins */
#define MATRIX_ROW_PINS { F4, F5, F6, F7 }


+ 0
- 1
keyboards/1upkeyboards/sweet16v2/kb2040/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP6


+ 0
- 1
keyboards/1upkeyboards/sweet16v2/pro_micro/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
#define DYNAMIC_KEYMAP_LAYER_COUNT 10


+ 0
- 1
keyboards/25keys/aleth42/rev0/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/25keys/aleth42/rev1/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/25keys/cassette42/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/25keys/zinc/config.h View File

@ -18,4 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"

+ 0
- 1
keyboards/2key2crawl/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 2


+ 0
- 1
keyboards/30wer/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 3


+ 0
- 1
keyboards/3keyecosystem/2key2/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/40percentclub/25/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0


+ 0
- 1
keyboards/40percentclub/4pack/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/40percentclub/4x4/config.h View File

@ -2,7 +2,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/40percentclub/5x5/config.h View File

@ -2,7 +2,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/40percentclub/6lit/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0


+ 0
- 1
keyboards/40percentclub/foobar/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0


+ 0
- 1
keyboards/40percentclub/gherkin/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/40percentclub/half_n_half/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4*2


+ 0
- 1
keyboards/40percentclub/i75/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5


+ 0
- 1
keyboards/40percentclub/i75/promicro/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 9


+ 0
- 1
keyboards/40percentclub/i75/teensy2/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 9


+ 0
- 1
keyboards/40percentclub/luddite/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 8


+ 0
- 1
keyboards/40percentclub/mf68/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 8


+ 0
- 1
keyboards/40percentclub/mf68/keymaps/mf68_ble/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* Overrides for Feather 32u4 Bluefruit */


+ 0
- 1
keyboards/40percentclub/nano/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 2


+ 0
- 1
keyboards/40percentclub/nein/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 3


+ 0
- 1
keyboards/40percentclub/nori/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/40percentclub/polyandry/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5


+ 0
- 1
keyboards/40percentclub/polyandry/promicro/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/40percentclub/polyandry/teensy2/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 1


+ 0
- 1
keyboards/40percentclub/sixpack/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 2


+ 0
- 1
keyboards/40percentclub/tomato/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/40percentclub/ut47/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/40percentclub/ut47/keymaps/rgb/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
// place overrides here
#define RGBLIGHT_EFFECT_BREATHING


+ 0
- 1
keyboards/45_ats/config.h View File

@ -18,7 +18,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/4by3/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 3


+ 0
- 1
keyboards/4pplet/aekiso60/rev_a/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/aekiso60/rev_b/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/bootleg/rev_a/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/steezy60/rev_a/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling60/rev_a/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 6


+ 0
- 1
keyboards/4pplet/waffling60/rev_b/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling60/rev_c/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling60/rev_d/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling60/rev_d_ansi/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling60/rev_d_iso/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/4pplet/waffling80/rev_a/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 12


+ 0
- 1
keyboards/4pplet/waffling80/rev_b/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 12


+ 0
- 1
keyboards/7c8/framework/config.h View File

@ -15,7 +15,6 @@
*/
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 10
#define MATRIX_COLS 6


+ 0
- 1
keyboards/8pack/config.h View File

@ -1,6 +1,5 @@
#pragma once
#include "config_common.h"
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW


+ 0
- 1
keyboards/9key/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 3


+ 0
- 1
keyboards/a_dux/config.h View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 8


+ 0
- 1
keyboards/abacus/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/abatskeyboardclub/nayeon/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* RGB Matrix setup */
#define RGB_DI_PIN GP19


+ 0
- 1
keyboards/abstract/ellipse/rev1/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 2


+ 0
- 1
keyboards/acekeyboard/titan60/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/acheron/athena/alpha/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 6
#define MATRIX_COLS 17


+ 0
- 1
keyboards/acheron/athena/beta/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 6
#define MATRIX_COLS 17


+ 0
- 1
keyboards/acheron/elongate/beta/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/acheron/elongate/delta/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 5
#define MATRIX_COLS 15


+ 0
- 1
keyboards/acheron/shark/alpha/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/acheron/shark/beta/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 4
#define MATRIX_COLS 12


+ 4
- 5
keyboards/acheron/shark/beta/keymaps/gondolindrim/keymap.c View File

@ -15,7 +15,6 @@ 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 "config_common.h"
#define MEDIA_KEY_DELAY 10
#define ALT_TAB_DELAY 1000
@ -187,7 +186,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
uint32_t held_click_timer = 0;
bool is_click_held = false;
bool is_shift_held = false;
bool automatic_hold_cycle = false; // This flag registers if the encoder hold was automatically cycled
bool automatic_hold_cycle = false; // This flag registers if the encoder hold was automatically cycled
// This bool records if LALT is pressed or not. Due to the automatic disabling of the ALT-TAB of the ALTTABS custom keystroke, the automatic disabling can un-register KC_LALT even when the LALT key is phisically pressed. Hence there needs to be two bools: one that keebs track of the ALT-TAB activity and one that keeps track of LALT so that the automatic disabling will not disable LALT if it is phisically pressed.
bool is_lalt_pressed = false;
@ -213,7 +212,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true; // Skip all further processing of this key
case KC_LALT: // If this is not defined, if the encoder is activated in the alt-tab mode while the LALT key is pressed, the menu goes away.
if (record->event.pressed) is_lalt_pressed = true;
else is_lalt_pressed = false;
else is_lalt_pressed = false;
return true;
case ENCMUP:
case ENCMDN:
@ -225,7 +224,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!is_alt_tab_active) {
is_alt_tab_active = true;
register_code(KC_LALT);
}
tap_code16(keycode == ALTTABF ? KC_TAB : S(KC_TAB)); // Due to S(KC_TAB), the 16-bit tap_code16 is needed.
alt_tab_timer = timer_read32();
@ -252,7 +251,7 @@ void housekeeping_task_user(void) {
is_alt_tab_active = false;
}
}
/* This piece of the code checks for the encoder push timer. If the encoder push interval was less than encoder_click_delay then it is automatically processed by process_record_user by triggering the current mode's click key. However, if the encoder push is held for more time than the defined delay, then the encoder hold "cycles", that is, gets activated and the timer needs to be reset. This does three things:
/* This piece of the code checks for the encoder push timer. If the encoder push interval was less than encoder_click_delay then it is automatically processed by process_record_user by triggering the current mode's click key. However, if the encoder push is held for more time than the defined delay, then the encoder hold "cycles", that is, gets activated and the timer needs to be reset. This does three things:
- (1) Sets the automatic_hold_cycle flag which prevents process_record_user from triggering the click key when the push is released
- (2) Processes the current mode's hold key in process_record_user
- (3) Resets the click timer


+ 0
- 1
keyboards/ada/ada1800mini/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/ada/infinity81/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 6


+ 0
- 1
keyboards/adafruit/macropad/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/adelheid/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 7


+ 0
- 1
keyboards/adkb96/config.h View File

@ -18,5 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"

+ 0
- 1
keyboards/adm42/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
#define MATRIX_ROWS 4
#define MATRIX_COLS 12


+ 0
- 1
keyboards/adpenrose/akemipad/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
/* Key matrix size */
#define MATRIX_ROWS 6


+ 0
- 1
keyboards/adpenrose/kintsugi/config.h View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 10


+ 0
- 1
keyboards/adpenrose/obi/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4


+ 0
- 1
keyboards/adpenrose/shisaku/config.h View File

@ -3,7 +3,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 8


+ 0
- 1
keyboards/aeboards/aegis/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 12


+ 0
- 1
keyboards/aeboards/constellation/rev1/config.h View File

@ -17,7 +17,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/aeboards/constellation/rev2/config.h View File

@ -16,7 +16,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/aeboards/constellation/rev3/config.h View File

@ -17,7 +17,6 @@
#pragma once
#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 5


+ 0
- 1
keyboards/afternoonlabs/breeze/config.h View File

@ -16,4 +16,3 @@
#pragma once
#include "config_common.h"

+ 0
- 1
keyboards/afternoonlabs/gust/config.h View File

@ -16,4 +16,3 @@
#pragma once
#include "config_common.h"

+ 0
- 1
keyboards/afternoonlabs/oceanbreeze/config.h View File

@ -16,4 +16,3 @@
#pragma once
#include "config_common.h"

+ 0
- 1
keyboards/afternoonlabs/southern_breeze/config.h View File

@ -16,4 +16,3 @@
#pragma once
#include "config_common.h"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save