Browse Source

Move layouts for direct_pins boards to data driven (#19872)

pull/19891/head
Ryan 1 year ago
committed by GitHub
parent
commit
e837a32b2b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
231 changed files with 965 additions and 3523 deletions
  1. +1
    -1
      keyboards/0xcb/1337/1337.c
  2. +0
    -40
      keyboards/0xcb/1337/1337.h
  3. +9
    -9
      keyboards/0xcb/1337/info.json
  4. +8
    -8
      keyboards/0xcb/tutelpad/info.json
  5. +1
    -1
      keyboards/0xcb/tutelpad/tutelpad.c
  6. +0
    -35
      keyboards/0xcb/tutelpad/tutelpad.h
  7. +0
    -16
      keyboards/1k/1k.c
  8. +0
    -33
      keyboards/1k/1k.h
  9. +1
    -1
      keyboards/1k/info.json
  10. +0
    -16
      keyboards/25keys/cassette42/cassette42.c
  11. +0
    -34
      keyboards/25keys/cassette42/cassette42.h
  12. +8
    -1
      keyboards/25keys/cassette42/info.json
  13. +1
    -1
      keyboards/40percentclub/4pack/4pack.c
  14. +0
    -33
      keyboards/40percentclub/4pack/4pack.h
  15. +6
    -1
      keyboards/40percentclub/4pack/info.json
  16. +13
    -1
      keyboards/40percentclub/nano/info.json
  17. +0
    -1
      keyboards/40percentclub/nano/nano.c
  18. +0
    -13
      keyboards/40percentclub/nano/nano.h
  19. +9
    -9
      keyboards/40percentclub/nein/info.json
  20. +0
    -16
      keyboards/40percentclub/nein/nein.c
  21. +0
    -37
      keyboards/40percentclub/nein/nein.h
  22. +6
    -2
      keyboards/40percentclub/sixpack/info.json
  23. +1
    -1
      keyboards/40percentclub/sixpack/sixpack.c
  24. +0
    -34
      keyboards/40percentclub/sixpack/sixpack.h
  25. +0
    -1
      keyboards/8pack/8pack.c
  26. +0
    -11
      keyboards/8pack/8pack.h
  27. +0
    -14
      keyboards/8pack/info.json
  28. +14
    -0
      keyboards/8pack/rev11/info.json
  29. +0
    -1
      keyboards/8pack/rev11/rev11.c
  30. +0
    -11
      keyboards/8pack/rev11/rev11.h
  31. +14
    -0
      keyboards/8pack/rev12/info.json
  32. +0
    -1
      keyboards/8pack/rev12/rev12.c
  33. +0
    -11
      keyboards/8pack/rev12/rev12.h
  34. +1
    -1
      keyboards/a_dux/a_dux.c
  35. +0
    -49
      keyboards/a_dux/a_dux.h
  36. +37
    -34
      keyboards/a_dux/info.json
  37. +13
    -13
      keyboards/adafruit/macropad/info.json
  38. +1
    -1
      keyboards/adafruit/macropad/macropad.c
  39. +0
    -38
      keyboards/adafruit/macropad/macropad.h
  40. +1
    -1
      keyboards/anavi/knob1/info.json
  41. +1
    -1
      keyboards/anavi/knob1/knob1.c
  42. +0
    -30
      keyboards/anavi/knob1/knob1.h
  43. +10
    -1
      keyboards/anavi/macropad8/info.json
  44. +0
    -1
      keyboards/anavi/macropad8/macropad8.c
  45. +0
    -11
      keyboards/anavi/macropad8/macropad8.h
  46. +0
    -18
      keyboards/arrayperipherals/1x4p1/1x4p1.c
  47. +0
    -26
      keyboards/arrayperipherals/1x4p1/1x4p1.h
  48. +5
    -5
      keyboards/arrayperipherals/1x4p1/info.json
  49. +0
    -17
      keyboards/botanicalkeyboards/fm2u/fm2u.c
  50. +0
    -113
      keyboards/botanicalkeyboards/fm2u/fm2u.h
  51. +26
    -12
      keyboards/botanicalkeyboards/fm2u/info.json
  52. +8
    -1
      keyboards/bpiphany/sixshooter/info.json
  53. +0
    -8
      keyboards/bpiphany/sixshooter/sixshooter.h
  54. +0
    -1
      keyboards/clueboard/california/california.c
  55. +0
    -3
      keyboards/clueboard/california/california.h
  56. +0
    -16
      keyboards/crypt_macro/crypt_macro.c
  57. +0
    -28
      keyboards/crypt_macro/crypt_macro.h
  58. +6
    -1
      keyboards/crypt_macro/info.json
  59. +16
    -16
      keyboards/dailycraft/owl8/info.json
  60. +0
    -17
      keyboards/dailycraft/owl8/owl8.c
  61. +0
    -38
      keyboards/dailycraft/owl8/owl8.h
  62. +8
    -8
      keyboards/dailycraft/stickey4/info.json
  63. +0
    -17
      keyboards/dailycraft/stickey4/stickey4.c
  64. +0
    -36
      keyboards/dailycraft/stickey4/stickey4.h
  65. +1
    -1
      keyboards/dekunukem/duckypad/duckypad.c
  66. +0
    -32
      keyboards/dekunukem/duckypad/duckypad.h
  67. +17
    -17
      keyboards/dekunukem/duckypad/info.json
  68. +49
    -1
      keyboards/ferris/0_1/info.json
  69. +49
    -1
      keyboards/ferris/0_2/info.json
  70. +1
    -49
      keyboards/ferris/info.json
  71. +51
    -0
      keyboards/ferris/sweep/info.json
  72. +1
    -1
      keyboards/ferris/sweep/sweep.c
  73. +0
    -48
      keyboards/ferris/sweep/sweep.h
  74. +8
    -8
      keyboards/geekboards/macropad_v2/info.json
  75. +1
    -1
      keyboards/geekboards/macropad_v2/macropad_v2.c
  76. +0
    -26
      keyboards/geekboards/macropad_v2/macropad_v2.h
  77. +0
    -17
      keyboards/handwired/aball/aball.c
  78. +0
    -21
      keyboards/handwired/aball/aball.h
  79. +1
    -1
      keyboards/handwired/aball/info.json
  80. +0
    -1
      keyboards/handwired/bdn9_ble/bdn9_ble.c
  81. +0
    -37
      keyboards/handwired/bdn9_ble/bdn9_ble.h
  82. +9
    -9
      keyboards/handwired/bdn9_ble/info.json
  83. +0
    -16
      keyboards/handwired/bento/bento.c
  84. +0
    -20
      keyboards/handwired/bento/bento.h
  85. +6
    -6
      keyboards/handwired/bento/rev1/info.json
  86. +1
    -1
      keyboards/handwired/bento/rev1/rev1.c
  87. +0
    -36
      keyboards/handwired/bento/rev1/rev1.h
  88. +0
    -17
      keyboards/handwired/dc/mc/001/001.c
  89. +0
    -33
      keyboards/handwired/dc/mc/001/001.h
  90. +5
    -5
      keyboards/handwired/dc/mc/001/info.json
  91. +6
    -6
      keyboards/handwired/lemonpad/info.json
  92. +0
    -17
      keyboards/handwired/lemonpad/lemonpad.c
  93. +0
    -38
      keyboards/handwired/lemonpad/lemonpad.h
  94. +0
    -1
      keyboards/handwired/stream_cheap/2x3/2x3.c
  95. +0
    -11
      keyboards/handwired/stream_cheap/2x3/2x3.h
  96. +6
    -6
      keyboards/handwired/stream_cheap/2x3/info.json
  97. +0
    -1
      keyboards/handwired/stream_cheap/2x4/2x4.c
  98. +0
    -12
      keyboards/handwired/stream_cheap/2x4/2x4.h
  99. +8
    -8
      keyboards/handwired/stream_cheap/2x4/info.json
  100. +0
    -1
      keyboards/handwired/stream_cheap/2x5/2x5.c

+ 1
- 1
keyboards/0xcb/1337/1337.c View File

@ -14,7 +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 "1337.h"
#include "quantum.h"
void eeconfig_init_kb(void) {
#ifdef BACKLIGHT_ENABLE


+ 0
- 40
keyboards/0xcb/1337/1337.h View File

@ -1,40 +0,0 @@
/*
Copyright 2021 0xCB - Conor Burns
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
// clang-format off
#define LAYOUT( \
KA1, KA2, KA3, \
KB1, KB2, KB3, \
KC1, KC2, KC3 \
) \
{ \
{ KA1, KA2, KA3 }, \
{ KB1, KB2, KB3 }, \
{ KC1, KC2, KC3 } \
}
// clang-format on

+ 9
- 9
keyboards/0xcb/1337/info.json View File

@ -20,15 +20,15 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1},
{"x":0, "y":2},
{"x":1, "y":2},
{"x":2, "y":2}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":0, "y":2, "matrix": [2, 0]},
{"x":1, "y":2, "matrix": [2, 1]},
{"x":2, "y":2, "matrix": [2, 2]}
]
}
}


+ 8
- 8
keyboards/0xcb/tutelpad/info.json View File

@ -22,15 +22,15 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label": "k03", "x": 0, "y": 0},
{"label": "k02", "x": 1, "y": 0},
{"label": "k01", "x": 2, "y": 0},
{"label": "k00", "x": 3, "y": 0},
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]},
{"label": "k13", "x": 0, "y": 1},
{"label": "k12", "x": 1, "y": 1},
{"label": "k11", "x": 2, "y": 1},
{"label": "k10", "x": 3, "y": 1}
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 3, "y": 1, "matrix": [1, 3]}
]
}
}


+ 1
- 1
keyboards/0xcb/tutelpad/tutelpad.c View File

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


+ 0
- 35
keyboards/0xcb/tutelpad/tutelpad.h View File

@ -1,35 +0,0 @@
/* Copyright 2022 ItsFiremanSam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, k03, \
k10, k11, k12, k13 \
) { \
{ k00, k01, k02, k03 }, \
{ k10, k11, k12, k13 } \
}

+ 0
- 16
keyboards/1k/1k.c View File

@ -1,16 +0,0 @@
/* Copyright 2020 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "1k.h"

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

@ -1,33 +0,0 @@
/* Copyright 2020 zvecr<git@zvecr.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_ortho_1x1( \
K01 \
) \
{ \
{ K01 }, \
}

+ 1
- 1
keyboards/1k/info.json View File

@ -16,7 +16,7 @@
"layouts": {
"LAYOUT_ortho_1x1": {
"layout": [
{"x":0, "y":0}
{"x":0, "y":0, "matrix": [0, 0]}
]
}
}


+ 0
- 16
keyboards/25keys/cassette42/cassette42.c View File

@ -1,16 +0,0 @@
/* Copyright 2019 monksoffunk
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "cassette42.h"

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

@ -1,34 +0,0 @@
/* Copyright 2019 monksoffunk
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k10, k11, \
k00, k01, k02, k03\
) \
{ \
{ k00, k01, k02, k03, k10, k11 }, \
}

+ 8
- 1
keyboards/25keys/cassette42/info.json View File

@ -17,7 +17,14 @@
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0.5, "y":0.75}, {"x":2.5, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.75}, {"x":2, "y":1.75}, {"x":3, "y":1.75}]
"layout": [
{"x":0.5, "y":0.75, "matrix": [0, 4]},
{"x":2.5, "y":0.75, "matrix": [0, 5]},
{"x":0, "y":1.75, "matrix": [0, 0]},
{"x":1, "y":1.75, "matrix": [0, 1]},
{"x":2, "y":1.75, "matrix": [0, 2]},
{"x":3, "y":1.75, "matrix": [0, 3]}
]
}
}
}

+ 1
- 1
keyboards/40percentclub/4pack/4pack.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 "4pack.h"
#include "quantum.h"
// Optional override functions below.
// You can leave any or all of these undefined.


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

@ -1,33 +0,0 @@
/* Copyright 2019 Arda Kilicdagi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, k03 \
) \
{ \
{ k00, k01, k02, k03 }, \
}

+ 6
- 1
keyboards/40percentclub/4pack/info.json View File

@ -17,7 +17,12 @@
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}]
"layout": [
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":3, "y":0, "matrix": [0, 3]}
]
}
}
}

+ 13
- 1
keyboards/40percentclub/nano/info.json View File

@ -16,9 +16,21 @@
["D1", "D0", "D4", "C6"]
]
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x4"
},
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}]
"layout": [
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":3, "y":0, "matrix": [0, 3]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":3, "y":1, "matrix": [1, 3]}
]
}
}
}

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

@ -1 +0,0 @@
#include "nano.h"

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

@ -1,13 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x4( \
k01, k02, k03, k04, \
k05, k06, k07, k08 \
) { \
{ k01, k02, k03, k04 }, \
{ k05, k06, k07, k08 } \
}
#define LAYOUT LAYOUT_ortho_2x4

+ 9
- 9
keyboards/40percentclub/nein/info.json View File

@ -20,15 +20,15 @@
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1},
{"x":0, "y":2},
{"x":1, "y":2},
{"x":2, "y":2}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":0, "y":2, "matrix": [2, 0]},
{"x":1, "y":2, "matrix": [2, 1]},
{"x":2, "y":2, "matrix": [2, 2]}
]
}
}


+ 0
- 16
keyboards/40percentclub/nein/nein.c View File

@ -1,16 +0,0 @@
/* Copyright 2019
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "nein.h"

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

@ -1,37 +0,0 @@
/* Copyright 2019
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_ortho_3x3( \
k00, k01, k02, \
k10, k11, k12, \
k20, k21, k22 \
) \
{ \
{ k00, k01, k02 }, \
{ k10, k11, k12 }, \
{ k20, k21, k22 } \
}

+ 6
- 2
keyboards/40percentclub/sixpack/info.json View File

@ -25,8 +25,12 @@
"layouts": {
"LAYOUT_ortho_2x3": {
"layout": [
{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0},
{"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]}
]
}
}


+ 1
- 1
keyboards/40percentclub/sixpack/sixpack.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 "sixpack.h"
#include "quantum.h"
void matrix_init_kb(void) {
setPinOutput(B6); // Backlight cathodes Col.3


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

@ -1,34 +0,0 @@
/* Copyright 2020
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_ortho_2x3( \
k00, k01, k02, \
k10, k11, k12 \
) { \
{ k00, k01, k02 }, \
{ k10, k11, k12 } \
}

+ 0
- 1
keyboards/8pack/8pack.c View File

@ -1 +0,0 @@
#include "8pack.h"

+ 0
- 11
keyboards/8pack/8pack.h View File

@ -1,11 +0,0 @@
#pragma once
#include "quantum.h"
#ifdef KEYBOARD_8pack_rev11
#include "rev11.h"
#endif
#ifdef KEYBOARD_8pack_rev12
#include "rev12.h"
#endif

+ 0
- 14
keyboards/8pack/info.json View File

@ -14,19 +14,5 @@
["F4", "F5", "F6", "F7"],
["B1", "B3", "B2", "B6"]
]
},
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1},
{"x":3, "y":1}
]
}
}
}

+ 14
- 0
keyboards/8pack/rev11/info.json View File

@ -1,5 +1,19 @@
{
"usb": {
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0, "matrix": [1, 3]},
{"x":1, "y":0, "matrix": [1, 2]},
{"x":2, "y":0, "matrix": [1, 1]},
{"x":3, "y":0, "matrix": [1, 0]},
{"x":0, "y":1, "matrix": [0, 3]},
{"x":1, "y":1, "matrix": [0, 2]},
{"x":2, "y":1, "matrix": [0, 1]},
{"x":3, "y":1, "matrix": [0, 0]}
]
}
}
}

+ 0
- 1
keyboards/8pack/rev11/rev11.c View File

@ -1 +0,0 @@
#include "rev11.h"

+ 0
- 11
keyboards/8pack/rev11/rev11.h View File

@ -1,11 +0,0 @@
#pragma once
#include "8pack.h"
#define LAYOUT( \
K00, K01, K02, K03, \
K10, K11, K12, K13 \
) { \
{ K13, K12, K11, K10 }, \
{ K03, K02, K01, K00 } \
}

+ 14
- 0
keyboards/8pack/rev12/info.json View File

@ -1,5 +1,19 @@
{
"usb": {
"device_version": "0.0.2"
},
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0, "matrix": [0, 3]},
{"x":1, "y":0, "matrix": [0, 2]},
{"x":2, "y":0, "matrix": [0, 1]},
{"x":3, "y":0, "matrix": [0, 0]},
{"x":0, "y":1, "matrix": [1, 3]},
{"x":1, "y":1, "matrix": [1, 2]},
{"x":2, "y":1, "matrix": [1, 1]},
{"x":3, "y":1, "matrix": [1, 0]}
]
}
}
}

+ 0
- 1
keyboards/8pack/rev12/rev12.c View File

@ -1 +0,0 @@
#include "rev12.h"

+ 0
- 11
keyboards/8pack/rev12/rev12.h View File

@ -1,11 +0,0 @@
#pragma once
#include "8pack.h"
#define LAYOUT( \
K00, K01, K02, K03, \
K10, K11, K12, K13 \
) { \
{ K03, K02, K01, K00 }, \
{ K13, K12, K11, K10 } \
}

+ 1
- 1
keyboards/a_dux/a_dux.c View File

@ -17,7 +17,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 "a_dux.h"
#include "quantum.h"
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))


+ 0
- 49
keyboards/a_dux/a_dux.h View File

@ -1,49 +0,0 @@
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
// readability
#define ___ KC_NO
#define LAYOUT_split_3x5_2( \
L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
L16, L17, R16, R17 \
) \
{ \
{ L01, L02, L03, L04, L05 }, \
{ L06, L07, L08, L09, L10 }, \
{ L11, L12, L13, L14, L15 }, \
{ L16, L17, ___, ___, ___ }, \
{ R01, R02, R03, R04, R05 }, \
{ R06, R07, R08, R09, R10 }, \
{ R11, R12, R13, R14, R15 }, \
{ R16, R17, ___, ___, ___ } \
}
#define LAYOUT LAYOUT_split_3x5_2

+ 37
- 34
keyboards/a_dux/info.json View File

@ -35,50 +35,53 @@
}
},
"community_layouts": ["split_3x5_2"],
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x5_2"
},
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x": 0, "y": 1.33},
{"x": 1, "y": 0.31},
{"x": 2, "y": 0},
{"x": 3, "y": 0.28},
{"x": 4, "y": 0.42},
{"x": 0, "y": 1.33, "matrix": [0, 0]},
{"x": 1, "y": 0.31, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0.28, "matrix": [0, 3]},
{"x": 4, "y": 0.42, "matrix": [0, 4]},
{"x": 8, "y": 0.42},
{"x": 9, "y": 0.28},
{"x": 10, "y": 0},
{"x": 11, "y": 0.31},
{"x": 12, "y": 1.33},
{"x": 8, "y": 0.42, "matrix": [4, 0]},
{"x": 9, "y": 0.28, "matrix": [4, 1]},
{"x": 10, "y": 0, "matrix": [4, 2]},
{"x": 11, "y": 0.31, "matrix": [4, 3]},
{"x": 12, "y": 1.33, "matrix": [4, 4]},
{"x": 0, "y": 2.33},
{"x": 1, "y": 1.31},
{"x": 2, "y": 1},
{"x": 3, "y": 1.28},
{"x": 4, "y": 1.42},
{"x": 0, "y": 2.33, "matrix": [1, 0]},
{"x": 1, "y": 1.31, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 3, "y": 1.28, "matrix": [1, 3]},
{"x": 4, "y": 1.42, "matrix": [1, 4]},
{"x": 8, "y": 1.42},
{"x": 9, "y": 1.28},
{"x": 10, "y": 1},
{"x": 11, "y": 1.31},
{"x": 12, "y": 2.33},
{"x": 8, "y": 1.42, "matrix": [5, 0]},
{"x": 9, "y": 1.28, "matrix": [5, 1]},
{"x": 10, "y": 1, "matrix": [5, 2]},
{"x": 11, "y": 1.31, "matrix": [5, 3]},
{"x": 12, "y": 2.33, "matrix": [5, 4]},
{"x": 0, "y": 3.33},
{"x": 1, "y": 2.31},
{"x": 2, "y": 2},
{"x": 3, "y": 2.28},
{"x": 4, "y": 2.42},
{"x": 0, "y": 3.33, "matrix": [2, 0]},
{"x": 1, "y": 2.31, "matrix": [2, 1]},
{"x": 2, "y": 2, "matrix": [2, 2]},
{"x": 3, "y": 2.28, "matrix": [2, 3]},
{"x": 4, "y": 2.42, "matrix": [2, 4]},
{"x": 8, "y": 2.42},
{"x": 9, "y": 2.28},
{"x": 10, "y": 2},
{"x": 11, "y": 2.31},
{"x": 12, "y": 3.33},
{"x": 8, "y": 2.42, "matrix": [6, 0]},
{"x": 9, "y": 2.28, "matrix": [6, 1]},
{"x": 10, "y": 2, "matrix": [6, 2]},
{"x": 11, "y": 2.31, "matrix": [6, 3]},
{"x": 12, "y": 3.33, "matrix": [6, 4]},
{"x": 4, "y": 3.75},
{"x": 5, "y": 4},
{"x": 4, "y": 3.75, "matrix": [3, 0]},
{"x": 5, "y": 4, "matrix": [3, 1]},
{"x": 7, "y": 4},
{"x": 8, "y": 3.75}
{"x": 7, "y": 4, "matrix": [7, 0]},
{"x": 8, "y": 3.75, "matrix": [7, 1]}
]
}
}


+ 13
- 13
keyboards/adafruit/macropad/info.json View File

@ -25,19 +25,19 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label":"Mute", "x":2, "y":0},
{"label":"Enter", "x":0, "y":1},
{"label":"KC_0", "x":1, "y":1},
{"label":"BackSpace", "x":2, "y":1},
{"label":"KC_7", "x":0, "y":2},
{"label":"KC_8", "x":1, "y":2},
{"label":"KC_9", "x":2, "y":2},
{"label":"KC_4", "x":0, "y":3},
{"label":"KC_5", "x":1, "y":3},
{"label":"KC_6", "x":2, "y":3},
{"label":"KC_1", "x":0, "y":4},
{"label":"KC_2", "x":1, "y":4},
{"label":"KC_3", "x":2, "y":4}
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":0, "y":2, "matrix": [2, 0]},
{"x":1, "y":2, "matrix": [2, 1]},
{"x":2, "y":2, "matrix": [2, 2]},
{"x":0, "y":3, "matrix": [3, 0]},
{"x":1, "y":3, "matrix": [3, 1]},
{"x":2, "y":3, "matrix": [3, 2]},
{"x":0, "y":4, "matrix": [4, 0]},
{"x":1, "y":4, "matrix": [4, 1]},
{"x":2, "y":4, "matrix": [4, 2]}
]
}
}


+ 1
- 1
keyboards/adafruit/macropad/macropad.c View File

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


+ 0
- 38
keyboards/adafruit/macropad/macropad.h View File

@ -1,38 +0,0 @@
/* Copyright 2022 Jose Pablo Ramirez <jp.ramangulo@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
#define ___ KC_NO
// clang-format off
#define LAYOUT( \
K02, \
K10, K11, K12, \
K20, K21, K22, \
K30, K31, K32, \
K40, K41, K42 \
) \
{ \
{ ___, ___, K02 }, \
{ K10, K11, K12 }, \
{ K20, K21, K22 }, \
{ K30, K31, K32 }, \
{ K40, K41, K42 } \
}
// clang-format on

+ 1
- 1
keyboards/anavi/knob1/info.json View File

@ -52,7 +52,7 @@
"layouts": {
"LAYOUT_k1": {
"layout": [
{ "label":"Mute", "x": 0, "y": 0 }
{ "x": 0, "y": 0, "matrix": [0, 0] }
]
}
},


+ 1
- 1
keyboards/anavi/knob1/knob1.c View File

@ -1,7 +1,7 @@
// Copyright 2022 Leon Anavi <leon@anavi.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "encoder.h"
#include "quantum.h"
#include <stdio.h>
void keyboard_post_init_kb(void) {


+ 0
- 30
keyboards/anavi/knob1/knob1.h View File

@ -1,30 +0,0 @@
/* Copyright 2022 Leon Anavi <leon@anavi.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
#define ___ KC_NO
// clang-format off
#define LAYOUT_k1( \
K02 \
) \
{ \
{ K02 } \
}
// clang-format on

+ 10
- 1
keyboards/anavi/macropad8/info.json View File

@ -18,7 +18,16 @@
},
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}]
"layout": [
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":3, "y":0, "matrix": [0, 3]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":3, "y":1, "matrix": [1, 3]}
]
}
}
}

+ 0
- 1
keyboards/anavi/macropad8/macropad8.c View File

@ -1 +0,0 @@
#include "macropad8.h"

+ 0
- 11
keyboards/anavi/macropad8/macropad8.h View File

@ -1,11 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x4( \
k01, k02, k03, k04, \
k05, k06, k07, k08 \
) { \
{ k01, k02, k03, k04 }, \
{ k05, k06, k07, k08 } \
}

+ 0
- 18
keyboards/arrayperipherals/1x4p1/1x4p1.c View File

@ -1,18 +0,0 @@
/*
Copyright 2020 David Doan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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 "1x4p1.h"

+ 0
- 26
keyboards/arrayperipherals/1x4p1/1x4p1.h View File

@ -1,26 +0,0 @@
/*
Copyright 2020 David Doan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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/>.
*/
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_1x5( \
k01, k02, k03, k04, k05\
) { \
{ k01, k02, k03, k04, k05} \
}

+ 5
- 5
keyboards/arrayperipherals/1x4p1/info.json View File

@ -18,11 +18,11 @@
"layouts": {
"LAYOUT_ortho_1x5": {
"layout": [
{"label": "K01", "x":0, "y":0},
{"label": "K02", "x":1, "y":0},
{"label": "K03", "x":2, "y":0},
{"label": "K04", "x":3, "y":0},
{"label": "K05", "x":4, "y":0}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":3, "y":0, "matrix": [0, 3]},
{"x":4, "y":0, "matrix": [0, 4]}
]
}
}


+ 0
- 17
keyboards/botanicalkeyboards/fm2u/fm2u.c View File

@ -1,17 +0,0 @@
/* Copyright 2020 mechmerlin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "fm2u.h"

+ 0
- 113
keyboards/botanicalkeyboards/fm2u/fm2u.h View File

@ -1,113 +0,0 @@
/* Copyright 2020 mechmerlin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_1u( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_1u25( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_1u5( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_1u75( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_2u( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_2u25( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_2u75( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_3u( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_6u( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_6u25( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_7u( \
k00 \
) { \
{ k00 } \
}
#define LAYOUT_isoenter( \
k00 \
) { \
{ k00 } \
}
// Backward compatibility TODO: remove these
#define LAYOUT_100u LAYOUT_1u
#define LAYOUT_125u LAYOUT_1u25
#define LAYOUT_150u LAYOUT_1u5
#define LAYOUT_175u LAYOUT_1u75
#define LAYOUT_200u LAYOUT_2u
#define LAYOUT_225u LAYOUT_2u25
#define LAYOUT_275u LAYOUT_2u75
#define LAYOUT_300u LAYOUT_3u
#define LAYOUT_600u LAYOUT_6u
#define LAYOUT_625u LAYOUT_6u25
#define LAYOUT_700u LAYOUT_7u
#define LAYOUT_iso LAYOUT_isoenter

+ 26
- 12
keyboards/botanicalkeyboards/fm2u/info.json View File

@ -15,65 +15,79 @@
["C4"]
]
},
"layout_aliases": {
"LAYOUT_100u": "LAYOUT_1u",
"LAYOUT_125u": "LAYOUT_1u25",
"LAYOUT_150u": "LAYOUT_1u5",
"LAYOUT_175u": "LAYOUT_1u75",
"LAYOUT_200u": "LAYOUT_2u",
"LAYOUT_225u": "LAYOUT_2u25",
"LAYOUT_275u": "LAYOUT_2u75",
"LAYOUT_300u": "LAYOUT_3u",
"LAYOUT_600u": "LAYOUT_6u",
"LAYOUT_625u": "LAYOUT_6u25",
"LAYOUT_700u": "LAYOUT_7u",
"LAYOUT_iso": "LAYOUT_isoenter"
},
"layouts": {
"LAYOUT_1u": {
"layout": [
{"x": 0, "y": 0}
{"x": 0, "y": 0, "matrix": [0, 0]}
]
},
"LAYOUT_1u25": {
"layout": [
{"x": 0, "y": 0, "w": 1.25}
{"x": 0, "y": 0, "w": 1.25, "matrix": [0, 0]}
]
},
"LAYOUT_1u5": {
"layout": [
{"x": 0, "y": 0, "w": 1.50}
{"x": 0, "y": 0, "w": 1.50, "matrix": [0, 0]}
]
},
"LAYOUT_1u75": {
"layout": [
{"x": 0, "y": 0, "w": 1.75}
{"x": 0, "y": 0, "w": 1.75, "matrix": [0, 0]}
]
},
"LAYOUT_2u": {
"layout": [
{"x": 0, "y": 0, "w": 2}
{"x": 0, "y": 0, "w": 2, "matrix": [0, 0]}
]
},
"LAYOUT_2u25": {
"layout": [
{"x": 0, "y": 0, "w": 2.25}
{"x": 0, "y": 0, "w": 2.25, "matrix": [0, 0]}
]
},
"LAYOUT_2u75": {
"layout": [
{"x": 0, "y": 0, "w": 2.75}
{"x": 0, "y": 0, "w": 2.75, "matrix": [0, 0]}
]
},
"LAYOUT_3u": {
"layout": [
{"x": 0, "y": 0, "w": 3}
{"x": 0, "y": 0, "w": 3, "matrix": [0, 0]}
]
},
"LAYOUT_6u": {
"layout": [
{"x": 0, "y": 0, "w": 6}
{"x": 0, "y": 0, "w": 6, "matrix": [0, 0]}
]
},
"LAYOUT_6u25": {
"layout": [
{"x": 0, "y": 0, "w": 6.25}
{"x": 0, "y": 0, "w": 6.25, "matrix": [0, 0]}
]
},
"LAYOUT_7u": {
"layout": [
{"x": 0, "y": 0, "w": 7}
{"x": 0, "y": 0, "w": 7, "matrix": [0, 0]}
]
},
"LAYOUT_isoenter": {
"layout": [
{"x": 0.25, "y": 0, "w": 1.25, "h": 2}
{"x": 0.25, "y": 0, "w": 1.25, "h": 2, "matrix": [0, 0]}
]
}
}


+ 8
- 1
keyboards/bpiphany/sixshooter/info.json View File

@ -18,7 +18,14 @@
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":0, "y":1}, {"label":"K04", "x":1, "y":1}, {"label":"K05", "x":2, "y":1}]
"layout": [
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]}
]
}
}
}

+ 0
- 8
keyboards/bpiphany/sixshooter/sixshooter.h View File

@ -2,14 +2,6 @@
#include "quantum.h"
#define LAYOUT( \
k00, k01, k02, \
k10, k11, k12 \
) { \
{ k00, k01, k02 }, \
{ k10, k11, k12 } \
}
inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); }
inline void sixshooter_led_1_on(void) { DDRC |= (1<<7); PORTC |= (1<<7); }
inline void sixshooter_led_2_on(void) { DDRD |= (1<<0); PORTD |= (1<<0); }


+ 0
- 1
keyboards/clueboard/california/california.c View File

@ -1 +0,0 @@
#include "california.h"

+ 0
- 3
keyboards/clueboard/california/california.h View File

@ -1,3 +0,0 @@
#pragma once
#include "quantum.h"

+ 0
- 16
keyboards/crypt_macro/crypt_macro.c View File

@ -1,16 +0,0 @@
/* Copyright 2022 Yiancar-Designs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "crypt_macro.h"

+ 0
- 28
keyboards/crypt_macro/crypt_macro.h View File

@ -1,28 +0,0 @@
/* Copyright 2022 Yiancar-Designs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#define XXX KC_NO
#include "quantum.h"
#define LAYOUT( \
K00, K01, K02, \
K11 \
) { \
{ K00, K01, K02 }, \
{ XXX, K11, XXX } \
}

+ 6
- 1
keyboards/crypt_macro/info.json View File

@ -18,7 +18,12 @@
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0.5, "y":1, "w":2}]
"layout": [
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0.5, "y":1, "w":2, "matrix": [1, 1]}
]
}
}
}

+ 16
- 16
keyboards/dailycraft/owl8/info.json View File

@ -18,25 +18,25 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":0, "y":0, "matrix": [0, 12]},
{"x":1, "y":0, "matrix": [0, 13]},
{"x":2, "y":0, "matrix": [0, 14]},
{"x":3, "y":0, "matrix": [0, 15]},
{"x":0, "y":1.25},
{"x":1, "y":1.25},
{"x":2, "y":1.25},
{"x":3, "y":1.25},
{"x":0, "y":1.25, "matrix": [0, 8]},
{"x":1, "y":1.25, "matrix": [0, 9]},
{"x":2, "y":1.25, "matrix": [0, 10]},
{"x":3, "y":1.25, "matrix": [0, 11]},
{"x":0, "y":2.5},
{"x":1, "y":2.5},
{"x":2, "y":2.5},
{"x":3, "y":2.5},
{"x":0, "y":2.5, "matrix": [0, 0]},
{"x":1, "y":2.5, "matrix": [0, 1]},
{"x":2, "y":2.5, "matrix": [0, 2]},
{"x":3, "y":2.5, "matrix": [0, 3]},
{"x":0, "y":3.5},
{"x":1, "y":3.5},
{"x":2, "y":3.5},
{"x":3, "y":3.5}
{"x":0, "y":3.5, "matrix": [0, 4]},
{"x":1, "y":3.5, "matrix": [0, 5]},
{"x":2, "y":3.5, "matrix": [0, 6]},
{"x":3, "y":3.5, "matrix": [0, 7]}
]
}
}


+ 0
- 17
keyboards/dailycraft/owl8/owl8.c View File

@ -1,17 +0,0 @@
/* Copyright 2021 yfuku
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "owl8.h"

+ 0
- 38
keyboards/dailycraft/owl8/owl8.h View File

@ -1,38 +0,0 @@
/* Copyright 2021 yfuku
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k012, k013, k014, k015, \
k008, k009, k010, k011, \
k000, k001, k002, k003, \
k004, k005, k006, k007 \
) \
{ \
{k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015 } \
}

+ 8
- 8
keyboards/dailycraft/stickey4/info.json View File

@ -18,15 +18,15 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]},
{"label": "Encoder 1 CCW", "x": 0, "y": 1},
{"label": "Encoder 1 CW", "x": 1, "y": 1},
{"label": "Encoder 2 CCW", "x": 2, "y": 1},
{"label": "Encoder 2 CW", "x": 3, "y": 1}
{"label": "Encoder 1 CCW", "x": 0, "y": 1, "matrix": [0, 4]},
{"label": "Encoder 1 CW", "x": 1, "y": 1, "matrix": [0, 5]},
{"label": "Encoder 2 CCW", "x": 2, "y": 1, "matrix": [0, 6]},
{"label": "Encoder 2 CW", "x": 3, "y": 1, "matrix": [0, 7]}
]
}
}


+ 0
- 17
keyboards/dailycraft/stickey4/stickey4.c View File

@ -1,17 +0,0 @@
/* Copyright 2021 yfuku
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "stickey4.h"

+ 0
- 36
keyboards/dailycraft/stickey4/stickey4.h View File

@ -1,36 +0,0 @@
/* Copyright 2021 yfuku
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, k03, \
k04, k05, k06, k07 \
) \
{ \
{k00, k01, k02, k03, k04, k05, k06, k07 } \
}

+ 1
- 1
keyboards/dekunukem/duckypad/duckypad.c View File

@ -18,7 +18,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 "duckypad.h"
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE


+ 0
- 32
keyboards/dekunukem/duckypad/duckypad.h View File

@ -1,32 +0,0 @@
/*
QMK Firmware for dekuNukem/duckyPad
Copyright (C) 2020 Anthony Som
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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/>.
*/
#pragma once
#include "quantum.h"
#define LAYOUT( \
k00, k01, k02, \
k03, k04, k05, \
k06, k07, k08, \
k09, k010, k011, \
k012, k013, k014, \
k015, k016 \
) {{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, k013, k014, k015, k016}}

+ 17
- 17
keyboards/dekunukem/duckypad/info.json View File

@ -18,23 +18,23 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 0, "y": 1},
{"x": 1, "y": 1},
{"x": 2, "y": 1},
{"x": 0, "y": 2},
{"x": 1, "y": 2},
{"x": 2, "y": 2},
{"x": 0, "y": 3},
{"x": 1, "y": 3},
{"x": 2, "y": 3},
{"x": 0, "y": 4},
{"x": 1, "y": 4},
{"x": 2, "y": 4},
{"x": 3, "y": 4},
{"x": 4, "y": 4}
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 0, "y": 1, "matrix": [0, 3]},
{"x": 1, "y": 1, "matrix": [0, 4]},
{"x": 2, "y": 1, "matrix": [0, 5]},
{"x": 0, "y": 2, "matrix": [0, 6]},
{"x": 1, "y": 2, "matrix": [0, 7]},
{"x": 2, "y": 2, "matrix": [0, 8]},
{"x": 0, "y": 3, "matrix": [0, 9]},
{"x": 1, "y": 3, "matrix": [0, 10]},
{"x": 2, "y": 3, "matrix": [0, 11]},
{"x": 0, "y": 4, "matrix": [0, 12]},
{"x": 1, "y": 4, "matrix": [0, 13]},
{"x": 2, "y": 4, "matrix": [0, 14]},
{"x": 3, "y": 4, "matrix": [0, 15]},
{"x": 4, "y": 4, "matrix": [0, 16]}
]
}
}


