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

Normalise mouse keycodes #23975

Merged
merged 5 commits into from
Jul 3, 2024
Merged

Conversation

fauxpark
Copy link
Member

@fauxpark fauxpark commented Jun 22, 2024

Description

KC_MS_UP -> QK_MOUSE_CURSOR_UP
KC_MS_U -> MS_UP
KC_MS_DOWN -> QK_MOUSE_CURSOR_DOWN
KC_MS_D -> MS_DOWN
KC_MS_LEFT -> QK_MOUSE_CURSOR_LEFT
KC_MS_L -> MS_LEFT
KC_MS_RIGHT -> QK_MOUSE_CURSOR_RIGHT
KC_MS_R -> MS_RGHT
KC_MS_BTN1 -> QK_MOUSE_BUTTON_1
KC_BTN1 -> MS_BTN1
KC_MS_BTN2 -> QK_MOUSE_BUTTON_2
KC_BTN2 -> MS_BTN2
KC_MS_BTN3 -> QK_MOUSE_BUTTON_3
KC_BTN3 -> MS_BTN3
KC_MS_BTN4 -> QK_MOUSE_BUTTON_4
KC_BTN4 -> MS_BTN4
KC_MS_BTN5 -> QK_MOUSE_BUTTON_5
KC_BTN5 -> MS_BTN5
KC_MS_BTN6 -> QK_MOUSE_BUTTON_6
KC_BTN6 -> MS_BTN6
KC_MS_BTN7 -> QK_MOUSE_BUTTON_7
KC_BTN7 -> MS_BTN7
KC_MS_BTN8 -> QK_MOUSE_BUTTON_8
KC_BTN8 -> MS_BTN8
KC_MS_WH_UP -> QK_MOUSE_WHEEL_UP
KC_WH_U -> MS_WHLU
KC_MS_WH_DOWN -> QK_MOUSE_WHEEL_DOWN
KC_WH_D -> MS_WHLD
KC_MS_WH_LEFT -> QK_MOUSE_WHEEL_LEFT
KC_WH_L -> MS_WHLL
KC_MS_WH_RIGHT -> QK_MOUSE_WHEEL_RIGHT
KC_WH_R -> MS_WHLR
KC_MS_ACCEL0 -> QK_MOUSE_ACCELERATION_0
KC_ACL0 -> MS_ACL0
KC_MS_ACCEL1 -> QK_MOUSE_ACCELERATION_1
KC_ACL1 -> MS_ACL1
KC_MS_ACCEL2 -> QK_MOUSE_ACCELERATION_2
KC_ACL2 -> MS_ACL2

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@drashna drashna requested a review from a team June 24, 2024 07:33
@fauxpark fauxpark merged commit f8596b4 into qmk:develop Jul 3, 2024
7 checks passed
@fauxpark fauxpark deleted the mouse-keycodes-rename branch July 3, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants