qmk_firmware/keyboards/xiudi/xd75/keymaps/scheiklb/keymap.c

42 lines
2.4 KiB
C
Raw Permalink Normal View History

K.O.Y and German layout for several boards (#14991) * Added accent. * Added keymap for 5x6 dactyl manuform on KOY layout * Added xd75 folder that is not in the main repo anymore? * Added keymap for naked48 on KOY layout * Added keymap for splitreus62 on KOY layout * Added keymap for Dactyl Manuform 4x6 with RGB LEDs and K.O,Y layout * Fixed error where handedness was not correctly determined because of combining vbus pins of both controllers. * Replaced dynamic macros bith backspace and delete. * Changed detecting handedness from detecting usb communication to checking a wired pin. This avoids problems when booting the PC, where VBUS is already high, but no communication is happening -> both halves think they are not master. * Update keyboards/handwired/dactyl_manuform/4x6/keymaps/scheiklp/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keymap.c Added copyright * Update config.h * Update rules.mk * Updated files according to PR requests. * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Removed duplicate code. Updated copyright info. * Restored readme Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-12-26 19:40:47 -08:00
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "keymap_german.h"
// Layer shorthand
#define _QWZ 0
#define _FNC 1
#define _AGR 2
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWZ] = {
{ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, DE_CIRC, DE_UNDO, KC_6, KC_7, KC_8, KC_9, KC_0, DE_SS, DE_ACUT},
{ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, DE_COPY, DE_PASTE, DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UDIA, DE_PLUS},
{ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_DEL, KC_BSPC, KC_H, KC_J, KC_K, KC_L, DE_ODIA, DE_ADIA, DE_HASH},
{ KC_LSFT, DE_Y, KC_X, KC_C, KC_V, KC_B, KC_DOWN, KC_UP, KC_N, KC_M, KC_COMM, KC_DOT, DE_MINS, KC_TRNS, KC_RSFT},
{ KC_LCTL, DE_LABK, KC_HOME, KC_LALT, KC_ENTER, KC_ENTER, KC_LEFT, KC_RIGHT, KC_SPC, KC_SPC, MO(2), KC_TRNS, KC_TRNS, KC_TRNS, MO(1) },
},
[_FNC] = {
2022-08-21 15:55:30 -07:00
{ QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12},
K.O.Y and German layout for several boards (#14991) * Added accent. * Added keymap for 5x6 dactyl manuform on KOY layout * Added xd75 folder that is not in the main repo anymore? * Added keymap for naked48 on KOY layout * Added keymap for splitreus62 on KOY layout * Added keymap for Dactyl Manuform 4x6 with RGB LEDs and K.O,Y layout * Fixed error where handedness was not correctly determined because of combining vbus pins of both controllers. * Replaced dynamic macros bith backspace and delete. * Changed detecting handedness from detecting usb communication to checking a wired pin. This avoids problems when booting the PC, where VBUS is already high, but no communication is happening -> both halves think they are not master. * Update keyboards/handwired/dactyl_manuform/4x6/keymaps/scheiklp/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keymap.c Added copyright * Update config.h * Update rules.mk * Updated files according to PR requests. * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Removed duplicate code. Updated copyright info. * Restored readme Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-12-26 19:40:47 -08:00
{ KC_TAB, DE_AT, KC_TRNS, DE_EURO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DE_TILD },
{ KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS },
{ KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT },
{ KC_LCTL, DE_PIPE, KC_HOME, KC_LALT, KC_ENTER, KC_ENTER, KC_LEFT, KC_RIGHT, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS },
},
[_AGR] = {
{ KC_ESC, KC_TRNS, DE_SUP2, DE_SUP3, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DE_LCBR, DE_LBRC, DE_RBRC, DE_RCBR, DE_BSLS, KC_TRNS},
{ KC_TAB, DE_AT, KC_TRNS, DE_EURO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DE_TILD },
{ KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS },
{ KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT },
{ KC_LCTL, DE_PIPE, KC_HOME, KC_LALT, KC_ENTER, KC_ENTER, KC_LEFT, KC_RIGHT, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS },
},
};