summaryrefslogtreecommitdiff
path: root/keyboards/massdrop
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-02-23 09:19:00 +1100
committerGitHub <noreply@github.com>2023-02-23 09:19:00 +1100
commit7f805cc7799deb0ca75f751cebd32c6640058af9 (patch)
treeebc20e21b50812ea4455bdfc5567c8025aa4fc74 /keyboards/massdrop
parent403b0addea48548abdbde6203d8673f2b77164a7 (diff)
VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech> Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/massdrop')
-rw-r--r--keyboards/massdrop/alt/keymaps/via/keymap.c2
-rw-r--r--keyboards/massdrop/alt/keymaps/via/readme.md13
-rw-r--r--keyboards/massdrop/ctrl/keymaps/via/keymap.c2
3 files changed, 10 insertions, 7 deletions
diff --git a/keyboards/massdrop/alt/keymaps/via/keymap.c b/keyboards/massdrop/alt/keymaps/via/keymap.c
index 3781f2227b..2722fbbb37 100644
--- a/keyboards/massdrop/alt/keymaps/via/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/via/keymap.c
@@ -17,7 +17,7 @@
#include QMK_KEYBOARD_H
enum alt_keycodes {
- U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
+ U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
U_T_AGCR, //USB Toggle Automatic GCR control
DBG_TOG, //DEBUG Toggle On / Off
DBG_MTRX, //DEBUG Toggle Matrix Prints
diff --git a/keyboards/massdrop/alt/keymaps/via/readme.md b/keyboards/massdrop/alt/keymaps/via/readme.md
index 1315fb085d..61194ff7ab 100644
--- a/keyboards/massdrop/alt/keymaps/via/readme.md
+++ b/keyboards/massdrop/alt/keymaps/via/readme.md
@@ -1,19 +1,22 @@
# VIA keymap for the Drop Alt Keyboard
-## *LED Modes:*
+
+## _LED Modes:_
+
Enables all RGB Matrix animation modes available in QMK, all of which are selectable through VIA or using the LED mode keys
```c
#define USB_LED_INDICATOR_ENABLE
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
```
-## *User Keycodes:*
+## _User Keycodes:_
+
All keyboard specific keycodes are defined in the user_keycodes space, allowing for them to be placed on your keyboard through VIA
```c
enum alt_keycodes {
- U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
+ U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
U_T_AGCR, //USB Toggle Automatic GCR control
DBG_TOG, //DEBUG Toggle On / Off
DBG_MTRX, //DEBUG Toggle Matrix Prints
@@ -21,4 +24,4 @@ enum alt_keycodes {
DBG_MOU, //DEBUG Toggle Mouse Prints
MD_BOOT, //Restart into bootloader after hold timeout
};
-``` \ No newline at end of file
+```
diff --git a/keyboards/massdrop/ctrl/keymaps/via/keymap.c b/keyboards/massdrop/ctrl/keymaps/via/keymap.c
index 6cca86cfac..471dd69aa0 100644
--- a/keyboards/massdrop/ctrl/keymaps/via/keymap.c
+++ b/keyboards/massdrop/ctrl/keymaps/via/keymap.c
@@ -17,7 +17,7 @@
#include QMK_KEYBOARD_H
enum ctrl_keycodes {
- U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
+ U_T_AUTO = QK_KB_0, //USB Extra Port Toggle Auto Detect / Always Active
U_T_AGCR, //USB Toggle Automatic GCR control
DBG_TOG, //DEBUG Toggle On / Off
DBG_MTRX, //DEBUG Toggle Matrix Prints