Language def added

This commit is contained in:
Chow Castro, Marcos 2022-09-23 17:15:10 +02:00
parent cc1d3dd77a
commit 5f186b40f2
2 changed files with 14 additions and 3 deletions

View file

@ -96,7 +96,7 @@ SPDX-License-Identifier: MIT
// media_layer
#define SC_FLOW &kp LS(LG(NUMBER_1)) // <S-D-1> ScrenFlow app for MacOS
#define TXTSNIP &kp LS(LG(NUMBER_2)) // <S-D-2> TextSniper app for MacOS
#define SC_SHOT &kp LS(LG(NUMBER_3)) // <S-D-3> ScrenShot app for MacOS
#define SC_SHOT &kp PRINTSCREEN // <S-D-3> ScrenShot for all system see &kp LS(LG(NUMBER_3)) for MacOS
#define SC_SPSF &kp LS(LG(NUMBER_4)) // <S-D-4> Save picture of screen as a file for MacOS
#define SC_RE &kp LS(LG(NUMBER_5)) // <S-D-5> Screenshot and recording options for MacOS
#define OP_TERM &kp LC(LG(LA(SLASH))) // open terminal iTerm2 in current directory for MacOS
@ -203,8 +203,8 @@ SPDX-License-Identifier: MIT
// '--------------------------------' '--------------------------------'
// label = "MEDIA";
bindings = <
XXX SC_FLOW TXTSNIP SC_SHOT OP_TERM XXX POS1 POS2 &kp LANG1 &kp LANG2 DE_STOP DE_DEL
XXX SC_SPSF SC_RE XXX XXX XXX POS3 POS4 &kp LANG3 DE_SHUFFLE DE_VOL_UP DE_PLAY
XXX SC_FLOW TXTSNIP SC_SHOT OP_TERM XXX POS1 POS2 DE_LANG1 DE_LANG2 DE_STOP DE_DEL
XXX SC_SPSF SC_RE XXX XXX XXX POS3 POS4 DE_LANG3 DE_SHUFFLE DE_VOL_UP DE_PLAY
XXX XXX XXX XXX XXX XXX XXX XXX DE_MUTE DE_PREV DE_VOL_DN DE_NEXT
DE_LCTRL DE_LGUI DE_LALT DE_SPACE DE_RALT DE_LCTRL
>;

View file

@ -108,6 +108,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DE_BRI_UP &kp C_BRI_UP
#define DE_BRI_DN &kp C_BRI_DN
// LANGUAGE
#define DE_LANG1 &kp LANG1
#define DE_LANG2 &kp LANG2
#define DE_LANG3 &kp LANG3
#define DE_LANG4 &kp LANG4
#define DE_LANG5 &kp LANG5
#define DE_LANG6 &kp LANG6
#define DE_LANG7 &kp LANG7
#define DE_LANG8 &kp LANG8
#define DE_LANG9 &kp LANG9
// Apple "Globe" key
// https://github.com/zmkfirmware/zmk/issues/947
// #define GLOBE CAPSLOCK