+ 49
- 1
keyboards/ferris/0_1/info.json View File

@ -7,5 +7,53 @@
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
"bootloader": "atmel-dfu",
"community_layouts": ["split_3x5_2"],
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x": 0, "y": 0.93},
{"x": 1, "y": 0.31},
{"x": 2, "y": 0},
{"x": 3, "y": 0.28},
{"x": 4, "y": 0.42},
{"x": 7, "y": 0.42},
{"x": 8, "y": 0.28},
{"x": 9, "y": 0},
{"x": 10, "y": 0.31},
{"x": 11, "y": 0.93},
{"x": 0, "y": 1.93},
{"x": 1, "y": 1.31},
{"x": 2, "y": 1},
{"x": 3, "y": 1.28},
{"x": 4, "y": 1.42},
{"x": 7, "y": 1.42},
{"x": 8, "y": 1.28},
{"x": 9, "y": 1},
{"x": 10, "y": 1.31},
{"x": 11, "y": 1.93},
{"x": 0, "y": 2.93},
{"x": 1, "y": 2.31},
{"x": 2, "y": 2},
{"x": 3, "y": 2.28},
{"x": 4, "y": 2.42},
{"x": 7, "y": 2.42},
{"x": 8, "y": 2.28},
{"x": 9, "y": 2},
{"x": 10, "y": 2.31},
{"x": 11, "y": 2.93},
{"x": 3.5, "y": 3.75},
{"x": 4.5, "y": 4},
{"x": 6.5, "y": 4},
{"x": 7.5, "y": 3.75}
]
}
}
}

