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

Support for mouse wheel scrolling #103

Open
ccrusius opened this issue Mar 13, 2020 · 1 comment · May be fixed by #104 or mthowe/dvtm#12
Open

Support for mouse wheel scrolling #103

ccrusius opened this issue Mar 13, 2020 · 1 comment · May be fixed by #104 or mthowe/dvtm#12

Comments

@ccrusius
Copy link

Searched on open and closed issues, didn't see this - it would be really nice if I could scroll using the mouse wheel. Hopefully this could be added without too much work.

ccrusius added a commit to ccrusius/dvtm that referenced this issue Mar 13, 2020
Also changes the scrollback() function so that the amount to scroll
can be configured as a fraction of the screen height.

This fixes martanne#103.
cyruseuros pushed a commit to cyruseuros/dvtm that referenced this issue May 28, 2020
Also changes the scrollback() function so that the amount to scroll
can be configured as a fraction of the screen height.

This fixes martanne#103.
@GReagle
Copy link

GReagle commented May 20, 2021

I can get the mouse wheel to work in dvtm by adding these two lines to config.h:

   { BUTTON4_PRESSED, { scrollback,     { "-1" }                    } },
   { BUTTON5_PRESSED, { scrollback,     { "1"  }                    } },

right after the BUTTON3_CLICKED line.

kugurerdem pushed a commit to kugurerdem/dvtm that referenced this issue Dec 31, 2023
Also changes the scrollback() function so that the amount to scroll
can be configured as a fraction of the screen height.

This fixes martanne#103.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants