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

[Scene2d.ui] Adding support for horizontal scrolling (touch pad and touch screen) #6154

Merged
merged 2 commits into from Oct 13, 2020

Commits on Sep 12, 2020

  1. Adding support for horizontal scrolling (touch pad and touch screen)

    Also, adding support for devices which report fractional scrolling
    amounts. E.g. a mouse with a continuous mouse wheel, or a Mac touch
    pad. This is currently only supported in lwjgl3. It can probably be
    added to android and maybe to gwt.
    
    InputProcessor scrolled method now receives scroll amount for X and
    Y. Changed type to float to support devices which report fractional
    scroll amounts. Keeping the original scroll method of InputProcessor
    for backward compatibility.  Updated InputEvent in scene2d
    accordingly: added scrollAmountX, scrollAmountY attributes and
    corresponding setters and getters.
    
    Input event queue can receive float scrolling values.
    
    Updated backends accordingly: lwjgl, lwjgl3, android and gwt.
    Julien Pauty committed Sep 12, 2020
    Copy the full SHA
    53190a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Copy the full SHA
    9ac5a59 View commit details
    Browse the repository at this point in the history