The macros were integrated and also the possibility of using RGB with the NiceView screen
This commit is contained in:
parent
f59c5dacad
commit
1b0227b8e9
6 changed files with 125 additions and 274 deletions
|
|
@ -1,36 +0,0 @@
|
|||
/* ========================================
|
||||
FileName: macros.dtsi
|
||||
Date: 15:17 23.September.2022
|
||||
Author: Marcos Chow Castro
|
||||
Email: mctechnology170318@gmail.com
|
||||
GitHub: https://github.com/mctechnology17
|
||||
Brief: combos keymap for the wireless corne keyboard
|
||||
╔═╦═╦═╗
|
||||
╔════╗ ║║║║║╔╝
|
||||
║╔╗╔╗║ ║║║║║╚╗
|
||||
╚╝║║╚╝ ║╠═╩╩═╝
|
||||
║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
|
||||
║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
|
||||
╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
|
||||
╚═╩═╝
|
||||
========================================= */
|
||||
/* TODO: en adptacion */
|
||||
/* Macro macro: */
|
||||
#define str(s) #s
|
||||
#define MACRO(NAME, BINDINGS) \
|
||||
macro_##NAME: macro_##NAME { \
|
||||
compatible = "zmk,behavior-macro"; \
|
||||
label = str(macro_##NAME); \
|
||||
#binding-cells = <0>; \
|
||||
wait-ms = <30>; \
|
||||
tap-ms = <40>; \
|
||||
bindings = <BINDINGS>; \
|
||||
};
|
||||
|
||||
/* BRACKETS */
|
||||
MACRO(parentheses, &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp LEFT)
|
||||
MACRO(brackets, &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp LEFT)
|
||||
MACRO(ltgt, &kp LESS_THAN &kp GREATER_THAN &kp LEFT)
|
||||
|
||||
/* SUSPEND MACOS BY HOLDING POWER KEY FOR 1 SECOND */
|
||||
MACRO(power, ¯o_tap_time 1000 &kp C_POWER)
|
||||
Loading…
Add table
Add a link
Reference in a new issue