mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
81513ab5f5
38
keyboards/preonic/keymaps/brauner/config.h
Normal file
38
keyboards/preonic/keymaps/brauner/config.h
Normal file
@ -0,0 +1,38 @@
|
||||
/* Copyright 2015-2021 Jack Humbert
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
# define STARTUP_SONG SONG(PREONIC_SOUND)
|
||||
# define DEFAULT_LAYER_SONGS \
|
||||
{ SONG(QWERTY_SOUND) }
|
||||
#endif
|
||||
|
||||
#define MUSIC_MASK (keycode != KC_NO)
|
||||
|
||||
#define PERMISSVE_HOLD
|
||||
|
||||
#define LEADER_PER_KEY_TIMING
|
||||
|
||||
#define LEADER_TIMEOUT 250
|
||||
|
||||
#define LEADER_NO_TIMEOUT
|
||||
|
||||
#define MK_3_SPEED
|
||||
#define MK_MOMENTARY_ACCEL
|
||||
|
||||
#define COMBO_NO_TIMER
|
433
keyboards/preonic/keymaps/brauner/keymap.c
Normal file
433
keyboards/preonic/keymaps/brauner/keymap.c
Normal file
File diff suppressed because it is too large
Load Diff
26
keyboards/preonic/keymaps/brauner/readme.md
Normal file
26
keyboards/preonic/keymaps/brauner/readme.md
Normal file
@ -0,0 +1,26 @@
|
||||
# Brauner's Preonic Keymap
|
||||
|
||||
This is a keymap layout heavily optimized for vim.
|
||||
It mostly follows `QWERTY` but moves various symbols on to different layers.
|
||||
|
||||
* Number keys function only as number keys.
|
||||
Additional symbols they would produce when `Shift` is held are turned off as they are intercepted.
|
||||
* `Y`, `P`, and `X` function as `Ctrl+C`, `Ctrl+V`, and `Ctrl+X` when held.
|
||||
This avoids having to hold down `Ctrl` and also aligns regular copy and paste with vim functionality.
|
||||
* Various keys perform different functions when tapped than when held.
|
||||
* `!` and `?` are on top of `.` on different layers.
|
||||
* `\` and `|` are on top of `/` on different layers.
|
||||
* `:` and `;` are on top of `,` on different layers.
|
||||
* All navigation is done via `H`, `J`, `K`, and `L`.
|
||||
* `O`, `U`, `S`, and `A` produce the Umlauts `Ö`, `Ü`, `ß`, and `Ä` when held.
|
||||
This relies on the operating system keyboard layout to be set to US Intl.
|
||||
* Different layers will activate different types of navigation.
|
||||
For example, left, right, up, and down or backspace, page up, page down, and tab.
|
||||
* There's a dedicated mouse layer which can be activated allowing to navigate solely with the keyboard where otherwise a mouse or trackpad would be needed.
|
||||
* There's a dedicated management layer where the boot loader can be entered or music mode can be turned on or off.
|
||||
* Lastly, there's a compositor layer which is optimized for managing a tiling window manager.
|
||||
The layer is used specifically via layer-mod keys in the base layer.
|
||||
In other words, specific modifiers are held when this layer is accessed.
|
||||
* Opening and closing brackets are always located on adjacent keys on the same layer.
|
||||
Pressing a matching opening and closing bracket key at the same time will insert both brackets and move the cursor into the middle of the bracket pair.
|
||||
As should be obvious, this is useful when programming: `(|)`, `[|]`, `{|}`, `<|>`.
|
7
keyboards/preonic/keymaps/brauner/rules.mk
Normal file
7
keyboards/preonic/keymaps/brauner/rules.mk
Normal file
@ -0,0 +1,7 @@
|
||||
LEADER_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = no
|
||||
BACKLIGHT_ENABLE = no
|
||||
KEY_OVERRIDE_ENABLE = yes
|
||||
COMBO_ENABLE = yes
|
||||
SRC += muse.c
|
Loading…
x
Reference in New Issue
Block a user