diff options
Diffstat (limited to 'keyboards/xiudi/xd75/keymaps')
-rw-r--r-- | keyboards/xiudi/xd75/keymaps/minna/config.h | 7 | ||||
-rw-r--r-- | keyboards/xiudi/xd75/keymaps/minna/keymap.c | 79 | ||||
-rw-r--r-- | keyboards/xiudi/xd75/keymaps/minna/readme.md | 13 | ||||
-rw-r--r-- | keyboards/xiudi/xd75/keymaps/minna/rules.mk | 1 |
4 files changed, 100 insertions, 0 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/minna/config.h b/keyboards/xiudi/xd75/keymaps/minna/config.h new file mode 100644 index 0000000000..27975f0e24 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/minna/config.h @@ -0,0 +1,7 @@ +// Copyright 2022 Minna Pallari (@pallarim) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +// place overrides here +#define UNICODE_SELECTED_MODES UC_WINC, UC_LNX, UC_MAC
\ No newline at end of file diff --git a/keyboards/xiudi/xd75/keymaps/minna/keymap.c b/keyboards/xiudi/xd75/keymaps/minna/keymap.c new file mode 100644 index 0000000000..ef3f400bc1 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/minna/keymap.c @@ -0,0 +1,79 @@ +// Copyright 2022 Minna Pallari (@pallarim) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H +#include "keymap_finnish.h" + +enum unicode_names { + BEER, + BEERS +}; + +enum custom_keycodes { + QMKBEST = SAFE_RANGE, +}; + +const uint32_t PROGMEM unicode_map[] = { + [BEER] = 0x1F37A, // πΊ + [BEERS] = 0x1F37B // π» +}; + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + case QMKBEST: + SEND_STRING(SS_LGUI("r") SS_DELAY(500) "calc\n" SS_DELAY(1000) "1337"); + break; + } + } + return true; +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* + * βββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ + * βESCβ Β§ | 1Β βΒ 2Β βΒ 3Β βΒ 4Β βΒ 5Β βΒ 6Β βΒ 7Β βΒ 8Β βΒ 9Β βΒ 0Β βΒ +Β β ´ βBSΒ β + * ββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * βTAB Β | QΒ βΒ WΒ βΒ EΒ βΒ RΒ βΒ TΒ βΒ YΒ βΒ UΒ βΒ IΒ βΒ OΒ βΒ PΒ βΒ Γ
Β β ¨ β β + * ββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|ENT| + * βCPS Β Β Β βΒ AΒ βΒ SΒ βΒ DΒ βΒ FΒ βΒ GΒ βΒ HΒ βΒ JΒ βΒ KΒ βΒ LΒ βΒ ΓΒ βΒ ΓΒ βΒ 'Β β β + * ββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * βSFTβΒ <Β βΒ ZΒ βΒ XΒ βΒ CΒ βΒ VΒ βΒ BΒ βΒ NΒ βΒ MΒ βΒ ,Β βΒ .Β βΒ -Β βSFT|UP |Β Β Β β + * ββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * βCTRβFNΒ βWINβALTβBERβ SPC β SPC βAGRβMNUβCTRβLFΒ βDNΒ βRGΒ β + * βββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ + */ + + [0] = LAYOUT_ortho_5x15( + KC_ESC, FI_SECT, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, FI_PLUS, FI_ACUT, KC_BSPC, + KC_TAB, KC_NO, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, FI_ARNG, FI_DIAE, KC_ENT, + KC_CAPS, KC_NO, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, FI_ODIA, FI_ADIA, FI_QUOT, KC_NO, + KC_LSFT, FI_LABK, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, FI_MINS, KC_RSFT, KC_UP, KC_NO, + KC_LCTL, MO(1), KC_LGUI, KC_LALT, XP(BEER, BEERS), KC_SPC, KC_NO, KC_SPC, KC_NO, KC_RALT, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + +/* + * ββββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ¬ββββ + * βMuteβCAL| F1βF2Β βF3Β βF4Β βF5Β βF6Β βF7Β βF8Β βF9Β βF10βF11βF12βDELβ + * βββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * βMSel Β |MyΒ βMaΒ βRGBβRGBβCalβΒ 7Β βΒ 8Β βΒ 9Β βΒ -Β βΒ Β βPrnβSLΒ β P β + * β Β |CmpβilΒ βHUDβHUIβ βΒ Β βΒ Β βΒ Β βΒ Β βΒ βScrβCKΒ β a β + * βββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| u | + * βMPrevΒ Β Β β Β β Β βRGBβRGBβ Β βΒ 4Β βΒ 5Β βΒ 6Β βΒ +Β βRSTβΒ Β βΒ Β β s β + * β Β Β Β βNXTβSTPβSADβSAIβPLYβΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β β e β + * βββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * βVo- βMteβVo+βAppβRGBβRGBβΒ Β βΒ 1Β βΒ 2Β βΒ 3Β βENTβΒ Β β | |Β Β Β β + * β β β βΒ Β βVADβVAIβΒ Β βΒ 1Β βΒ 2Β βΒ 3Β βENTβΒ Β β | |Β Β Β β + * βββββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ|βββ| + * β βFNΒ βRGBβ βRMRβRGB_MODβ 0 β . βENTβENTβFNΒ βUCRβUCMβ + * ββββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ΄ββββ + */ + + [1] = LAYOUT_ortho_5x15( + KC_MUTE, QMKBEST, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, + KC_MSEL, KC_NO, KC_MYCM, KC_MAIL, RGB_HUD, RGB_HUI, KC_CALC, KC_P7, KC_P8, KC_P9, KC_MINS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, + KC_MPRV, KC_NO, KC_MNXT, KC_MSTP, RGB_SAD, RGB_SAI, KC_MPLY, KC_P4, KC_P5, KC_P6, KC_PLUS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, + KC_VOLD, KC_MUTE, KC_VOLU, KC_APP, RGB_VAD, RGB_VAI, KC_NO, KC_P1, KC_P2, KC_P3, KC_PENT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, MO(1), RGB_TOG, KC_NO, RGB_RMOD,RGB_MOD, KC_NO, KC_P0, KC_NO, KC_PDOT, KC_PENT, KC_PENT, MO(1), UC_RMOD, UC_MOD) +}; + diff --git a/keyboards/xiudi/xd75/keymaps/minna/readme.md b/keyboards/xiudi/xd75/keymaps/minna/readme.md new file mode 100644 index 0000000000..0291fd3a85 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/minna/readme.md @@ -0,0 +1,13 @@ +# XD75 Fi/Sv board with some extras + +## Keymap + +### Base & Function Layer + +![Base layer](https://i.imgur.com/x8VFgYg.png) + +## Build + +To build the default keymap, simply run: + + make xiudi/xd75/minna diff --git a/keyboards/xiudi/xd75/keymaps/minna/rules.mk b/keyboards/xiudi/xd75/keymaps/minna/rules.mk new file mode 100644 index 0000000000..0517619ed1 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/minna/rules.mk @@ -0,0 +1 @@ +UNICODEMAP_ENABLE = yes
\ No newline at end of file |