+ 49
- 1
keyboards/ferris/0_2/info.json View File

@ -5,5 +5,53 @@
"device_version": "0.0.2"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu"
"bootloader": "stm32-dfu",
"community_layouts": ["split_3x5_2"],
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x": 0, "y": 0.93},
{"x": 1, "y": 0.31},
{"x": 2, "y": 0},
{"x": 3, "y": 0.28},
{"x": 4, "y": 0.42},
{"x": 7, "y": 0.42},
{"x": 8, "y": 0.28},
{"x": 9, "y": 0},
{"x": 10, "y": 0.31},
{"x": 11, "y": 0.93},
{"x": 0, "y": 1.93},
{"x": 1, "y": 1.31},
{"x": 2, "y": 1},
{"x": 3, "y": 1.28},
{"x": 4, "y": 1.42},
{"x": 7, "y": 1.42},
{"x": 8, "y": 1.28},
{"x": 9, "y": 1},
{"x": 10, "y": 1.31},
{"x": 11, "y": 1.93},
{"x": 0, "y": 2.93},
{"x": 1, "y": 2.31},
{"x": 2, "y": 2},
{"x": 3, "y": 2.28},
{"x": 4, "y": 2.42},
{"x": 7, "y": 2.42},
{"x": 8, "y": 2.28},
{"x": 9, "y": 2},
{"x": 10, "y": 2.31},
{"x": 11, "y": 2.93},
{"x": 3.5, "y": 3.75},
{"x": 4.5, "y": 4},
{"x": 6.5, "y": 4},
{"x": 7.5, "y": 3.75}
]
}
}
}

