This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
change KEYMAP to LAYOUT for all new keyboards made using this script
pull/2695/head
mechmerlin
6 years ago
committed by
Jack Humbert
parent
0d0664a214
commit
7bbc9ccc31
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
quantum/template/keymaps/default/keymap.c
+1
-1
quantum/template/template.h
+ 1
- 1
quantum/template/keymaps/default/keymap.c
View File
@ -16,7 +16,7 @@
#
include
"%KEYBOARD%.h"
const
uint16_t
PROGMEM
keymaps
[
]
[
MATRIX_ROWS
]
[
MATRIX_COLS
]
=
{
[
0
]
=
KEYMAP
(
/* Base */
[
0
]
=
LAYOUT
(
/* Base */
KC_A
,
KC_1
,
KC_H
,
\
KC_TAB
,
KC_SPC
\
)
,
+ 1
- 1
quantum/template/template.h
View File
@ -22,7 +22,7 @@
/
/
The
following
is
an
example
using
the
Planck
MIT
layout
/
/
The
first
section
contains
all
of
the
arguments
/
/
The
second
converts
the
arguments
into
a
two
-
dimensional
array
#
define
KEYMAP
( \
#
define
LAYOUT
( \
k00
,
k01
,
k02
,
\
k10
,
k11
\
)
\
Write
Preview
Loading…
Cancel
Save