diff options
| author | Joel Challis <git@zvecr.com> | 2022-10-10 02:00:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-09 18:00:26 -0700 |
| commit | 9d43cc319c5928a595d38f92e8d80c5af29f54c3 (patch) | |
| tree | 9db2fe50f9760bd183899e0b0ad8f419242fd43c /quantum/send_string/send_string_keycodes.h | |
| parent | d6d6cdcb4faf5a17ab35f562be6e750fb1c2dc89 (diff) | |
Fix mouse use within send_string (#18659)
Diffstat (limited to 'quantum/send_string/send_string_keycodes.h')
| -rw-r--r-- | quantum/send_string/send_string_keycodes.h | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/quantum/send_string/send_string_keycodes.h b/quantum/send_string/send_string_keycodes.h index 802d9a8240..12e4cf83d2 100644 --- a/quantum/send_string/send_string_keycodes.h +++ b/quantum/send_string/send_string_keycodes.h | |||
| @@ -375,20 +375,6 @@ | |||
| 375 | #define X_MS_BTN6 f8 | 375 | #define X_MS_BTN6 f8 |
| 376 | #define X_MS_BTN7 f8 | 376 | #define X_MS_BTN7 f8 |
| 377 | #define X_MS_BTN8 f8 | 377 | #define X_MS_BTN8 f8 |
| 378 | #else | ||
| 379 | #define X_MS_UP ed | ||
| 380 | #define X_MS_DOWN ee | ||
| 381 | #define X_MS_LEFT ef | ||
| 382 | #define X_MS_RIGHT f0 | ||
| 383 | #define X_MS_BTN1 f1 | ||
| 384 | #define X_MS_BTN2 f2 | ||
| 385 | #define X_MS_BTN3 f3 | ||
| 386 | #define X_MS_BTN4 f4 | ||
| 387 | #define X_MS_BTN5 f5 | ||
| 388 | #define X_MS_BTN6 f6 | ||
| 389 | #define X_MS_BTN7 f7 | ||
| 390 | #define X_MS_BTN8 f8 | ||
| 391 | #endif | ||
| 392 | #define X_MS_WH_UP f9 | 378 | #define X_MS_WH_UP f9 |
| 393 | #define X_MS_WH_DOWN fa | 379 | #define X_MS_WH_DOWN fa |
| 394 | #define X_MS_WH_LEFT fb | 380 | #define X_MS_WH_LEFT fb |
| @@ -396,6 +382,28 @@ | |||
| 396 | #define X_MS_ACCEL0 fd | 382 | #define X_MS_ACCEL0 fd |
| 397 | #define X_MS_ACCEL1 fe | 383 | #define X_MS_ACCEL1 fe |
| 398 | #define X_MS_ACCEL2 ff | 384 | #define X_MS_ACCEL2 ff |
| 385 | #else | ||
| 386 | #define X_MS_UP cd | ||
| 387 | #define X_MS_DOWN ce | ||
| 388 | #define X_MS_LEFT cf | ||
| 389 | #define X_MS_RIGHT d0 | ||
| 390 | #define X_MS_BTN1 d1 | ||
| 391 | #define X_MS_BTN2 d2 | ||
| 392 | #define X_MS_BTN3 d3 | ||
| 393 | #define X_MS_BTN4 d4 | ||
| 394 | #define X_MS_BTN5 d5 | ||
| 395 | #define X_MS_BTN6 d6 | ||
| 396 | #define X_MS_BTN7 d7 | ||
| 397 | #define X_MS_BTN8 d8 | ||
| 398 | #define X_MS_WH_UP d9 | ||
| 399 | #define X_MS_WH_DOWN da | ||
| 400 | #define X_MS_WH_LEFT db | ||
| 401 | #define X_MS_WH_RIGHT dc | ||
| 402 | #define X_MS_ACCEL0 dd | ||
| 403 | #define X_MS_ACCEL1 de | ||
| 404 | #define X_MS_ACCEL2 df | ||
| 405 | #endif | ||
| 406 | |||
| 399 | 407 | ||
| 400 | // Send string macros | 408 | // Send string macros |
| 401 | #define STRINGIZE(z) #z | 409 | #define STRINGIZE(z) #z |