+ 1
- 49
keyboards/ferris/info.json View File

@ -1,52 +1,4 @@
{
"url": "https://github.com/pierrechevalier83/ferris/",
"maintainer": "@pierrec83",
"community_layouts": ["split_3x5_2"],
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x": 0, "y": 0.93},
{"x": 1, "y": 0.31},
{"x": 2, "y": 0},
{"x": 3, "y": 0.28},
{"x": 4, "y": 0.42},
{"x": 7, "y": 0.42},
{"x": 8, "y": 0.28},
{"x": 9, "y": 0},
{"x": 10, "y": 0.31},
{"x": 11, "y": 0.93},
{"x": 0, "y": 1.93},
{"x": 1, "y": 1.31},
{"x": 2, "y": 1},
{"x": 3, "y": 1.28},
{"x": 4, "y": 1.42},
{"x": 7, "y": 1.42},
{"x": 8, "y": 1.28},
{"x": 9, "y": 1},
{"x": 10, "y": 1.31},
{"x": 11, "y": 1.93},
{"x": 0, "y": 2.93},
{"x": 1, "y": 2.31},
{"x": 2, "y": 2},
{"x": 3, "y": 2.28},
{"x": 4, "y": 2.42},
{"x": 7, "y": 2.42},
{"x": 8, "y": 2.28},
{"x": 9, "y": 2},
{"x": 10, "y": 2.31},
{"x": 11, "y": 2.93},
{"x": 3.5, "y": 3.75},
{"x": 4.5, "y": 4},
{"x": 6.5, "y": 4},
{"x": 7.5, "y": 3.75}
]
}
}
"maintainer": "@pierrec83"
}

