1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/skyloong/gk61/pro/keymaps/default/keymap.c
skyloong ed78c13b5f
[Keyboard] Skyloong GK61 PRO (#21450)
* Add GK61 PRO keyboard

* Update info.json regarding to dunk2k suggestion

* Update keymap files regarding to dunk2k suggestion

* Update keyboards/skyloong/gk61/pro/config.h

OK, thanks for your suggestion.

* Update keyboards/skyloong/gk61/pro/keymaps/default/keymap.c

OK, thanks.

* Update keyboards/skyloong/gk61/pro/keymaps/via/keymap.c

OK, thanks.

* Update keyboards/skyloong/gk61/pro/rules.mk

OK, thank you for your suggestion.

* Update keyboards/skyloong/gk61/pro/info.json

OK,thanks.

* Update keyboards/skyloong/gk61/pro/keymaps/default/keymap.c

OK, thanks.

* Update keyboards/skyloong/gk61/pro/info.json

I see , thanks for your guidance.

* Update keyboards/skyloong/gk61/pro/config.h

OK, thank you.

* Update keyboards/skyloong/gk61/pro/info.json

OK, thank you for your suggestion.

* Update keyboards/skyloong/gk61/pro/info.json

I see, thank you.

* Update keyboards/skyloong/gk61/pro/config.h

OK, thank you for your suggestion.

* Update keyboards/skyloong/gk61/pro/pro.c

I see , thank you.

* Correct PCB feature description in readme.

* Update keyboards/skyloong/gk61/pro/config.h

It doesn't seem to be a problem to compile without defining DRIVER_COUNT. Thank you for your rigor and seriousness.

* Update keyboards/skyloong/gk61/pro/keymaps/default/keymap.c

OK, thank you.

* update config.h to define __flash.

* Update keyboards/skyloong/gk61/pro/config.h

I see, thanks for your suggestion.

* add hardware availabilty international website

* update via/rules.mk for encoder map

* Revert "update via/rules.mk for encoder map"

This reverts commit 66601242af.

* Update keyboards/skyloong/gk61/pro/config.h

OK, thanks.

* Update rules.mk

Enable the encoder map.

* 1.update readme to correct mcu type ; 2. update pro.c to improve indicator function.

* update pro.c and config.h to save power when USB suspend.

* update info.json

* Update RGB animations---delete rainbow_beacon and rainbow_pinwheels

* Update keymap.c and layer indication.

* Enable I2C DMA

* Update keyboards/skyloong/gk61/pro/info.json

OK,Thank you for your suggestion.

* Update keyboards/skyloong/gk61/pro/info.json

OK,Thanks.

* enable encoder map in default keymaps

* Update keyboards/skyloong/gk61/pro/info.json

OK. Thank you for your suggestion.
2023-10-12 14:22:36 -07:00

45 lines
3.4 KiB
C

// Copyright 2021 JZ-Skyloong (@JZ-Skyloong)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
* │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
* │Tab│ Q │ W │ E | R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
* │Cap│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ |Ent│
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
* │Sft│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ |Sft| │
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤
* │Ctl│GUI│Alt│ │Spc│Mut│ │ |Spc|Alt│App│Ctl│ │Mo1|
* └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
*/
[0] = LAYOUT_all(
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_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,
KC_CAPS, 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,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_MUTE, KC_SPC, KC_RALT, KC_APP, KC_RCTL, MO(1)
),
[1] = LAYOUT_all(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______,
_______, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) }
};
#endif