Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot 2023-07-30 23:35:17 +00:00
commit 2fbb797146
3 changed files with 9 additions and 0 deletions

View File

@ -96,6 +96,11 @@ def _generate_helpers(lines, keycodes):
def _generate_aliases(lines, keycodes):
# Work around ChibiOS ch.h include guard
if 'CH_H' in [value['key'] for value in keycodes['aliases'].values()]:
lines.append('')
lines.append('#undef CH_H')
lines.append('')
lines.append('// Aliases')
for key, value in keycodes["aliases"].items():

View File

@ -27,6 +27,8 @@
#include "keycodes.h"
// clang-format off
#undef CH_H
// Aliases
#define CH_SECT KC_GRV // §
#define CH_1 KC_1 // 1

View File

@ -27,6 +27,8 @@
#include "keycodes.h"
// clang-format off
#undef CH_H
// Aliases
#define CH_SECT KC_GRV // §
#define CH_1 KC_1 // 1