+ 51
- 0
keyboards/ferris/sweep/info.json View File

@ -31,5 +31,56 @@
]
}
}
},
"community_layouts": ["split_3x5_2"],
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x5_2"
},
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x": 0, "y": 0.93, "matrix": [0, 0]},
{"x": 1, "y": 0.31, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0.28, "matrix": [0, 3]},
{"x": 4, "y": 0.42, "matrix": [0, 4]},
{"x": 7, "y": 0.42, "matrix": [4, 0]},
{"x": 8, "y": 0.28, "matrix": [4, 1]},
{"x": 9, "y": 0, "matrix": [4, 2]},
{"x": 10, "y": 0.31, "matrix": [4, 3]},
{"x": 11, "y": 0.93, "matrix": [4, 4]},
{"x": 0, "y": 1.93, "matrix": [1, 0]},
{"x": 1, "y": 1.31, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 3, "y": 1.28, "matrix": [1, 3]},
{"x": 4, "y": 1.42, "matrix": [1, 4]},
{"x": 7, "y": 1.42, "matrix": [5, 0]},
{"x": 8, "y": 1.28, "matrix": [5, 1]},
{"x": 9, "y": 1, "matrix": [5, 2]},
{"x": 10, "y": 1.31, "matrix": [5, 3]},
{"x": 11, "y": 1.93, "matrix": [5, 4]},
{"x": 0, "y": 2.93, "matrix": [2, 0]},
{"x": 1, "y": 2.31, "matrix": [2, 1]},
{"x": 2, "y": 2, "matrix": [2, 2]},
{"x": 3, "y": 2.28, "matrix": [2, 3]},
{"x": 4, "y": 2.42, "matrix": [2, 4]},
{"x": 7, "y": 2.42, "matrix": [6, 0]},
{"x": 8, "y": 2.28, "matrix": [6, 1]},
{"x": 9, "y": 2, "matrix": [6, 2]},
{"x": 10, "y": 2.31, "matrix": [6, 3]},
{"x": 11, "y": 2.93, "matrix": [6, 4]},
{"x": 3.5, "y": 3.75, "matrix": [3, 0]},
{"x": 4.5, "y": 4, "matrix": [3, 1]},
{"x": 6.5, "y": 4, "matrix": [7, 0]},
{"x": 7.5, "y": 3.75, "matrix": [7, 1]}
]
}
}
}

