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

Add map to region options for tablets #3425

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Add map to region options for tablets #3425

merged 2 commits into from
Sep 27, 2023

Conversation

Isoheptane
Copy link
Contributor

@Isoheptane Isoheptane commented Sep 25, 2023

Describe your PR, what does it fix/add?

Added support for mapping tablet input to a region in output layout.
Besides, this PR also added:

  • Functions for getting/setting Vector2D variables
  • 2 variables for tablet devices: region_position and region_size

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

Mapping will be reserved after region_position and region_size variables are removed from the configuration file. Unplug and replug tablet will solve this problem.

Is it ready for merging, or does it need work?

Ready

src/managers/input/InputManager.cpp Outdated Show resolved Hide resolved
src/managers/input/InputManager.cpp Outdated Show resolved Hide resolved
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. Wiki mr please :)

@Isoheptane
Copy link
Contributor Author

nice. Wiki mr please :)

Wiki MR:
hyprwm/hyprland-wiki#355

@vaxerski vaxerski merged commit 6d7dc70 into hyprwm:main Sep 27, 2023
10 checks passed
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.

None yet

2 participants