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

Adds the ability to bind the side mouse buttons #96

Merged
merged 2 commits into from
Nov 10, 2024

Conversation

RutreD
Copy link

@RutreD RutreD commented Nov 9, 2024

Adds the ability to bind the side mouse buttons (XButton1 and XButton2).
image
image

Requires changes in the lua repository
image

@Garanas
Copy link
Member

Garanas commented Nov 9, 2024

Oh, that is exciting! @4z0t are you available to review this?

@4z0t
Copy link
Member

4z0t commented Nov 10, 2024

From first glance it looks ok. But I have some style wise remarks in mind. Such as putting constexpr where it doesn't make sense and making class defined in function.
I also gotta check if it works for other mice (I have 2 to test on) and I'm not sure if this solution is uniform. Because I don't actually know how windows handles special keys beyond standard ones.

@4z0t
Copy link
Member

4z0t commented Nov 10, 2024

section/OnWindowMessage.cpp Outdated Show resolved Hide resolved
section/OnWindowMessage.cpp Outdated Show resolved Hide resolved
@Garanas Garanas merged commit f1df9fa into FAForever:master Nov 10, 2024
1 check passed
4z0t pushed a commit to 4z0t/FA-Binary-Patches that referenced this pull request Nov 11, 2024
Supports the buttons that are identified with `XButton1` and `XButton2`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants