Browse Source

Remove `quantum.h` includes from keyboard custom `matrix.c`s (#23371)

pull/23379/head
Ryan 1 month ago
committed by GitHub
parent
commit
2dd406f08f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
97 changed files with 104 additions and 244 deletions
  1. +1
    -3
      keyboards/barleycorn_smd/matrix.c
  2. +0
    -1
      keyboards/bpiphany/ghost_squid/matrix.c
  3. +0
    -1
      keyboards/centromere/matrix.c
  4. +0
    -3
      keyboards/converter/siemens_tastatur/matrix.c
  5. +2
    -1
      keyboards/custommk/evo70_r2/matrix.c
  6. +0
    -3
      keyboards/dc01/right/matrix.c
  7. +4
    -1
      keyboards/dp60/matrix.c
  8. +4
    -1
      keyboards/duck/orion/v3/matrix.c
  9. +0
    -3
      keyboards/evyd13/wasdat/matrix.c
  10. +0
    -3
      keyboards/evyd13/wasdat_code/matrix.c
  11. +2
    -1
      keyboards/geistmaschine/macropod/matrix.c
  12. +0
    -1
      keyboards/gl516/a52gl/matrix.c
  13. +0
    -1
      keyboards/gl516/j73gl/matrix.c
  14. +0
    -1
      keyboards/gl516/n51gl/matrix.c
  15. +0
    -1
      keyboards/glenpickle/chimera_ergo/matrix.c
  16. +0
    -1
      keyboards/glenpickle/chimera_ls/matrix.c
  17. +0
    -1
      keyboards/glenpickle/chimera_ortho/matrix.c
  18. +0
    -1
      keyboards/glenpickle/chimera_ortho_plus/matrix.c
  19. +3
    -6
      keyboards/gmmk/numpad/matrix.c
  20. +3
    -6
      keyboards/halfcliff/matrix.c
  21. +0
    -7
      keyboards/handwired/dqz11n1g/matrix.c
  22. +2
    -1
      keyboards/handwired/dygma/raise/matrix.c
  23. +0
    -3
      keyboards/handwired/symmetric70_proto/matrix_debug/matrix.c
  24. +0
    -4
      keyboards/handwired/symmetric70_proto/matrix_fast/matrix.c
  25. +4
    -5
      keyboards/hazel/bad_wings/matrix.c
  26. +6
    -1
      keyboards/hhkb/yang/matrix.c
  27. +0
    -3
      keyboards/hineybush/hbcp/matrix.c
  28. +0
    -3
      keyboards/ibm/model_m/mschwingen/matrix.c
  29. +0
    -3
      keyboards/jones/v03/matrix.c
  30. +0
    -3
      keyboards/jones/v03_1/matrix.c
  31. +0
    -3
      keyboards/joshajohnson/hub16/matrix.c
  32. +0
    -1
      keyboards/kagizaraya/chidori/matrix.c
  33. +0
    -3
      keyboards/kakunpc/angel64/alpha/matrix.c
  34. +0
    -3
      keyboards/kakunpc/angel64/rev1/matrix.c
  35. +0
    -3
      keyboards/kakunpc/choc_taro/matrix.c
  36. +0
    -3
      keyboards/kakunpc/thedogkeyboard/matrix.c
  37. +0
    -3
      keyboards/kbdmania/kmac/matrix.c
  38. +0
    -1
      keyboards/kbdmania/kmac_pad/matrix.c
  39. +1
    -1
      keyboards/keyboardio/model01/matrix.c
  40. +3
    -1
      keyboards/keychron/c2_pro/matrix.c
  41. +2
    -1
      keyboards/keychron/q10/matrix.c
  42. +2
    -1
      keyboards/keychron/q12/matrix.c
  43. +3
    -1
      keyboards/keychron/q1v2/matrix.c
  44. +2
    -1
      keyboards/keychron/q3/matrix.c
  45. +2
    -1
      keyboards/keychron/q5/matrix.c
  46. +2
    -1
      keyboards/keychron/q6/matrix.c
  47. +2
    -1
      keyboards/keychron/q65/matrix.c
  48. +2
    -1
      keyboards/keychron/v1/matrix.c
  49. +2
    -1
      keyboards/keychron/v10/matrix.c
  50. +2
    -1
      keyboards/keychron/v3/matrix.c
  51. +2
    -1
      keyboards/keychron/v5/matrix.c
  52. +2
    -1
      keyboards/keychron/v6/matrix.c
  53. +0
    -2
      keyboards/kinesis/nguyenvietyen/matrix.c
  54. +0
    -4
      keyboards/matrix/abelx/matrix.c
  55. +0
    -3
      keyboards/matrix/m12og/rev1/matrix.c
  56. +0
    -4
      keyboards/matrix/m20add/matrix.c
  57. +6
    -12
      keyboards/matrix/noah/matrix.c
  58. +0
    -3
      keyboards/mechlovin/adelais/standard_led/avr/rev1/matrix.c
  59. +0
    -3
      keyboards/mechlovin/infinity87/rev2/matrix.c
  60. +0
    -3
      keyboards/mechlovin/infinity875/matrix.c
  61. +0
    -3
      keyboards/mechlovin/olly/jf/rev1/matrix.c
  62. +0
    -3
      keyboards/mechlovin/serratus/matrix.c
  63. +0
    -3
      keyboards/mexsistor/ludmila/matrix.c
  64. +1
    -1
      keyboards/miiiw/blackio83/matrix.c
  65. +0
    -1
      keyboards/mitosis/matrix.c
  66. +0
    -3
      keyboards/moon/matrix.c
  67. +1
    -3
      keyboards/mt/split75/matrix.c
  68. +2
    -1
      keyboards/nullbitsco/nibble/matrix.c
  69. +2
    -5
      keyboards/nullbitsco/snap/matrix.c
  70. +1
    -3
      keyboards/oddforge/vea/matrix.c
  71. +2
    -1
      keyboards/om60/matrix.c
  72. +1
    -1
      keyboards/pierce/matrix.c
  73. +2
    -1
      keyboards/planck/rev6_drop/matrix.c
  74. +3
    -4
      keyboards/planck/rev7/matrix.c
  75. +4
    -1
      keyboards/preonic/rev3_drop/matrix.c
  76. +1
    -6
      keyboards/qvex/lynepad2/matrix.c
  77. +1
    -3
      keyboards/rate/pistachio_pro/matrix.c
  78. +0
    -1
      keyboards/redox/wireless/matrix.c
  79. +0
    -3
      keyboards/redscarf_iiplus/verb/matrix.c
  80. +0
    -3
      keyboards/redscarf_iiplus/verc/matrix.c
  81. +0
    -3
      keyboards/redscarf_iiplus/verd/matrix.c
  82. +0
    -2
      keyboards/ryanskidmore/rskeys100/matrix.c
  83. +0
    -1
      keyboards/satt/comet46/matrix.c
  84. +0
    -1
      keyboards/sirius/uni660/rev1/matrix.c
  85. +0
    -1
      keyboards/sirius/uni660/rev2/matrix.c
  86. +1
    -3
      keyboards/spiderisland/split78/matrix.c
  87. +2
    -1
      keyboards/sthlmkb/lagom/matrix.c
  88. +0
    -7
      keyboards/switchplate/southpaw_65/matrix.c
  89. +0
    -1
      keyboards/telophase/matrix.c
  90. +7
    -6
      keyboards/touchpad/matrix.c
  91. +3
    -1
      keyboards/viktus/sp111/matrix.c
  92. +0
    -7
      keyboards/xiudi/xd84/matrix.c
  93. +1
    -7
      keyboards/xiudi/xd96/matrix.c
  94. +0
    -3
      keyboards/ydkb/grape/matrix.c
  95. +1
    -3
      keyboards/yiancardesigns/barleycorn/matrix.c
  96. +1
    -3
      keyboards/yiancardesigns/gingham/matrix.c
  97. +1
    -3
      keyboards/yiancardesigns/seigaiha/matrix.c

+ 1
- 3
keyboards/barleycorn_smd/matrix.c View File

@ -14,10 +14,8 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "wait.h"
#include "quantum.h"
#include "i2c_master.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 0
- 1
keyboards/bpiphany/ghost_squid/matrix.c View File

@ -17,7 +17,6 @@
*/
#include "matrix.h"
#include "quantum.h"
matrix_row_t read_rows(void) {
return


+ 0
- 1
keyboards/centromere/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 3
keyboards/converter/siemens_tastatur/matrix.c View File

@ -14,10 +14,7 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "quantum.h"
#include "timer.h"
#include "wait.h"
#include "print.h"


+ 2
- 1
keyboards/custommk/evo70_r2/matrix.c View File

@ -1,6 +1,7 @@
// Copyright 2023 David Hoelscher (@customMK)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
#include "matrix.h"
#include <string.h>
// Pin definitions
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 0
- 3
keyboards/dc01/right/matrix.c View File

@ -15,8 +15,6 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#if defined(__AVR__)
#include <avr/io.h>
#include <avr/wdt.h>
@ -31,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "timer.h"
#include "i2c_slave.h"
#include "lufa.h"
#include "quantum.h"
#define SLAVE_I2C_ADDRESS 0x32


+ 4
- 1
keyboards/dp60/matrix.c View File

@ -13,7 +13,10 @@
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 "quantum.h"
#include "matrix.h"
#include "print.h"
#include "bitwise.h"
#include "wait.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5


+ 4
- 1
keyboards/duck/orion/v3/matrix.c View File

@ -14,7 +14,10 @@ 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 "quantum.h"
#include "matrix.h"
#include "debug.h"
#include "bitwise.h"
#include "wait.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5


+ 0
- 3
keyboards/evyd13/wasdat/matrix.c View File

@ -15,10 +15,7 @@ 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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#include "sn74x138.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 0
- 3
keyboards/evyd13/wasdat_code/matrix.c View File

@ -15,10 +15,7 @@ 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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#include "sn74x138.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 2
- 1
keyboards/geistmaschine/macropod/matrix.c View File

@ -14,8 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "matrix.h"
#include "pca9555.h"
#include "quantum.h"
#include "timer.h"
// PCA9555 i2c address, 0x20: A0 = 0, A1 = 0, A2 = 0
#define IC1 0x20


+ 0
- 1
keyboards/gl516/a52gl/matrix.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 "matrix.h"
#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 0
- 1
keyboards/gl516/j73gl/matrix.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 "matrix.h"
#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 0
- 1
keyboards/gl516/n51gl/matrix.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 "matrix.h"
#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 0
- 1
keyboards/glenpickle/chimera_ergo/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 1
keyboards/glenpickle/chimera_ls/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 1
keyboards/glenpickle/chimera_ortho/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 1
keyboards/glenpickle/chimera_ortho_plus/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 3
- 6
keyboards/gmmk/numpad/matrix.c View File

@ -4,15 +4,12 @@
/*
* scan matrix
*/
#include <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include <string.h>
#include "atomic_util.h"
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
/* matrix state(1:on, 0:off) */
extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values


+ 3
- 6
keyboards/halfcliff/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#include "atomic_util.h"
#include "split_util.h"
#include "config.h"
#include "transport.h"
#include "debounce.h"
#include "wait.h"
#define ERROR_DISCONNECT_COUNT 5


+ 0
- 7
keyboards/handwired/dqz11n1g/matrix.c View File

@ -15,14 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <avr/io.h>
#include "spi_master.h"
#include "quantum.h"
#include "matrix.h"
static pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 2
- 1
keyboards/handwired/dygma/raise/matrix.c View File

@ -13,8 +13,9 @@
* 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 "quantum.h"
#include "matrix.h"
#include "i2c_master.h"
#include "wait.h"
#include <string.h>
#include "wire-protocol-constants.h"


+ 0
- 3
keyboards/handwired/symmetric70_proto/matrix_debug/matrix.c View File

@ -14,12 +14,9 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifndef readPort
# include "gpio_extr.h"
#endif


+ 0
- 4
keyboards/handwired/symmetric70_proto/matrix_fast/matrix.c View File

@ -15,9 +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/>.
*/
// clang-format off
#include <stdint.h>
#include <stdbool.h>
#include <gpio.h>
#ifndef readPort
# include "gpio_extr.h"
#endif
@ -25,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "matrix.h"
#include "matrix_extr.h"
#include "debounce.h"
#include "quantum.h"
#define ALWAYS_INLINE inline __attribute__((always_inline))
#define NO_INLINE __attribute__((noinline))


+ 4
- 5
keyboards/hazel/bad_wings/matrix.c View File

@ -2,12 +2,11 @@
// Copyright 2023 @jasonhazel (Jason Hazel)
// SPDX-License-Identifier: GPL-3.0-or-later
#include "quantum.h"
#include "spi_master.h"
#include <string.h> /* memset */
#include <unistd.h> /* close */
#include "quantum.h"
#include "matrix.h"
#include <string.h>
#include "spi_master.h"
#include "debug.h"
#include "wait.h"
#if (!defined(SHIFTREG_MATRIX_COL_CS))
# error Missing shift register I/O pin definitions


+ 6
- 1
keyboards/hhkb/yang/matrix.c View File

@ -16,7 +16,12 @@ 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 "quantum.h"
#include "matrix.h"
#include "debug.h"
#include "timer.h"
#include "wait.h"
#include "suspend.h"
#include <avr/interrupt.h>
#ifdef BLUETOOTH_ENABLE
# include "adafruit_ble.h"


+ 0
- 3
keyboards/hineybush/hbcp/matrix.c View File

@ -14,12 +14,9 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
static const pin_t row_pins[] = MATRIX_ROW_PINS;
static const pin_t col_pins[] = MATRIX_COL_PINS;


+ 0
- 3
keyboards/ibm/model_m/mschwingen/matrix.c View File

@ -14,12 +14,9 @@
* 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 <stdint.h>
#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#include "spi_master.h"
#include "print.h"
#include "mschwingen.h"


+ 0
- 3
keyboards/jones/v03/matrix.c View File

@ -14,10 +14,7 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#define ROW_SHIFTER ((uint16_t)1)


+ 0
- 3
keyboards/jones/v03_1/matrix.c View File

@ -14,10 +14,7 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#define ROW_SHIFTER ((uint16_t)1)


+ 0
- 3
keyboards/joshajohnson/hub16/matrix.c View File

@ -14,12 +14,9 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "quantum.h"
// Encoder things
#define SWITCH_1 F7


+ 0
- 1
keyboards/kagizaraya/chidori/matrix.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 "quantum.h"
#include "matrix.h"
#include "board.h"


+ 0
- 3
keyboards/kakunpc/angel64/alpha/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 3
keyboards/kakunpc/angel64/rev1/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 3
keyboards/kakunpc/choc_taro/matrix.c View File

@ -14,10 +14,7 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define ROW_SHIFTER ((uint8_t)1)


+ 0
- 3
keyboards/kakunpc/thedogkeyboard/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 3
keyboards/kbdmania/kmac/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 1
keyboards/kbdmania/kmac_pad/matrix.c View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "wait.h"
#include "matrix.h"
#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 1
- 1
keyboards/keyboardio/model01/matrix.c View File

@ -13,7 +13,7 @@
* 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 "quantum.h"
#include "matrix.h"
#include "i2c_master.h"
#include <string.h>
#include "model01.h"


+ 3
- 1
keyboards/keychron/c2_pro/matrix.c View File

@ -14,7 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "atomic_util.h"
#include <string.h>
#ifndef SHIFT_COL_START
# define SHIFT_COL_START 8


+ 2
- 1
keyboards/keychron/q10/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN A7


+ 2
- 1
keyboards/keychron/q12/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN C15


+ 3
- 1
keyboards/keychron/q1v2/matrix.c View File

@ -14,7 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN A7


+ 2
- 1
keyboards/keychron/q3/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN A7


+ 2
- 1
keyboards/keychron/q5/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN C15


+ 2
- 1
keyboards/keychron/q6/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN C15


+ 2
- 1
keyboards/keychron/q65/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN C15


+ 2
- 1
keyboards/keychron/v1/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN A7


+ 2
- 1
keyboards/keychron/v10/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
#ifndef PIN_USED_74HC595
# define PIN_USED_74HC595 8


+ 2
- 1
keyboards/keychron/v3/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN A7


+ 2
- 1
keyboards/keychron/v5/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
// Pin connected to DS of 74HC595
#define DATA_PIN C15


+ 2
- 1
keyboards/keychron/v6/matrix.c View File

@ -15,7 +15,8 @@
*/
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
#include <string.h>
#ifndef PIN_USED_74HC595
# define PIN_USED_74HC595 8


+ 0
- 2
keyboards/kinesis/nguyenvietyen/matrix.c View File

@ -3,8 +3,6 @@
#include "matrix.h"
#include "quantum.h"
static matrix_row_t read_row(uint8_t row) {
matrix_io_delay(); // without this wait read unstable value.


+ 0
- 4
keyboards/matrix/abelx/matrix.c View File

@ -17,10 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "quantum.h"
#include "matrix.h"
#include "tca6424.h"
#include "abelx.h"


+ 0
- 3
keyboards/matrix/m12og/rev1/matrix.c View File

@ -14,12 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 0
- 4
keyboards/matrix/m20add/matrix.c View File

@ -2,10 +2,6 @@
* matrix.c
*/
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "quantum.h"
#include "matrix.h"
#include "tca6424.h"
#include "m20add.h"


+ 6
- 12
keyboards/matrix/noah/matrix.c View File

@ -2,16 +2,10 @@
* matrix.c
*/
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <hal.h>
#include "quantum.h"
#include "matrix.h"
#include "timer.h"
#include "wait.h"
#include "print.h"
#include "matrix.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
@ -167,16 +161,16 @@ matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; }
void matrix_print(void)
{
printf("\nr/c 01234567\n");
xprintf("\nr/c 01234567\n");
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
printf("%X0: ", row);
xprintf("%X0: ", row);
matrix_row_t data = matrix_get_row(row);
for (int col = 0; col < MATRIX_COLS; col++) {
if (data & (1<<col))
printf("1");
xprintf("1");
else
printf("0");
xprintf("0");
}
printf("\n");
xprintf("\n");
}
}

+ 0
- 3
keyboards/mechlovin/adelais/standard_led/avr/rev1/matrix.c View File

@ -16,13 +16,10 @@ 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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifdef DIRECT_PINS
static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;


+ 0
- 3
keyboards/mechlovin/infinity87/rev2/matrix.c View File

@ -16,13 +16,10 @@ 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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifdef DIRECT_PINS
static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;


+ 0
- 3
keyboards/mechlovin/infinity875/matrix.c View File

@ -16,13 +16,10 @@ 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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifdef DIRECT_PINS
static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;


+ 0
- 3
keyboards/mechlovin/olly/jf/rev1/matrix.c View File

@ -16,13 +16,10 @@ 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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifdef DIRECT_PINS
static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;


+ 0
- 3
keyboards/mechlovin/serratus/matrix.c View File

@ -16,13 +16,10 @@ 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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#ifdef DIRECT_PINS
static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS;


+ 0
- 3
keyboards/mexsistor/ludmila/matrix.c View File

@ -14,12 +14,9 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
#include "quantum.h"
// Encoder things
#define ENC_SW F7


+ 1
- 1
keyboards/miiiw/blackio83/matrix.c View File

@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "wait.h"
#include "common/shift_register.h"
static uint8_t read_rows(void);


+ 0
- 1
keyboards/mitosis/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 3
keyboards/moon/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#include "pca9555.h"
/*


+ 1
- 3
keyboards/mt/split75/matrix.c View File

@ -15,9 +15,7 @@ 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 <string.h>
#include <stdio.h>
#include "quantum.h"
#include "matrix.h"
#include "i2c_master.h"
#define RIGHT_HALF


+ 2
- 1
keyboards/nullbitsco/nibble/matrix.c View File

@ -13,7 +13,8 @@
* 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 "quantum.h"
#include "matrix.h"
#include "wait.h"
#define COL_SHIFTER ((uint32_t)1)


+ 2
- 5
keyboards/nullbitsco/snap/matrix.c View File

@ -13,13 +13,10 @@
* 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 <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "util.h"
#include "matrix.h"
#include <string.h>
#include "split_util.h"
#include "quantum.h"
#include "wait.h"
#define VIRT_COLS_PER_HAND 1
#define PHYS_COLS_PER_HAND (MATRIX_COLS - VIRT_COLS_PER_HAND)


+ 1
- 3
keyboards/oddforge/vea/matrix.c View File

@ -15,9 +15,7 @@ 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 <string.h>
#include <stdio.h>
#include "quantum.h"
#include "matrix.h"
#include "i2c_master.h"
#define RIGHT_HALF


+ 2
- 1
keyboards/om60/matrix.c View File

@ -15,7 +15,8 @@ GNU General Public License for more details.
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 "quantum.h"
#include "matrix.h"
#include "wait.h"
#if (MATRIX_COLS <= 8)
# define ROW_SHIFTER ((uint8_t)1)


+ 1
- 1
keyboards/pierce/matrix.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "i2c_slave.h"
#define MY_I2C_ADDRESS (0x20U << 1)


+ 2
- 1
keyboards/planck/rev6_drop/matrix.c View File

@ -15,7 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "wait.h"
/* matrix state(1:on, 0:off) */
static pin_t matrix_row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 3
- 4
keyboards/planck/rev7/matrix.c View File

@ -15,11 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "gpio.h"
#include "hal_pal.h"
#include "hal_pal_lld.h"
#include "quantum.h"
#include "matrix.h"
#include <hal_pal.h>
#include <math.h>
#include "wait.h"
// STM32-specific watchdog config calculations
// timeout = 31.25us * PR * (RL + 1)


+ 4
- 1
keyboards/preonic/rev3_drop/matrix.c View File

@ -15,7 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "debug.h"
#include "timer.h"
#include "wait.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5


+ 1
- 6
keyboards/qvex/lynepad2/matrix.c View File

@ -14,13 +14,8 @@ 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 <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#include "wait.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 1
- 3
keyboards/rate/pistachio_pro/matrix.c View File

@ -14,10 +14,8 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#include "atomic_util.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 0
- 1
keyboards/redox/wireless/matrix.c View File

@ -14,7 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 3
keyboards/redscarf_iiplus/verb/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 3
keyboards/redscarf_iiplus/verc/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 3
keyboards/redscarf_iiplus/verd/matrix.c View File

@ -14,15 +14,12 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "debounce.h"
#include "quantum.h"
#if (MATRIX_COLS <= 8)
# define print_matrix_header() print("\nr/c 01234567\n")


+ 0
- 2
keyboards/ryanskidmore/rskeys100/matrix.c View File

@ -17,10 +17,8 @@ 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 <stdbool.h>
#include "matrix.h"
#include <util/delay.h>
#include "quantum.h"
static const uint32_t col_values[24] = SHR_COLS;


+ 0
- 1
keyboards/satt/comet46/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 1
keyboards/sirius/uni660/rev1/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 0
- 1
keyboards/sirius/uni660/rev2/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 1
- 3
keyboards/spiderisland/split78/matrix.c View File

@ -15,9 +15,7 @@ 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 <string.h>
#include <stdio.h>
#include "quantum.h"
#include "matrix.h"
#include "i2c_master.h"
#define RIGHT_HALF


+ 2
- 1
keyboards/sthlmkb/lagom/matrix.c View File

@ -13,7 +13,8 @@
* 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 "quantum.h"
#include "matrix.h"
#include "wait.h"
#define COL_SHIFTER ((uint32_t)1)


+ 0
- 7
keyboards/switchplate/southpaw_65/matrix.c View File

@ -13,15 +13,8 @@
* 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 <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <string.h>
#include "matrix.h"
#include "pca9555.h"
#include "quantum.h"
#include "debug.h"
// PCA9555 slave addresses
#define IC1 0x20


+ 0
- 1
keyboards/telophase/matrix.c View File

@ -16,7 +16,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 "quantum.h"
#include "matrix.h"
#include "uart.h"


+ 7
- 6
keyboards/touchpad/matrix.c View File

@ -23,7 +23,8 @@ SOFTWARE.
#include "matrix.h"
#include "i2c_master.h"
#include "quantum.h"
#include "print.h"
#include <string.h>
#define VIBRATE_LENGTH 50 //Defines number of interrupts motor will vibrate for, must be bigger than 8 for correct operation
volatile uint8_t vibrate = 0; //Trigger vibration in interrupt
@ -276,16 +277,16 @@ matrix_row_t matrix_get_row(uint8_t row) {
}
void matrix_print(void) {
printf("\nr/c 01234567\n");
xprintf("\nr/c 01234567\n");
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
printf("%X0: ", row);
xprintf("%X0: ", row);
matrix_row_t data = matrix_get_row(row);
for (int col = 0; col < MATRIX_COLS; col++) {
if (data & (1<<col))
printf("1");
xprintf("1");
else
printf("0");
xprintf("0");
}
printf("\n");
xprintf("\n");
}
}

