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

This commit is contained in:
Nick Brassel 2023-01-31 06:03:30 +11:00 committed by GitHub
parent 2d843088a2
commit f6dd8dea2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2368 changed files with 11 additions and 2377 deletions

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`

View file

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

View file

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

View file

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

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

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 */

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 */

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

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

View file

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

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

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

View file

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

View file

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

View file

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

View file

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

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

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

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

View file

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

View file

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

View file

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

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

View file

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

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

View file

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

View file

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

View file

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

View file

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

View file

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

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

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

View file

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

View file

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

View file

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

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

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 */

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

View file

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

View file

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

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

View file

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

View file

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

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

View file

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

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

View file

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

View file

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

View file

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

View file

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

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

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

View file

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

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

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

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

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

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

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

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

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

View file

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

View file

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

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

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

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

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

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

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

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

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

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

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

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

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

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

View file

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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