aboutsummaryrefslogtreecommitdiff
path: root/keyboards/miuni32
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/miuni32')
-rw-r--r--keyboards/miuni32/config.h5
-rw-r--r--keyboards/miuni32/miuni32.h35
2 files changed, 18 insertions, 22 deletions
diff --git a/keyboards/miuni32/config.h b/keyboards/miuni32/config.h
index c2a40cf1b..f677ce334 100644
--- a/keyboards/miuni32/config.h
+++ b/keyboards/miuni32/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef CONFIG_H 18#pragma once
19#define CONFIG_H
20 19
21#include "config_common.h" 20#include "config_common.h"
22 21
@@ -158,5 +157,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
158#define RGBLIGHT_HUE_STEP 10 157#define RGBLIGHT_HUE_STEP 10
159#define RGBLIGHT_SAT_STEP 17 158#define RGBLIGHT_SAT_STEP 17
160#define RGBLIGHT_VAL_STEP 17 159#define RGBLIGHT_VAL_STEP 17
161
162#endif
diff --git a/keyboards/miuni32/miuni32.h b/keyboards/miuni32/miuni32.h
index ff7467545..c95a37e2e 100644
--- a/keyboards/miuni32/miuni32.h
+++ b/keyboards/miuni32/miuni32.h
@@ -1,28 +1,27 @@
1#ifndef MIUNI32_H 1#pragma once
2#define MIUNI32_H
3 2
4#include "quantum.h" 3#include "quantum.h"
5 4
5#define XXX KC_NO
6
6#define LAYOUT( \ 7#define LAYOUT( \
7 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ 8 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, \
8 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ 9 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, \
9 K20, K21, K22, K23, K25, K26, K27, K28, K29, K2A \ 10 k20, k21, k22, k23, k25, k26, k27, k28, k29, k2A \
10 ) { \ 11) { \
11 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \ 12 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
12 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \ 13 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A }, \
13 { K20, K21, K22, K23, KC_NO, K25, K26, K27, K28, K29, K2A } \ 14 { k20, k21, k22, k23, XXX, k25, k26, k27, k28, k29, k2A } \
14} 15}
15 16
16#define LAYOUT_ortho_3x11( \ 17#define LAYOUT_ortho_3x11( \
17 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ 18 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, \
18 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ 19 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, \
19 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \ 20 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A \
20 ) { \ 21) { \
21 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \ 22 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
22 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \ 23 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A }, \
23 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A } \ 24 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A } \
24} 25}
25 26
26#define LAYOUT_all LAYOUT_ortho_3x11 27#define LAYOUT_all LAYOUT_ortho_3x11
27
28#endif