forked from petejohanson/blank-slate-zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customize keymap and attempt to enable NKRO
- Loading branch information
Showing
4 changed files
with
876 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,341 @@ | ||
/* | ||
* Localized Keys for German | ||
* | ||
* This file was generated from data with the following license: | ||
* | ||
* UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE | ||
* | ||
* See Terms of Use for definitions of Unicode Inc.'s | ||
* Data Files and Software. | ||
* | ||
* NOTICE TO USER: Carefully read the following legal agreement. | ||
* BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S | ||
* DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), | ||
* YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE | ||
* TERMS AND CONDITIONS OF THIS AGREEMENT. | ||
* IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE | ||
* THE DATA FILES OR SOFTWARE. | ||
* | ||
* COPYRIGHT AND PERMISSION NOTICE | ||
* | ||
* Copyright © 1991-2022 Unicode, Inc. All rights reserved. | ||
* Distributed under the Terms of Use in https://www.unicode.org/copyright.html. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining | ||
* a copy of the Unicode data files and any associated documentation | ||
* (the "Data Files") or Unicode software and any associated documentation | ||
* (the "Software") to deal in the Data Files or Software | ||
* without restriction, including without limitation the rights to use, | ||
* copy, modify, merge, publish, distribute, and/or sell copies of | ||
* the Data Files or Software, and to permit persons to whom the Data Files | ||
* or Software are furnished to do so, provided that either | ||
* (a) this copyright and permission notice appear with all copies | ||
* of the Data Files or Software, or | ||
* (b) this copyright and permission notice appear in associated | ||
* Documentation. | ||
* | ||
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF | ||
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | ||
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
* NONINFRINGEMENT OF THIRD PARTY RIGHTS. | ||
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS | ||
* NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL | ||
* DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | ||
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | ||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
* PERFORMANCE OF THE DATA FILES OR SOFTWARE. | ||
* | ||
* Except as contained in this notice, the name of a copyright holder | ||
* shall not be used in advertising or otherwise to promote the sale, | ||
* use or other dealings in these Data Files or Software without prior | ||
* written authorization of the copyright holder. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <dt-bindings/zmk/hid_usage.h> | ||
#include <dt-bindings/zmk/hid_usage_pages.h> | ||
#include <dt-bindings/zmk/modifiers.h> | ||
|
||
#define DE_ESCAPE_CHARACTER (LC(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_LEFT_BRACKET_AND_LEFT_BRACE))) | ||
|
||
#define DE_FILE_SEPARATOR (LC(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_BACKSLASH_AND_PIPE))) | ||
|
||
#define DE_GROUP_SEPARATOR (LC(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE))) | ||
|
||
#define DE_SPACE (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_SPACEBAR)) | ||
|
||
/* ! */ | ||
#define DE_EXCLAMATION (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_1_AND_EXCLAMATION))) | ||
#define DE_EXCL (DE_EXCLAMATION) | ||
|
||
/* " */ | ||
#define DE_DOUBLE_QUOTES (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_2_AND_AT))) | ||
#define DE_DQT (DE_DOUBLE_QUOTES) | ||
|
||
/* # */ | ||
#define DE_HASH (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_BACKSLASH_AND_PIPE)) | ||
#define DE_POUND (DE_HASH) | ||
|
||
/* $ */ | ||
#define DE_DOLLAR (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_4_AND_DOLLAR))) | ||
#define DE_DLLR (DE_DOLLAR) | ||
|
||
/* % */ | ||
#define DE_PERCENT (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_5_AND_PERCENT))) | ||
#define DE_PRCNT (DE_PERCENT) | ||
|
||
/* & */ | ||
#define DE_AMPERSAND (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_6_AND_CARET))) | ||
#define DE_AMPS (DE_AMPERSAND) | ||
|
||
/* ' */ | ||
#define DE_SINGLE_QUOTE (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_BACKSLASH_AND_PIPE))) | ||
#define DE_SQT (DE_SINGLE_QUOTE) | ||
#define DE_APOSTROPHE (DE_SINGLE_QUOTE) | ||
#define DE_APOS (DE_SINGLE_QUOTE) | ||
|
||
/* ( */ | ||
#define DE_LEFT_PARENTHESIS (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_8_AND_ASTERISK))) | ||
#define DE_LPAR (DE_LEFT_PARENTHESIS) | ||
|
||
/* ) */ | ||
#define DE_RIGHT_PARENTHESIS (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_9_AND_LEFT_PARENTHESIS))) | ||
#define DE_RPAR (DE_RIGHT_PARENTHESIS) | ||
|
||
/* * */ | ||
#define DE_ASTERISK (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE))) | ||
#define DE_ASTRK (DE_ASTERISK) | ||
#define DE_STAR (DE_ASTERISK) | ||
|
||
/* + */ | ||
#define DE_PLUS (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE)) | ||
|
||
/* , */ | ||
#define DE_COMMA (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_COMMA_AND_LESS_THAN)) | ||
|
||
/* - */ | ||
#define DE_MINUS (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_SLASH_AND_QUESTION_MARK)) | ||
|
||
/* . */ | ||
#define DE_PERIOD (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_PERIOD_AND_GREATER_THAN)) | ||
#define DE_DOT (DE_PERIOD) | ||
|
||
/* / */ | ||
#define DE_SLASH (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_7_AND_AMPERSAND))) | ||
#define DE_FSLH (DE_SLASH) | ||
|
||
/* 0 */ | ||
#define DE_N0 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_0_AND_RIGHT_PARENTHESIS)) | ||
|
||
/* 1 */ | ||
#define DE_N1 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_1_AND_EXCLAMATION)) | ||
|
||
/* 2 */ | ||
#define DE_N2 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_2_AND_AT)) | ||
|
||
/* 3 */ | ||
#define DE_N3 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_3_AND_HASH)) | ||
|
||
/* 4 */ | ||
#define DE_N4 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_4_AND_DOLLAR)) | ||
|
||
/* 5 */ | ||
#define DE_N5 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_5_AND_PERCENT)) | ||
|
||
/* 6 */ | ||
#define DE_N6 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_6_AND_CARET)) | ||
|
||
/* 7 */ | ||
#define DE_N7 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_7_AND_AMPERSAND)) | ||
|
||
/* 8 */ | ||
#define DE_N8 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_8_AND_ASTERISK)) | ||
|
||
/* 9 */ | ||
#define DE_N9 (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_9_AND_LEFT_PARENTHESIS)) | ||
|
||
/* : */ | ||
#define DE_COLON (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_PERIOD_AND_GREATER_THAN))) | ||
|
||
/* ; */ | ||
#define DE_SEMICOLON (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_COMMA_AND_LESS_THAN))) | ||
#define DE_SEMI (DE_SEMICOLON) | ||
|
||
/* < */ | ||
#define DE_LESS_THAN (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE)) | ||
#define DE_LT (DE_LESS_THAN) | ||
|
||
/* = */ | ||
#define DE_EQUAL (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_0_AND_RIGHT_PARENTHESIS))) | ||
|
||
/* > */ | ||
#define DE_GREATER_THAN (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE))) | ||
#define DE_GT (DE_GREATER_THAN) | ||
|
||
/* ? */ | ||
#define DE_QUESTION (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE))) | ||
#define DE_QMARK (DE_QUESTION) | ||
|
||
/* @ */ | ||
#define DE_AT_SIGN (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_Q))) | ||
#define DE_AT (DE_AT_SIGN) | ||
|
||
/* [ */ | ||
#define DE_LEFT_BRACKET (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_8_AND_ASTERISK))) | ||
#define DE_LBKT (DE_LEFT_BRACKET) | ||
|
||
/* \ */ | ||
#define DE_BACKSLASH (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE))) | ||
#define DE_BSLH (DE_BACKSLASH) | ||
|
||
/* ] */ | ||
#define DE_RIGHT_BRACKET (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_9_AND_LEFT_PARENTHESIS))) | ||
#define DE_RBKT (DE_RIGHT_BRACKET) | ||
|
||
/* ^ */ | ||
#define DE_CARET (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_GRAVE_ACCENT_AND_TILDE)) | ||
|
||
/* _ */ | ||
#define DE_UNDERSCORE (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_SLASH_AND_QUESTION_MARK))) | ||
#define DE_UNDER (DE_UNDERSCORE) | ||
|
||
/* ` */ | ||
#define DE_GRAVE (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_EQUAL_AND_PLUS))) | ||
|
||
/* a */ | ||
#define DE_A (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_A)) | ||
|
||
/* b */ | ||
#define DE_B (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_B)) | ||
|
||
/* c */ | ||
#define DE_C (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_C)) | ||
|
||
/* d */ | ||
#define DE_D (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_D)) | ||
|
||
/* e */ | ||
#define DE_E (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_E)) | ||
|
||
/* f */ | ||
#define DE_F (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_F)) | ||
|
||
/* g */ | ||
#define DE_G (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_G)) | ||
|
||
/* h */ | ||
#define DE_H (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_H)) | ||
|
||
/* i */ | ||
#define DE_I (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_I)) | ||
|
||
/* j */ | ||
#define DE_J (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_J)) | ||
|
||
/* k */ | ||
#define DE_K (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_K)) | ||
|
||
/* l */ | ||
#define DE_L (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_L)) | ||
|
||
/* m */ | ||
#define DE_M (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_M)) | ||
|
||
/* n */ | ||
#define DE_N (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_N)) | ||
|
||
/* o */ | ||
#define DE_O (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_O)) | ||
|
||
/* p */ | ||
#define DE_P (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_P)) | ||
|
||
/* q */ | ||
#define DE_Q (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_Q)) | ||
|
||
/* r */ | ||
#define DE_R (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_R)) | ||
|
||
/* s */ | ||
#define DE_S (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_S)) | ||
|
||
/* t */ | ||
#define DE_T (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_T)) | ||
|
||
/* u */ | ||
#define DE_U (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_U)) | ||
|
||
/* v */ | ||
#define DE_V (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_V)) | ||
|
||
/* w */ | ||
#define DE_W (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_W)) | ||
|
||
/* x */ | ||
#define DE_X (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_X)) | ||
|
||
/* y */ | ||
#define DE_Y (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_Z)) | ||
|
||
/* z */ | ||
#define DE_Z (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_Y)) | ||
|
||
/* { */ | ||
#define DE_LEFT_BRACE (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_7_AND_AMPERSAND))) | ||
#define DE_LBRC (DE_LEFT_BRACE) | ||
|
||
/* | */ | ||
#define DE_PIPE (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE))) | ||
|
||
/* } */ | ||
#define DE_RIGHT_BRACE (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_0_AND_RIGHT_PARENTHESIS))) | ||
#define DE_RBRC (DE_RIGHT_BRACE) | ||
|
||
/* ~ */ | ||
#define DE_TILDE (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE))) | ||
|
||
/* § */ | ||
#define DE_SECTION (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_3_AND_HASH))) | ||
#define DE_SECT (DE_SECTION) | ||
|
||
/* ° */ | ||
#define DE_DEGREE (LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_GRAVE_ACCENT_AND_TILDE))) | ||
#define DE_DEG (DE_DEGREE) | ||
|
||
/* ² */ | ||
#define DE_SUPER2 (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_2_AND_AT))) | ||
#define DE_SQUARE (DE_SUPER2) | ||
|
||
/* ³ */ | ||
#define DE_SUPER3 (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_3_AND_HASH))) | ||
#define DE_CUBE (DE_SUPER3) | ||
|
||
/* ´ */ | ||
#define DE_ACUTE (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_EQUAL_AND_PLUS)) | ||
|
||
/* µ */ | ||
#define DE_MU (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_M))) | ||
#define DE_MICRO (DE_MU) | ||
|
||
/* ß */ | ||
#define DE_SHARP_S (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE)) | ||
#define DE_ESZETT (DE_SHARP_S) | ||
#define DE_SZ (DE_SHARP_S) | ||
|
||
/* ẞ */ | ||
#define DE_CAPITAL_SHARP_S (RA(LS(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE)))) | ||
#define DE_CAPITAL_ESZETT (DE_CAPITAL_SHARP_S) | ||
#define DE_CAPITAL_SZ (DE_CAPITAL_SHARP_S) | ||
|
||
/* ä */ | ||
#define DE_A_UMLAUT (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_APOSTROPHE_AND_QUOTE)) | ||
|
||
/* ö */ | ||
#define DE_O_UMLAUT (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_SEMICOLON_AND_COLON)) | ||
|
||
/* ü */ | ||
#define DE_U_UMLAUT (ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_LEFT_BRACKET_AND_LEFT_BRACE)) | ||
|
||
/* € */ | ||
#define DE_EURO (RA(ZMK_HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_E))) |
Oops, something went wrong.