[Keymap] little foot (#7305)
* 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>
This commit is contained in:
parent
16fe4b8b77
commit
f38a3b7408
4 changed files with 55 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* 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
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -24,7 +24,6 @@
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
#define MANUFACTURER Kingly-Keys
|
#define MANUFACTURER Kingly-Keys
|
||||||
#define PRODUCT The Little Foot
|
#define PRODUCT The Little Foot
|
||||||
#define DESCRIPTION A Mighty Small, 45-Percent, Ortholinear Keyboard.
|
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
#define MATRIX_ROWS 5
|
#define MATRIX_ROWS 5
|
||||||
|
|
10
keyboards/kingly_keys/little_foot/keymaps/yanfali/config.h
Normal file
10
keyboards/kingly_keys/little_foot/keymaps/yanfali/config.h
Normal file
|
@ -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
keyboards/kingly_keys/little_foot/keymaps/yanfali/keymap.c
Normal file
40
keyboards/kingly_keys/little_foot/keymaps/yanfali/keymap.c
Normal file
|
@ -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, _______,
|
||||||
|
_______, _______, _______, _______
|
||||||
|
)
|
||||||
|
};
|
|
@ -0,0 +1,4 @@
|
||||||
|
CTPC=yes
|
||||||
|
CONSOLE_ENABLE = yes # Console for debug
|
||||||
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||||
|
AUDIO_ENABLE = yes
|
Loading…
Reference in a new issue