[Keymap] New planck keymap (#6093)
* New keymap * Add readme; fix lack of asterisk on raise * Update default planck map to tap_code vs reg/unreg * Press F to pay respects
This commit is contained in:
@ -274,19 +274,15 @@ void encoder_update(bool clockwise) {
|
||||
} else {
|
||||
if (clockwise) {
|
||||
#ifdef MOUSEKEY_ENABLE
|
||||
register_code(KC_MS_WH_DOWN);
|
||||
unregister_code(KC_MS_WH_DOWN);
|
||||
tap_code(KC_MS_WH_DOWN);
|
||||
#else
|
||||
register_code(KC_PGDN);
|
||||
unregister_code(KC_PGDN);
|
||||
tap_code(KC_PGDN);
|
||||
#endif
|
||||
} else {
|
||||
#ifdef MOUSEKEY_ENABLE
|
||||
register_code(KC_MS_WH_UP);
|
||||
unregister_code(KC_MS_WH_UP);
|
||||
tap_code(KC_MS_WH_UP);
|
||||
#else
|
||||
register_code(KC_PGUP);
|
||||
unregister_code(KC_PGUP);
|
||||
tap_code(KC_PGUP);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
39
keyboards/planck/keymaps/mgalisa/config.h
Normal file
39
keyboards/planck/keymaps/mgalisa/config.h
Normal file
@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
#define STARTUP_SONG SONG(PLANCK_SOUND)
|
||||
// #define STARTUP_SONG SONG(NO_SOUND)
|
||||
|
||||
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
|
||||
SONG(COLEMAK_SOUND), \
|
||||
SONG(DVORAK_SOUND) \
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
|
||||
/* Prevent use of disabled MIDI features in the keymap */
|
||||
//#define MIDI_ENABLE_STRICT 1
|
||||
|
||||
/* enable basic MIDI features:
|
||||
- MIDI notes can be sent when in Music mode is on
|
||||
*/
|
||||
|
||||
#define MIDI_BASIC
|
||||
|
||||
/* enable advanced MIDI features:
|
||||
- MIDI notes can be added to the keymap
|
||||
- Octave shift and transpose
|
||||
- Virtual sustain, portamento, and modulation wheel
|
||||
- etc.
|
||||
*/
|
||||
//#define MIDI_ADVANCED
|
||||
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||||
|
||||
// Most tactile encoders have detents every 4 stages
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
403
keyboards/planck/keymaps/mgalisa/keymap.c
Normal file
403
keyboards/planck/keymaps/mgalisa/keymap.c
Normal file
File diff suppressed because it is too large
Load Diff
15
keyboards/planck/keymaps/mgalisa/readme.md
Normal file
15
keyboards/planck/keymaps/mgalisa/readme.md
Normal file
@ -0,0 +1,15 @@
|
||||
# @mgalisa's Planck keymap
|
||||
|
||||
A minor (so far) update to the default keymap. Probably more to come.
|
||||
|
||||
## Raise layer
|
||||
|
||||

|
||||
|
||||
* Moved F-keys and number keys into 4x3 and 3x3 grid patterns for pseudo-numpad like effect
|
||||
* Added macros to the middle column that insert bracket/brace/paren pairs and moves the cursor inbetween
|
||||
* Minor adjustments
|
||||
|
||||
## Emoji layer
|
||||
|
||||
Activate by holding the Esc key from QWERTY/Dvorak/Colemak. Holds macros primarily for annoying coworkers via Slack.
|
6
keyboards/planck/keymaps/mgalisa/rules.mk
Normal file
6
keyboards/planck/keymaps/mgalisa/rules.mk
Normal file
@ -0,0 +1,6 @@
|
||||
SRC += muse.c
|
||||
EXTRAKEY_ENABLE = yes
|
||||
# RGBLIGHT_ENABLE = yes
|
||||
## I bought the WS2812s...
|
||||
## just need the main branch to be updated.
|
||||
# Uncomment to make build fail.
|
Reference in New Issue
Block a user