+ 1
- 1
keyboards/ferris/sweep/sweep.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 "sweep.h"
#include "quantum.h"
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))


+ 0
- 48
keyboards/ferris/sweep/sweep.h View File

@ -1,48 +0,0 @@
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
// readability
#define ___ KC_NO
#define LAYOUT_split_3x5_2( \
L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
L16, L17, R16, R17 \
) \
{ \
{ L01, L02, L03, L04, L05 }, \
{ L06, L07, L08, L09, L10 }, \
{ L11, L12, L13, L14, L15 }, \
{ L16, L17, ___, ___ , ___}, \
{ R01, R02, R03, R04, R05 }, \
{ R06, R07, R08, R09, R10 }, \
{ R11, R12, R13, R14, R15 }, \
{ R16, R17, ___, ___, ___ } \
}
#define LAYOUT LAYOUT_split_3x5_2

+ 8
- 8
keyboards/geekboards/macropad_v2/info.json View File

@ -20,15 +20,15 @@
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [
{"label": "K0", "x": 0, "y": 0},
{"label": "K1", "x": 1, "y": 0},
{"label": "K2", "x": 2, "y": 0},
{"label": "K3", "x": 3, "y": 0},
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]},
{"label": "K4", "x": 0, "y": 1},
{"label": "K5", "x": 1, "y": 1},
{"label": "K6", "x": 2, "y": 1},
{"label": "K7", "x": 3, "y": 1}
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 3, "y": 1, "matrix": [1, 3]}
]
}
}


