summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-03-24 19:39:16 +0000
committerQMK Bot <hello@qmk.fm>2021-03-24 19:39:16 +0000
commitb515651febbafeea3c2c296227c283896e4a2eb0 (patch)
treef18b924497a00d6e4ea9efad2c09c4267fd7ee4f /quantum
parent0dc0516f0c38ce1eb5e7e2ec2a69b743c33e9ce6 (diff)
parentb7870ae78cadf9a77316e0c004e8db0cbbba581e (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r--quantum/send_string_keycodes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/quantum/send_string_keycodes.h b/quantum/send_string_keycodes.h
index 1e8a8e9ff5..7017e03d5a 100644
--- a/quantum/send_string_keycodes.h
+++ b/quantum/send_string_keycodes.h
@@ -362,6 +362,7 @@
#define X_BRIGHTNESS_DOWN be
/* Mouse Buttons (unallocated range in HID spec) */
+#ifdef VIA_ENABLE
#define X_MS_UP f0
#define X_MS_DOWN f1
#define X_MS_LEFT f2
@@ -371,6 +372,23 @@
#define X_MS_BTN3 f6
#define X_MS_BTN4 f7
#define X_MS_BTN5 f8
+#define X_MS_BTN6 f8
+#define X_MS_BTN7 f8
+#define X_MS_BTN8 f8
+#else
+#define X_MS_UP ed
+#define X_MS_DOWN ee
+#define X_MS_LEFT ef
+#define X_MS_RIGHT f0
+#define X_MS_BTN1 f1
+#define X_MS_BTN2 f2
+#define X_MS_BTN3 f3
+#define X_MS_BTN4 f4
+#define X_MS_BTN5 f5
+#define X_MS_BTN6 f6
+#define X_MS_BTN7 f7
+#define X_MS_BTN8 f8
+#endif
#define X_MS_WH_UP f9
#define X_MS_WH_DOWN fa
#define X_MS_WH_LEFT fb