qmk_firmware/keyboards/skyloong/gk61/pro_48/config.h
skyloong f150258e5a
[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
2023-10-12 21:59:10 -07:00

19 lines
414 B
C

// 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()