+ 1
- 1
keyboards/geekboards/macropad_v2/macropad_v2.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 QMK_KEYBOARD_H
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {


+ 0
- 26
keyboards/geekboards/macropad_v2/macropad_v2.h View File

@ -1,26 +0,0 @@
/* Copyright 2020 Geekboards ltd. (geekboards.ru / geekboards.de)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x4( \
k00, k01, k02, k03, \
k10, k11, k12, k13 \
) { \
{ k00, k01, k02, k03 }, \
{ k10, k11, k12, k13 } \
}

+ 0
- 17
keyboards/handwired/aball/aball.c View File

@ -1,17 +0,0 @@
/* Copyright 2020 Richard Sutherland
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "aball.h"

+ 0
- 21
keyboards/handwired/aball/aball.h View File

@ -1,21 +0,0 @@
/* Copyright 2020 Richard Sutherland
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
#define LAYOUT(k00) {{ k00 }}

+ 1
- 1
keyboards/handwired/aball/info.json View File

@ -18,7 +18,7 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0}
{"x":0, "y":0, "matrix": [0, 0]}
]
}
}


+ 0
- 1
keyboards/handwired/bdn9_ble/bdn9_ble.c View File

@ -1 +0,0 @@
#include "bdn9_ble.h"

+ 0
- 37
keyboards/handwired/bdn9_ble/bdn9_ble.h View File

@ -1,37 +0,0 @@
/* Copyright 2019 Danny Nguyen <danny@keeb.io>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
KA1, KA2, KA3, \
KB1, KB2, KB3, \
KC1, KC2, KC3 \
) \
{ \
{ KA1, KA2, KA3 }, \
{ KB1, KB2, KB3 }, \
{ KC1, KC2, KC3 } \
}

+ 9
- 9
keyboards/handwired/bdn9_ble/info.json View File

@ -20,15 +20,15 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1},
{"x":0, "y":2},
{"x":1, "y":2},
{"x":2, "y":2}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":0, "y":2, "matrix": [2, 0]},
{"x":1, "y":2, "matrix": [2, 1]},
{"x":2, "y":2, "matrix": [2, 2]}
]
}
}


+ 0
- 16
keyboards/handwired/bento/bento.c View File

@ -1,16 +0,0 @@
/* Copyright 2020 GhostSeven <work@ghost7.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "bento.h"

+ 0
- 20
keyboards/handwired/bento/bento.h View File

@ -1,20 +0,0 @@
/* Copyright 2020 GhostSeven <work@ghost7.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#ifdef KEYBOARD_handwired_bento_rev1
#include "rev1.h"
#endif

+ 6
- 6
keyboards/handwired/bento/rev1/info.json View File

@ -19,12 +19,12 @@
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]}
]
}
}


+ 1
- 1
keyboards/handwired/bento/rev1/rev1.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 "rev1.h"
#include "quantum.h"
void eeconfig_init_kb(void) {
#ifdef RGBLIGHT_ENABLE


+ 0
- 36
keyboards/handwired/bento/rev1/rev1.h View File

@ -1,36 +0,0 @@
/* Copyright 2020 GhostSeven <work@ghost7.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "bento.h"
#include "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
KA1, KA2, KA3, \
KB1, KB2, KB3 \
) \
{ \
{ KA1, KA2, KA3 }, \
{ KB1, KB2, KB3 } \
}

+ 0
- 17
keyboards/handwired/dc/mc/001/001.c View File

@ -1,17 +0,0 @@
/* Copyright 2021 Daniel Cormier
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "001.h"

+ 0
- 33
keyboards/handwired/dc/mc/001/001.h View File

@ -1,33 +0,0 @@
/* Copyright 2021 Daniel Cormier
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, k03, k04 \
) { \
{ k00, k01, k02, k03, k04 } \
}

+ 5
- 5
keyboards/handwired/dc/mc/001/info.json View File

@ -22,11 +22,11 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label": "Mute", "x": 0, "y": 0},
{"label": "Stop", "x": 1, "y": 0},
{"label": "Previous", "x": 2, "y": 0},
{"label": "Next", "x": 3, "y": 0},
{"label": "Play/Pause", "x": 4, "y": 0}
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]},
{"x": 4, "y": 0, "matrix": [0, 4]}
]
}
}


+ 6
- 6
keyboards/handwired/lemonpad/info.json View File

@ -19,13 +19,13 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label": "k00", "x": 0, "y": 0},
{"label": "k01", "x": 1, "y": 0},
{"label": "k02", "x": 2, "y": 0},
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"label": "k10", "x": 0, "y": 1},
{"label": "k11", "x": 1, "y": 1},
{"label": "k12", "x": 2, "y": 1}
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]}
]
}
}


+ 0
- 17
keyboards/handwired/lemonpad/lemonpad.c View File

@ -1,17 +0,0 @@
/* Copyright 2022 dari-studios (@dari-studios)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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 "lemonpad.h"

+ 0
- 38
keyboards/handwired/lemonpad/lemonpad.h View File

@ -1,38 +0,0 @@
/* Copyright 2022 dari-studios (@dari-studios)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* 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/>.
*/
#pragma once
#include "quantum.h"
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
//Top 3 on the usb port side, bottom 3 on the opposite side
#define LAYOUT( \
k00, k01, k02, \
k10, k11, k12 \
) { \
{ k00, k01, k02 }, \
{ k10, k11, k12 }, \
}