+ 3
- 1
keyboards/viktus/sp111/matrix.c View File

@ -13,8 +13,10 @@
* 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 "matrix.h"
#include "mcp23018.h"
#include "quantum.h"
#include "print.h"
#include "wait.h"
// Optimize scanning code for speed as a slight mitigation for the port expander
#pragma GCC push_options


+ 0
- 7
keyboards/xiudi/xd84/matrix.c View File

@ -13,15 +13,8 @@
* 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 <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <string.h>
#include "matrix.h"
#include "pca9555.h"
#include "quantum.h"
#include "debug.h"
// PCA9555 slave addresses
#define IC1 0x20


+ 1
- 7
keyboards/xiudi/xd96/matrix.c View File

@ -13,15 +13,9 @@
* 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 <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <string.h>
#include "matrix.h"
#include "pca9555.h"
#include "quantum.h"
#include "debug.h"
#include "wait.h"
// PCA9555 slave addresses
#define IC1 0x20


+ 0
- 3
keyboards/ydkb/grape/matrix.c View File

@ -15,10 +15,7 @@ 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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "quantum.h"
#include "sn74x138.h"
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;


+ 1
- 3
keyboards/yiancardesigns/barleycorn/matrix.c View File

@ -14,10 +14,8 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "wait.h"
#include "quantum.h"
#include "i2c_master.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 1
- 3
keyboards/yiancardesigns/gingham/matrix.c View File

@ -14,10 +14,8 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "wait.h"
#include "quantum.h"
#include "i2c_master.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


+ 1
- 3
keyboards/yiancardesigns/seigaiha/matrix.c View File

@ -14,10 +14,8 @@ GNU General Public License for more details.
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 <stdint.h>
#include <stdbool.h>
#include "matrix.h"
#include "wait.h"
#include "quantum.h"
#include "i2c_master.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;


Loading…
Cancel
Save