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 @@
389#define X_ASSISTANT c0 389#define X_ASSISTANT c0
390 390
391/* Mouse Buttons (unallocated range in HID spec) */ 391/* Mouse Buttons (unallocated range in HID spec) */
392#ifdef VIA_ENABLE 392#define X_MS_UP cd
393#define X_MS_UP f0 393#define X_MS_DOWN ce
394#define X_MS_DOWN f1 394#define X_MS_LEFT cf
395#define X_MS_LEFT f2 395#define X_MS_RIGHT d0
396#define X_MS_RIGHT f3 396#define X_MS_BTN1 d1
397#define X_MS_BTN1 f4 397#define X_MS_BTN2 d2
398#define X_MS_BTN2 f5 398#define X_MS_BTN3 d3
399#define X_MS_BTN3 f6 399#define X_MS_BTN4 d4
400#define X_MS_BTN4 f7 400#define X_MS_BTN5 d5
401#define X_MS_BTN5 f8 401#define X_MS_BTN6 d6
402#define X_MS_BTN6 f8 402#define X_MS_BTN7 d7
403#define X_MS_BTN7 f8 403#define X_MS_BTN8 d8
404#define X_MS_BTN8 f8 404#define X_MS_WH_UP d9
405#define X_MS_WH_UP f9 405#define X_MS_WH_DOWN da
406#define X_MS_WH_DOWN fa 406#define X_MS_WH_LEFT db
407#define X_MS_WH_LEFT fb 407#define X_MS_WH_RIGHT dc
408#define X_MS_WH_RIGHT fc 408#define X_MS_ACCEL0 dd
409#define X_MS_ACCEL0 fd 409#define X_MS_ACCEL1 de
410#define X_MS_ACCEL1 fe 410#define X_MS_ACCEL2 df
411#define X_MS_ACCEL2 ff
412#else
413#define X_MS_UP cd
414#define X_MS_DOWN ce
415#define X_MS_LEFT cf
416#define X_MS_RIGHT d0
417#define X_MS_BTN1 d1
418#define X_MS_BTN2 d2
419#define X_MS_BTN3 d3
420#define X_MS_BTN4 d4
421#define X_MS_BTN5 d5
422#define X_MS_BTN6 d6
423#define X_MS_BTN7 d7
424#define X_MS_BTN8 d8
425#define X_MS_WH_UP d9
426#define X_MS_WH_DOWN da
427#define X_MS_WH_LEFT db
428#define X_MS_WH_RIGHT dc
429#define X_MS_ACCEL0 dd
430#define X_MS_ACCEL1 de
431#define X_MS_ACCEL2 df
432#endif
433
434 411
435// Send string macros 412// Send string macros
436#define STRINGIZE(z) #z 413#define STRINGIZE(z) #z