Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mouse use within send_string #18659

Merged
merged 1 commit into from
Oct 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 22 additions & 14 deletions quantum/send_string/send_string_keycodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,27 +375,35 @@
#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
#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


// Send string macros
#define STRINGIZE(z) #z
Expand Down