Skip to content

Commit

Permalink
K.O.Y and German layout for several boards (qmk#14991)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and ryphon committed Jan 12, 2022
1 parent ba0a53f commit eeae1f9
Show file tree
Hide file tree
Showing 28 changed files with 755 additions and 35 deletions.
6 changes: 3 additions & 3 deletions keyboards/atreus62/keymaps/scheiklp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2

// Cursor offset per movement (unmodified)
#define MK_C_OFFSET_UNMOD 16
#define MK_C_OFFSET_UNMOD 20
// Time between cursor movements (unmodified)
#define MK_C_INTERVAL_UNMOD 10
#define MK_C_INTERVAL_UNMOD 1
/* #define MK_C_INTERVAL_UNMOD 16 */

// Cursor offset per movement (KC_ACL0)
#define MK_C_OFFSET_0 1
// Time between cursor movements (KC_ACL0)
#define MK_C_INTERVAL_0 32
#define MK_C_INTERVAL_0 10

// Cursor offset per movement (KC_ACL1)
#define MK_C_OFFSET_1 4
Expand Down
2 changes: 1 addition & 1 deletion keyboards/atreus62/keymaps/scheiklp/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_3] = LAYOUT(
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_BSPC,
KC_TAB, N_DOTS, N_USC, N_LSQBR, N_RSQBR, N_CIRC, N_EXKL, N_LT, N_GT, N_EQ, N_AMP, KC_TRNS,
KC_TAB, N_DOTS, N_USC, N_LSQBR, N_RSQBR, N_CIRC, N_EXKL, N_LT, N_GT, N_EQ, N_AMP, N_ACUT,
KC_TRNS, N_BSLS, N_SLSH, N_LCUBR, N_RCUBR, N_ASTR, N_QUES, N_LPARN, N_RPARN, N_MINS, N_COLN, N_AT,
KC_LSFT, N_HASH, N_DLR, N_PIPE, N_TILD, N_GRAVE, N_PLUS, N_PERC, N_QUOT, N_SING, N_SEMI, KC_RSFT,
KC_LCTL, N_COPY, N_PASTE, KC_LGUI, KC_LALT, KC_SPC, KC_ENTER, KC_TRNS, KC_TRNS, KC_RCTL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#### compile with

`make handwired/dactyl_manuform/4x6:scheikled`


#### flash with

`qmk flash -kb handwired/dactyl_manuform/4x6 -km scheikled`
60 changes: 60 additions & 0 deletions keyboards/handwired/dactyl_manuform/4x6/keymaps/scheikled/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later


#pragma once

#define USE_I2C

#define SPLIT_HAND_PIN F6

// WS2812 RGB LED strip input and number of LEDs
#undef RGB_DI_PIN
#undef RGBLED_NUM
#define RGB_DI_PIN F4
#define RGBLED_NUM 52
#define RGBLED_SPLIT {26, 26}
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_SNAKE

// Amoeba royale PCBs (https://github.com/mtl/keyboard-pcbs/tree/master/amoeba-royale) use row to column layout (current can flow from row pin to column pin).
#undef DIODE_DIRECTION
#define DIODE_DIRECTION ROW2COL

#define DEBOUNCE 5

#define AUTO_SHIFT_TIMEOUT 100
#define NO_AUTO_SHIFT_SPECIAL
#define NO_AUTO_SHIFT_NUMERIC

// require two taps for a TT layer switch (default 5)
#define TAPPING_TOGGLE 2

// Mouse control
// constant mode (velocity)
#define MK_3_SPEED
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2

// Cursor offset per movement (unmodified)
#define MK_C_OFFSET_UNMOD 16
// Time between cursor movements (unmodified)
#define MK_C_INTERVAL_UNMOD 10
/* #define MK_C_INTERVAL_UNMOD 16 */

// Cursor offset per movement (KC_ACL0)
#define MK_C_OFFSET_0 1
// Time between cursor movements (KC_ACL0)
#define MK_C_INTERVAL_0 32

// Cursor offset per movement (KC_ACL1)
#define MK_C_OFFSET_1 4
// Time between cursor movements (KC_ACL1)
#define MK_C_INTERVAL_1 16

// Cursor offset per movement (KC_ACL2)
#define MK_C_OFFSET_2 20
/* #define MK_C_OFFSET_2 32 */
// Time between cursor movements (KC_ACL2)
#define MK_C_INTERVAL_2 16
64 changes: 64 additions & 0 deletions keyboards/handwired/dactyl_manuform/4x6/keymaps/scheikled/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later

/* A K.O,Y layout for the Dactyl Manuform 4x6 Keyboard */

#include QMK_KEYBOARD_H
#include "koy_keys_on_quertz_de_latin1.h"

enum custom_layers {
_1,
_3,
_4,
_7,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_1] = LAYOUT(
KC_TAB , KC_K , KC_DOT , KC_O , KC_COMM , N_Y , KC_V , KC_G , KC_C , KC_L , N_SS , N_Z ,
MO(_3) , KC_H , KC_A , KC_E , KC_I , KC_U , KC_D , KC_T , KC_R , KC_N , KC_S , KC_F ,
KC_LSFT , KC_X , KC_Q , N_AE , N_UE , N_OE , KC_B , KC_P , KC_W , KC_M , KC_J , KC_RSFT ,
KC_LCTL , KC_LGUI , KC_CAPS , TT(_7) ,
KC_LALT , KC_SPC , MO(_3) , MO(_4) ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
),

[_3] = LAYOUT(

KC_TAB , N_DOTS , N_USC , N_LSQBR , N_RSQBR , N_CIRC , N_EXKL , N_LT , N_GT , N_EQ , N_AMP , N_ACUT ,
KC_TRNS , N_BSLS , N_SLSH , N_LCUBR , N_RCUBR , N_ASTR , N_QUES , N_LPARN , N_RPARN , N_MINS , N_COLN , N_AT ,
KC_LSFT , N_HASH , N_DLR , N_PIPE , N_TILD , N_GRAVE , N_PLUS , N_PERC , N_QUOT , N_SING , N_SEMI , KC_RSFT ,
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS ,
KC_LALT , KC_SPC , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

[_4] = LAYOUT(

KC_TAB , KC_PGUP , KC_BSPC , KC_UP , KC_DEL , KC_PGDN , KC_KP_SLASH , KC_7 , KC_8 , KC_9 , KC_KP_MINUS , KC_TRNS ,
KC_TRNS , KC_HOME , KC_LEFT , KC_DOWN , KC_RIGHT , KC_END , KC_KP_ASTERISK , KC_4 , KC_5 , KC_6 , KC_KP_PLUS , KC_TRNS ,
KC_LSFT , KC_ESC , KC_TAB , KC_INS , KC_ENTER , N_UNDO , KC_KP_ENTER , KC_1 , KC_2 , KC_3 , KC_KP_DOT , KC_RSFT ,
KC_TRNS , KC_TRNS , KC_0 , KC_TRNS ,
KC_LALT , KC_0 , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

[_7] = LAYOUT(

KC_TAB , KC_MS_WH_UP , KC_MS_BTN2 , KC_MS_UP , KC_MS_BTN1 , KC_MS_WH_DOWN , KC_TRNS , KC_F7 , KC_F8 , KC_F9 , RGB_HUI , RESET ,
KC_TRNS , KC_MS_ACCEL0 , KC_MS_LEFT , KC_MS_DOWN , KC_MS_RIGHT , KC_TRNS , KC_TRNS , KC_F4 , KC_F5 , KC_F6 , RGB_SAI , RGB_TOG ,
KC_LSFT , KC_MS_ACCEL1 , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_F1 , KC_F2 , KC_F3 , RGB_VAI , RGB_MODE_FORWARD ,
KC_TRNS , KC_PSCR , KC_F10 , KC_TRNS ,
KC_LALT , KC_F10 , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

};
10 changes: 10 additions & 0 deletions keyboards/handwired/dactyl_manuform/4x6/keymaps/scheikled/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
# SPDX-License-Identifier: GPL-2.0-or-later

BOOTLOADER = atmel-dfu
AUTO_SHIFT_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
NKRO_ENABLE = yes
RGBLIGHT_ENABLE = yes
DEBOUNCE_TYPE = asym_eager_defer_pk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#### compile with

`make handwired/dactyl_manuform/4x6:scheiklp`


#### flash with

`qmk flash -kb handwired/dactyl_manuform/4x6 -km scheiklp`
47 changes: 47 additions & 0 deletions keyboards/handwired/dactyl_manuform/4x6/keymaps/scheiklp/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once


#define USE_I2C
#define SPLIT_HAND_PIN F6

#undef RGB_DI_PIN
#undef RGBLED_NUM

#define DEBOUNCE 5

#define AUTO_SHIFT_TIMEOUT 100
#define NO_AUTO_SHIFT_SPECIAL
#define NO_AUTO_SHIFT_NUMERIC

// require two taps for a TT layer switch (default 5)
#define TAPPING_TOGGLE 2

// Mouse control
// constant mode (velocity)
#define MK_3_SPEED
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2

// Cursor offset per movement (unmodified)
#define MK_C_OFFSET_UNMOD 16
// Time between cursor movements (unmodified)
#define MK_C_INTERVAL_UNMOD 10
/* #define MK_C_INTERVAL_UNMOD 16 */

// Cursor offset per movement (KC_ACL0)
#define MK_C_OFFSET_0 1
// Time between cursor movements (KC_ACL0)
#define MK_C_INTERVAL_0 32

// Cursor offset per movement (KC_ACL1)
#define MK_C_OFFSET_1 4
// Time between cursor movements (KC_ACL1)
#define MK_C_INTERVAL_1 16

// Cursor offset per movement (KC_ACL2)
#define MK_C_OFFSET_2 20
/* #define MK_C_OFFSET_2 32 */
// Time between cursor movements (KC_ACL2)
#define MK_C_INTERVAL_2 16
64 changes: 64 additions & 0 deletions keyboards/handwired/dactyl_manuform/4x6/keymaps/scheiklp/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later

/* A K.O,Y layout for the Dactyl Manuform 4x6 Keyboard */

#include QMK_KEYBOARD_H
#include "koy_keys_on_quertz_de_latin1.h"

enum custom_layers {
_1,
_3,
_4,
_7,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_1] = LAYOUT(
KC_TAB , KC_K , KC_DOT , KC_O , KC_COMM , N_Y , KC_V , KC_G , KC_C , KC_L , N_SS , N_Z ,
MO(_3) , KC_H , KC_A , KC_E , KC_I , KC_U , KC_D , KC_T , KC_R , KC_N , KC_S , KC_F ,
KC_LSFT , KC_X , KC_Q , N_AE , N_UE , N_OE , KC_B , KC_P , KC_W , KC_M , KC_J , KC_RSFT ,
KC_LCTL , KC_LGUI , KC_CAPS , TT(_7) ,
KC_LALT , KC_SPC , MO(_3) , MO(_4) ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL
),

[_3] = LAYOUT(

KC_TAB , N_DOTS , N_USC , N_LSQBR , N_RSQBR , N_CIRC , N_EXKL , N_LT , N_GT , N_EQ , N_AMP , N_ACUT ,
KC_TRNS , N_BSLS , N_SLSH , N_LCUBR , N_RCUBR , N_ASTR , N_QUES , N_LPARN , N_RPARN , N_MINS , N_COLN , N_AT ,
KC_LSFT , N_HASH , N_DLR , N_PIPE , N_TILD , N_GRAVE , N_PLUS , N_PERC , N_QUOT , N_SING , N_SEMI , KC_RSFT ,
KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS ,
KC_LALT , KC_SPC , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

[_4] = LAYOUT(

KC_TAB , KC_PGUP , KC_BSPC , KC_UP , KC_DEL , KC_PGDN , KC_KP_SLASH , KC_7 , KC_8 , KC_9 , KC_KP_MINUS , KC_TRNS ,
KC_TRNS , KC_HOME , KC_LEFT , KC_DOWN , KC_RIGHT , KC_END , KC_KP_ASTERISK , KC_4 , KC_5 , KC_6 , KC_KP_PLUS , KC_TRNS ,
KC_LSFT , KC_ESC , KC_TAB , KC_INS , KC_ENTER , N_UNDO , KC_KP_ENTER , KC_1 , KC_2 , KC_3 , KC_KP_DOT , KC_RSFT ,
KC_TRNS , KC_TRNS , KC_0 , KC_TRNS ,
KC_LALT , KC_0 , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

[_7] = LAYOUT(

KC_TAB , KC_MS_WH_UP , KC_MS_BTN2 , KC_MS_UP , KC_MS_BTN1 , KC_MS_WH_DOWN , KC_TRNS , KC_F7 , KC_F8 , KC_F9 , KC_TRNS , KC_TRNS ,
KC_TRNS , KC_MS_ACCEL0 , KC_MS_LEFT , KC_MS_DOWN , KC_MS_RIGHT , KC_TRNS , KC_TRNS , KC_F4 , KC_F5 , KC_F6 , KC_TRNS , KC_TRNS ,
KC_LSFT , KC_MS_ACCEL1 , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_F1 , KC_F2 , KC_F3 , KC_TRNS , KC_TRNS ,
KC_TRNS , KC_PSCR , KC_F10 , KC_TRNS ,
KC_LALT , KC_F10 , KC_TRNS , KC_TRNS ,
N_COPY , N_CUT , KC_ESC , KC_ENTER ,
N_PASTE , N_UNDO , KC_BSPC , KC_DEL

),

};
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2021 Paul Maria Scheikl (@ScheiklP)
# SPDX-License-Identifier: GPL-2.0-or-later

BOOTLOADER = atmel-dfu
AUTO_SHIFT_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
NKRO_ENABLE = yes
DEBOUNCE_TYPE = asym_eager_defer_pk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#### compile with

`make handwired/dactyl_manuform/5x6:scheiklp`


#### flash with

`qmk flash -kb handwired/dactyl_manuform/5x6 -km scheiklp`
47 changes: 47 additions & 0 deletions keyboards/handwired/dactyl_manuform/5x6/keymaps/scheiklp/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// Copyright 2021 Paul Maria Scheikl (@ScheiklP)
// SPDX-License-Identifier: GPL-2.0-or-later


#pragma once


#define USE_I2C

/* #define MASTER_LEFT */
/* #define MASTER_RIGHT */
#define EE_HANDS
// Rows are doubled-up

#define AUTO_SHIFT_TIMEOUT 125
#define NO_AUTO_SHIFT_SPECIAL
#define NO_AUTO_SHIFT_NUMERIC

// require two taps for a TT layer switch (default 5)
#define TAPPING_TOGGLE 2

// Mouse control
// constant mode (velocity)
#define MK_3_SPEED
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2

// Cursor offset per movement (unmodified)
#define MK_C_OFFSET_UNMOD 16
// Time between cursor movements (unmodified)
#define MK_C_INTERVAL_UNMOD 10
/* #define MK_C_INTERVAL_UNMOD 16 */

// Cursor offset per movement (KC_ACL0)
#define MK_C_OFFSET_0 1
// Time between cursor movements (KC_ACL0)
#define MK_C_INTERVAL_0 32

// Cursor offset per movement (KC_ACL1)
#define MK_C_OFFSET_1 4
// Time between cursor movements (KC_ACL1)
#define MK_C_INTERVAL_1 16

// Cursor offset per movement (KC_ACL2)
#define MK_C_OFFSET_2 20
/* #define MK_C_OFFSET_2 32 */
// Time between cursor movements (KC_ACL2)
#define MK_C_INTERVAL_2 16
Loading

0 comments on commit eeae1f9

Please sign in to comment.