+ 0
- 1
keyboards/handwired/stream_cheap/2x3/2x3.c View File

@ -1 +0,0 @@
#include "2x3.h"

+ 0
- 11
keyboards/handwired/stream_cheap/2x3/2x3.h View File

@ -1,11 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x3( \
K00, K01, K02, \
K03, K04, K05 \
) { \
{ K00, K01, K02}, \
{ K03, K04, K05} \
}

+ 6
- 6
keyboards/handwired/stream_cheap/2x3/info.json View File

@ -20,12 +20,12 @@
"layouts": {
"LAYOUT_ortho_2x3": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":0, "y":1},
{"label":"K04", "x":1, "y":1},
{"label":"K05", "x":2, "y":1}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]}
]
}
}


+ 0
- 1
keyboards/handwired/stream_cheap/2x4/2x4.c View File

@ -1 +0,0 @@
#include "2x4.h"

+ 0
- 12
keyboards/handwired/stream_cheap/2x4/2x4.h View File

@ -1,12 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ortho_2x4(\
K00, K01, K02, K03, \
K04, K05, K06, K07 \
) \
{ \
{ K00,K01,K02,K03}, \
{ K04,K05,K06,K07} \
}

+ 8
- 8
keyboards/handwired/stream_cheap/2x4/info.json View File

@ -19,14 +19,14 @@
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":3, "y":0},
{"label":"K04", "x":0, "y":1},
{"label":"K05", "x":1, "y":1},
{"label":"K06", "x":2, "y":1},
{"label":"K07", "x":3, "y":1}
{"x":0, "y":0, "matrix": [0, 0]},
{"x":1, "y":0, "matrix": [0, 1]},
{"x":2, "y":0, "matrix": [0, 2]},
{"x":3, "y":0, "matrix": [0, 3]},
{"x":0, "y":1, "matrix": [1, 0]},
{"x":1, "y":1, "matrix": [1, 1]},
{"x":2, "y":1, "matrix": [1, 2]},
{"x":3, "y":1, "matrix": [1, 3]}
]
}
}


+ 0
- 1
keyboards/handwired/stream_cheap/2x5/2x5.c View File

@ -1 +0,0 @@
#include "2x5.h"

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

Loading…
Cancel
Save