diff options
author | skyloong <92424712+JZ-Skyloong@users.noreply.github.com> | 2023-10-13 12:59:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 21:59:10 -0700 |
commit | f150258e5ab6bf04c2e724389465f7a8ef5759ef (patch) | |
tree | 6775e96e68f7ddd3045a95984ca6302bce69a1f0 /keyboards/skyloong/gk61/pro_48/config.h | |
parent | 0d7d2f7915ff9de13945ef323461fe9562645fff (diff) |
[Keyboard] Skyloong GK61 Pro 48 (#21654)
* Create GK61 PRO_48 Keyboard.
* update pro.c and config.h to save power when USB suspend.
* Update keyboards/skyloong/gk61/pro_48/info.json
OK,thank you.
* update info.json
* update layer indicator
* Update RGB animations---delete rainbow_beacon and rainbo_pinwheels.
* Cancel force_nkro
* Add caps lock indicator in rgb matrix.
* Update keyboards/skyloong/gk61/pro_48/pro_48.c
OK, thank you for your suggestion.
* Enable I2C DMA; Modified pro_48.c
* Update keyboards/skyloong/gk61/pro_48/info.json
OK, thank you for your suggestion.
* Update keyboards/skyloong/gk61/pro_48/info.json
OK, thanks.
* enable encoder map in default keymap.
* define g_suspend_state
Diffstat (limited to 'keyboards/skyloong/gk61/pro_48/config.h')
-rw-r--r-- | keyboards/skyloong/gk61/pro_48/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/skyloong/gk61/pro_48/config.h b/keyboards/skyloong/gk61/pro_48/config.h new file mode 100644 index 0000000000..dc31521627 --- /dev/null +++ b/keyboards/skyloong/gk61/pro_48/config.h @@ -0,0 +1,18 @@ +// Copyright 2023 linlin012 (@linlin012) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + + +#define DRIVER_COUNT 1 +#define RGB_MATRIX_LED_COUNT 64 +#define CAPS_LOCK_INDEX 28 +#define WIN_MOD_INDEX 16 +#define MAC_MOD_INDEX 17 +#define SDB A4 + +#define RGB_DISABLE_WHEN_USB_SUSPENDED +#define RGB_MATRIX_KEYPRESSES +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS + +#define g_suspend_state rgb_matrix_get_suspend_state() |