Skip to content

mouse: Add the Back/Foreward Mouse Buttons#906

Open
RobLoach wants to merge 2 commits intoImmediate-Mode-UI:masterfrom
RobLoach:mouse-buttons
Open

mouse: Add the Back/Foreward Mouse Buttons#906
RobLoach wants to merge 2 commits intoImmediate-Mode-UI:masterfrom
RobLoach:mouse-buttons

Conversation

@RobLoach
Copy link
Contributor

@RobLoach RobLoach commented Mar 6, 2026

Found I wanted to allow use of the back/forward 4/5 butons on the mouse.

@RobLoach RobLoach changed the title input: Add Back/Foreward Mouse buttons mouse: Add the Back/Foreward Mouse Buttons Mar 6, 2026
@sleeptightAnsiC
Copy link
Contributor

sleeptightAnsiC commented Mar 6, 2026

What these will be used for? Asking out of curiosity.

You may want to add an example usage somewhere to demo/common/overview.c, just to have some place to test these. You could also add one for NK_BUTTON_MIDDLE and NK_BUTTON_DOUBLE in order to address #848 at the same time. I could quickly write this and send you a diff, if you're interested.

EDIT: Also, how about other backends? Pretty sure most of them support mouse 4/5

@RobLoach
Copy link
Contributor Author

RobLoach commented Mar 6, 2026

Mostly for nuklear_console to allow going back in the menu. Do have to figure out a history in it though. https://github.com/RobLoach/nuklear_console/

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.

2 participants