summaryrefslogtreecommitdiff
path: root/quantum/send_string
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-05 10:30:09 +0000
committerGitHub <noreply@github.com>2022-11-05 10:30:09 +0000
commita69ab05dd687cb9aa38e0c125e4f64956c7da6c7 (patch)
tree3733805ea012b5bc6ae7dc78dfed9f0f4d942d33 /quantum/send_string
parenta070c4c50134cf274a674ee73227289fde81b8ed (diff)
Initial DD keycode migration (#18643)
* Initial DD keycode migration * Sort magic keycodes
Diffstat (limited to 'quantum/send_string')
-rw-r--r--quantum/send_string/send_string_keycodes.h61
1 files changed, 19 insertions, 42 deletions
diff --git a/quantum/send_string/send_string_keycodes.h b/quantum/send_string/send_string_keycodes.h
index f9e1c101ff..54b8382053 100644
--- a/quantum/send_string/send_string_keycodes.h
+++ b/quantum/send_string/send_string_keycodes.h
@@ -389,48 +389,25 @@
#define X_ASSISTANT c0
/* 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
-#define X_MS_RIGHT f3
-#define X_MS_BTN1 f4
-#define X_MS_BTN2 f5
-#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
-#define X_MS_WH_UP f9
-#define X_MS_WH_DOWN fa
-#define X_MS_WH_LEFT fb
-#define X_MS_WH_RIGHT fc
-#define X_MS_ACCEL0 fd
-#define X_MS_ACCEL1 fe
-#define X_MS_ACCEL2 ff
-#else
-#define X_MS_UP cd
-#define X_MS_DOWN ce
-#define X_MS_LEFT cf
-#define X_MS_RIGHT d0
-#define X_MS_BTN1 d1
-#define X_MS_BTN2 d2
-#define X_MS_BTN3 d3
-#define X_MS_BTN4 d4
-#define X_MS_BTN5 d5
-#define X_MS_BTN6 d6
-#define X_MS_BTN7 d7
-#define X_MS_BTN8 d8
-#define X_MS_WH_UP d9
-#define X_MS_WH_DOWN da
-#define X_MS_WH_LEFT db
-#define X_MS_WH_RIGHT dc
-#define X_MS_ACCEL0 dd
-#define X_MS_ACCEL1 de
-#define X_MS_ACCEL2 df
-#endif
-
+#define X_MS_UP cd
+#define X_MS_DOWN ce
+#define X_MS_LEFT cf
+#define X_MS_RIGHT d0
+#define X_MS_BTN1 d1
+#define X_MS_BTN2 d2
+#define X_MS_BTN3 d3
+#define X_MS_BTN4 d4
+#define X_MS_BTN5 d5
+#define X_MS_BTN6 d6
+#define X_MS_BTN7 d7
+#define X_MS_BTN8 d8
+#define X_MS_WH_UP d9
+#define X_MS_WH_DOWN da
+#define X_MS_WH_LEFT db
+#define X_MS_WH_RIGHT dc
+#define X_MS_ACCEL0 dd
+#define X_MS_ACCEL1 de
+#define X_MS_ACCEL2 df
// Send string macros
#define STRINGIZE(z) #z