From 6ef13f83e2ffff5537c8565972cd007dad548b66 Mon Sep 17 00:00:00 2001 From: Yan-Fa Li Date: Wed, 8 Apr 2020 18:20:58 -0700 Subject: [Keymap] Updates to personal keymaps (#8665) --- keyboards/tkc1800/keymaps/yanfali/rules.mk | 1 + .../community/60_tsangan_hhkb/yanfali_wkl/keymap.c | 25 ++++++++++++++++++++++ users/yanfali/rules.mk | 4 ++++ users/yanfali_wkl | 1 + 4 files changed, 31 insertions(+) create mode 100644 keyboards/tkc1800/keymaps/yanfali/rules.mk create mode 100644 layouts/community/60_tsangan_hhkb/yanfali_wkl/keymap.c create mode 120000 users/yanfali_wkl diff --git a/keyboards/tkc1800/keymaps/yanfali/rules.mk b/keyboards/tkc1800/keymaps/yanfali/rules.mk new file mode 100644 index 0000000000..b595964f7e --- /dev/null +++ b/keyboards/tkc1800/keymaps/yanfali/rules.mk @@ -0,0 +1 @@ +OLED_DRIVER_ENABLE = no diff --git a/layouts/community/60_tsangan_hhkb/yanfali_wkl/keymap.c b/layouts/community/60_tsangan_hhkb/yanfali_wkl/keymap.c new file mode 100644 index 0000000000..697807bdab --- /dev/null +++ b/layouts/community/60_tsangan_hhkb/yanfali_wkl/keymap.c @@ -0,0 +1,25 @@ +#include QMK_KEYBOARD_H + +enum layer { + BASE, + FN, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [BASE] = LAYOUT_60_tsangan_hhkb( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, + LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(FN), + KC_LALT, KC_NO, KC_LGUI, KC_SPC, KC_RGUI, KC_NO, KC_RALT + ), + + [FN] = LAYOUT_60_tsangan_hhkb( + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, + _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, EEP_RST, RESET, + KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______ + ), + +}; diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk index a4f1092d0c..456d3bf320 100644 --- a/users/yanfali/rules.mk +++ b/users/yanfali/rules.mk @@ -25,3 +25,7 @@ endif ifeq ($(strip $(KEYBOARD)), kbdfans/kbd75/rev1) COMMAND_ENABLE = no endif + +ifeq ($(strip $(KEYBOARD)), ai03/polaris) + RGBLIGHT_ENABLE = no +endif diff --git a/users/yanfali_wkl b/users/yanfali_wkl new file mode 120000 index 0000000000..491d08e433 --- /dev/null +++ b/users/yanfali_wkl @@ -0,0 +1 @@ +yanfali \ No newline at end of file -- cgit v1.2.1