aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-05-13 07:25:21 +0800
committerGitHub <noreply@github.com>2021-05-13 09:25:21 +1000
commit9ada2f30eac43586e9a597c71fae0a42c84bf5d4 (patch)
treed70f18abe9095afd6e5296e60cff3430d897e8a1 /keyboards/boardsource
parentd471a691f70cb51b46fc98c229be8fa97ac86ffb (diff)
downloadqmk_firmware-9ada2f30eac43586e9a597c71fae0a42c84bf5d4.tar.gz
qmk_firmware-9ada2f30eac43586e9a597c71fae0a42c84bf5d4.zip
USB suspend option and LED position change for The Mark 65 (#12725)
Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/boardsource')
-rw-r--r--keyboards/boardsource/the_mark/config.h4
-rw-r--r--keyboards/boardsource/the_mark/the_mark.c10
2 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/boardsource/the_mark/config.h b/keyboards/boardsource/the_mark/config.h
index 7af2c302f..5888452ce 100644
--- a/keyboards/boardsource/the_mark/config.h
+++ b/keyboards/boardsource/the_mark/config.h
@@ -58,7 +58,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
58#ifdef RGB_MATRIX_ENABLE 58#ifdef RGB_MATRIX_ENABLE
59#define DRIVER_LED_TOTAL 24 // Number of LEDs 59#define DRIVER_LED_TOTAL 24 // Number of LEDs
60#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 60#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
61#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended 61# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
62# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
63# endif
62#endif 64#endif
63 65
64/* 66/*
diff --git a/keyboards/boardsource/the_mark/the_mark.c b/keyboards/boardsource/the_mark/the_mark.c
index 9bc1f5b46..59aff7f9a 100644
--- a/keyboards/boardsource/the_mark/the_mark.c
+++ b/keyboards/boardsource/the_mark/the_mark.c
@@ -20,11 +20,11 @@
20#ifdef RGB_MATRIX_ENABLE 20#ifdef RGB_MATRIX_ENABLE
21led_config_t g_led_config = { { 21led_config_t g_led_config = { {
22 // Key Matrix to LED Index 22 // Key Matrix to LED Index
23 { NO_LED, 10 , 9 , NO_LED, 8 , 7 , NO_LED, 6 , 5 , NO_LED, 4 , 3 , NO_LED, 2 , 1 , NO_LED }, 23 { 10 , NO_LED, 9 , NO_LED, 8 , 7 , NO_LED, 6 , 5 , NO_LED, 4 , 3 , NO_LED, 2 , NO_LED, 1 },
24 { NO_LED, 11 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 0 , NO_LED }, 24 { 11 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 0 },
25 { NO_LED, 12 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 23 , NO_LED }, 25 { 12 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 23 },
26 { NO_LED, 13 , 14 , NO_LED, 15 , 16 , NO_LED, 17 , 18 , NO_LED, 19 , 20 , NO_LED, 21 , 22 , NO_LED }, 26 { 13 , NO_LED, 14 , NO_LED, 15 , 16 , NO_LED, 17 , 18 , NO_LED, 19 , 20 , NO_LED, 21 , NO_LED, NO_LED },
27 { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, 27 { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 22 },
28}, { 28}, {
29 // LED Index to Physical Position 29 // LED Index to Physical Position
30 {224, 42}, {224, 21}, {209, 21}, {179, 21}, {164, 21}, {134, 21}, {119, 21}, {89, 21}, {74, 21}, {45, 21}, {30, 21}, {30, 42}, 30 {224, 42}, {224, 21}, {209, 21}, {179, 21}, {164, 21}, {134, 21}, {119, 21}, {89, 21}, {74, 21}, {45, 21}, {30, 21}, {30, 42},