test de #include "keymap_german_mac_iso.h" defini una nueva libreria de teclas estilo qmk para el teclado aleman
This commit is contained in:
parent
17fe99a8d4
commit
e85a6c7df0
4 changed files with 345 additions and 41 deletions
|
|
@ -11,6 +11,8 @@
|
|||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/ext_power.h>
|
||||
// }}}
|
||||
// nvim ~/qmk_firmware/quantum/keymap_extras/keymap_german_mac_iso.h
|
||||
#include "keymap_german_mac_iso.h"
|
||||
#ifdef CONFIG_ZMK_DISPLAY
|
||||
# include "oled.dtsi"
|
||||
#endif // CONFIG_ZMK_DISPLAY
|
||||
|
|
@ -56,47 +58,6 @@
|
|||
};
|
||||
//}}}
|
||||
#endif // CONFIG_ZMK_RGB_UNDERGLOW
|
||||
// ### definiendo capas {{{
|
||||
#define DEFAULT 0
|
||||
#define NUMBER 1
|
||||
#define SYMBOL 2
|
||||
#define FUNCTION 3
|
||||
#define MEDIA 4
|
||||
#define MOUSE 5
|
||||
//}}}
|
||||
// ### definicion de teclado ALEMAN STANDARD {{{
|
||||
#define DE_Y &kp Z // Y
|
||||
#define DE_Z &kp Y // Z
|
||||
#define DE_SS &kp MINUS // ß
|
||||
#define DE_UDIA &kp LBKT // Ü
|
||||
#define DE_ODIA &kp SEMICOLON // Ö
|
||||
#define DE_ADIA &kp APOS // Ä
|
||||
#define DE_MINS &kp SLASH // -
|
||||
#define DE_FSLH &kp AMPS // "/"
|
||||
#define DE_STAR &kp RBRC // "*"
|
||||
#define DE_EQUAL &kp RPAR // =
|
||||
#define DE_PLUS &kp RBKT // +
|
||||
#define DE_GRAVE &kp PLUS // `
|
||||
#define DE_HASH &kp BSLH // #
|
||||
#define DE_TILDE &kp LA(RBKT) // ~
|
||||
#define DE_PIPE &kp RA(GRAVE) // "|"
|
||||
#define DE_AMPS &kp CARET // "&"
|
||||
#define DE_BSLH &kp RA(MINUS) // "\"
|
||||
#define DE_QUESTION &kp LS(MINUS) // ?
|
||||
#define DE_AT &kp RA(Q) // "@"
|
||||
#define DE_LPAR &kp LS(N8) // (
|
||||
#define DE_RPAR &kp LS(N9) // )
|
||||
#define DE_LBKT &kp RA(N8) // [
|
||||
#define DE_RBKT &kp RA(N9) // ]
|
||||
#define DE_LBRC &kp RA(N7) // {
|
||||
#define DE_RBRC &kp RA(N0) // }
|
||||
#define DE_LABK &kp GRAVE // <
|
||||
#define DE_RABK &kp LS(GRAVE) // >
|
||||
#define DE_APOS &kp PIPE // '
|
||||
#define DE_ACUT &kp EQUAL // ´ hasta aqui funciona
|
||||
|
||||
#define DE_CARET &kp HASH // ^ TODO:
|
||||
//}}}
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue