Change keyboard level include guards to pragma once
(#14248)
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
This commit is contained in:
parent
971d36bb9e
commit
41c50bb653
308 changed files with 3520 additions and 4568 deletions
|
@ -15,8 +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/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
|
@ -158,5 +157,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,28 +1,27 @@
|
|||
#ifndef MIUNI32_H
|
||||
#define MIUNI32_H
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
|
||||
K20, K21, K22, K23, K25, K26, K27, K28, K29, K2A \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
|
||||
{ K20, K21, K22, K23, KC_NO, K25, K26, K27, K28, K29, K2A } \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, \
|
||||
k20, k21, k22, k23, k25, k26, k27, k28, k29, k2A \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A }, \
|
||||
{ k20, k21, k22, k23, XXX, k25, k26, k27, k28, k29, k2A } \
|
||||
}
|
||||
|
||||
#define LAYOUT_ortho_3x11( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A } \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A }, \
|
||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A } \
|
||||
}
|
||||
|
||||
#define LAYOUT_all LAYOUT_ortho_3x11
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue