add ferris keymap back
This commit is contained in:
parent
f23e38366f
commit
7372ce1a8b
|
@ -28,7 +28,7 @@ This repository is a valid QMK external userspace as documented here:
|
||||||
|
|
||||||
You need to have a locally setup QMK and use this repo as overlay:
|
You need to have a locally setup QMK and use this repo as overlay:
|
||||||
|
|
||||||
qmk config user.overlay_dir="/home/cullmann/data/qmk/christoph-cullmann"
|
qmk config user.overlay_dir="/data/home/cullmann/data/qmk/christoph-cullmann"
|
||||||
|
|
||||||
To use my keymaps, do for the Corne
|
To use my keymaps, do for the Corne
|
||||||
|
|
||||||
|
@ -38,6 +38,10 @@ or for the Planck
|
||||||
|
|
||||||
qmk flash -kb planck/rev6_drop -km christoph-cullmann
|
qmk flash -kb planck/rev6_drop -km christoph-cullmann
|
||||||
|
|
||||||
|
or for the Ferris
|
||||||
|
|
||||||
|
qmk flash -kb ferris/sweep -km christoph-cullmann
|
||||||
|
|
||||||
# Foundation
|
# Foundation
|
||||||
|
|
||||||
Based on ideas and code from:
|
Based on ideas and code from:
|
||||||
|
|
|
@ -98,6 +98,8 @@ uint16_t achordion_streak_chord_timeout(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NO_LED
|
||||||
|
|
||||||
void keyboard_post_init_user(void) {
|
void keyboard_post_init_user(void) {
|
||||||
// always use the same effect
|
// always use the same effect
|
||||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING);
|
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING);
|
||||||
|
@ -138,6 +140,8 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// Simplify unused magic config functions
|
// Simplify unused magic config functions
|
||||||
#ifndef MAGIC_ENABLE
|
#ifndef MAGIC_ENABLE
|
||||||
uint8_t mod_config(uint8_t mod) { return mod; }
|
uint8_t mod_config(uint8_t mod) { return mod; }
|
||||||
|
|
9
keyboards/ferris/keymaps/christoph-cullmann/config.h
Normal file
9
keyboards/ferris/keymaps/christoph-cullmann/config.h
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/**
|
||||||
|
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// our shared config parts
|
||||||
|
#include "common/config.h"
|
33
keyboards/ferris/keymaps/christoph-cullmann/keymap.c
Normal file
33
keyboards/ferris/keymaps/christoph-cullmann/keymap.c
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
/**
|
||||||
|
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
|
||||||
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
// Returns true if `pos` on the left hand of the keyboard, false if right.
|
||||||
|
static bool on_left_hand(keypos_t pos)
|
||||||
|
{
|
||||||
|
return pos.row < MATRIX_ROWS / 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// layout helper macro, we just use 42 keys
|
||||||
|
#undef LAYOUT
|
||||||
|
#define LAYOUT(\
|
||||||
|
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
|
||||||
|
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
|
||||||
|
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
|
||||||
|
K30, K31, K32, K33\
|
||||||
|
)\
|
||||||
|
LAYOUT_split_3x5_2(\
|
||||||
|
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
|
||||||
|
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
|
||||||
|
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
|
||||||
|
K30, K31, K32, K33\
|
||||||
|
)
|
||||||
|
|
||||||
|
// no led
|
||||||
|
#define NO_LED
|
||||||
|
|
||||||
|
// our shared 42 keys keymap
|
||||||
|
#include "common/keymap.h"
|
3
keyboards/ferris/keymaps/christoph-cullmann/rules.mk
Normal file
3
keyboards/ferris/keymaps/christoph-cullmann/rules.mk
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# include common settings
|
||||||
|
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
include ${ROOT_DIR}../../../../rules.mk
|
Loading…
Reference in a new issue