-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Personal keymap - fix quoting in description fix issue with userspace disabling audio wip Update keyboards/kingly_keys/little_foot/keymaps/yanfali/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/kingly_keys/little_foot/config.h Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Yan-Fa Li <yanfa.li@fireeye.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
- Loading branch information
1 parent
16fe4b8
commit f38a3b7
Showing
4 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
keyboards/kingly_keys/little_foot/keymaps/yanfali/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#pragma once | ||
|
||
#define TAPPING_TERM 150 | ||
#define RETRO_TAPPING | ||
|
||
#ifdef AUDIO_ENABLE | ||
#define STARTUP_SONG SONG(NOCTURNE_OP_9_NO_1) | ||
#define AUDIO_CLICKY | ||
#define AUDIO_CLICKY_FREQ_RANDOMNESS 0.8f | ||
#endif |
40 changes: 40 additions & 0 deletions
40
keyboards/kingly_keys/little_foot/keymaps/yanfali/keymap.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
// Layer names | ||
enum{ | ||
// - Base layer: | ||
_BASE, | ||
// - Symbols, numbers, and functions: | ||
_FN, | ||
// - Alternate Function layer: | ||
_LN | ||
}; | ||
|
||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
[_BASE] = LAYOUT_split_space_base( | ||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
LCTL_T(KC_A), KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
LSFT_T(KC_ESC), LGUI_T(KC_SPACE), LT(_LN, KC_BSPC), LT(_FN, KC_ENT) | ||
), | ||
|
||
[_FN] = LAYOUT_split_space_base( | ||
LT(_LN, KC_ESC), _______, _______, _______, _______, _______, _______, _______, KC_MINS, RESET, | ||
KC_TAB, _______, _______, _______, _______, _______, _______, _______, LSFT(KC_MINS), KC_BSLS, | ||
KC_LSFT, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_QUOT, | ||
AU_TOG, CK_TOGG , _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, KC_LALT, RGB_MOD, _______ | ||
), | ||
|
||
[_LN] = LAYOUT_split_space_base( | ||
_______, KC_F1, KC_F2, KC_F3, _______, _______, _______, KC_7, KC_8, KC_9, | ||
_______, KC_F4, KC_F5, KC_F6, _______, _______, _______, KC_4, KC_5, KC_6, | ||
_______, KC_F7, KC_F8, KC_F9, _______, _______, _______, KC_1, KC_2, KC_3, | ||
_______, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, KC_0, _______, | ||
_______, _______, _______, _______ | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CTPC=yes | ||
CONSOLE_ENABLE = yes # Console for debug | ||
COMMAND_ENABLE = yes # Commands for debug and configuration | ||
AUDIO_ENABLE = yes |