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 input configuration options #3415

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Add input configuration options #3415

merged 1 commit into from
Jun 7, 2024

Conversation

AlanGriffiths
Copy link
Collaborator

@AlanGriffiths AlanGriffiths commented Jun 5, 2024

   --mouse-acceleration arg              Select acceleration profile for mice 
                                         and trackballs [none, adaptive]
   --mouse-cursor-acceleration-bias arg  Constant factor (+1) to velocity or 
                                         bias to the acceleration curve within 
                                         the range [-1.0, 1.0] for mice
   --mouse-scroll-speed-scale arg        Scales mice scroll events, use negative
                                         values for natural scrolling
   --touchpad-disable-while-typing arg   Disable touchpad while typing on 
                                         keyboard configuration [true, false]
   --touchpad-tap-to-click arg           Enable or disable tap-to-click on this 
                                         device, with a default mapping of 1, 2,
                                         3 finger tap mapping to left, right, 
                                         middle click, respectively [true, 
                                         false]
   --touchpad-cursor-acceleration-bias arg
                                         Constant factor (+1) to velocity or 
                                         bias to the acceleration curve within 
                                         the range [-1.0, 1.0] for touchpads
   --touchpad-scroll-speed-scale arg     Scales touchpad scroll events, use 
                                         negative values for natural scrolling
   --touchpad-scroll-mode arg            Select scroll mode for touchpads: 
                                         [edge, two-finger, button-down]
   --touchpad-click-mode arg             Select click mode for touchpads: 
                                         [{area, finger-count}]

@AlanGriffiths AlanGriffiths requested a review from a team as a code owner June 5, 2024 14:13
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.31%. Comparing base (0613d64) to head (2bea04a).
Report is 448 commits behind head on main.

Files with missing lines Patch % Lines
src/miral/input_device_config.cpp 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3415      +/-   ##
==========================================
+ Coverage   77.27%   77.31%   +0.04%     
==========================================
  Files        1075     1074       -1     
  Lines       68401    68402       +1     
==========================================
+ Hits        52854    52886      +32     
+ Misses      15547    15516      -31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Saviq
Copy link
Collaborator

Saviq commented Jun 5, 2024

Could we tell what the defaults are?

@AlanGriffiths
Copy link
Collaborator Author

Could we tell what the defaults are?

Not until the input system starts and libinput can report what the devices and their defaults are.

Copy link
Collaborator

@Saviq Saviq left a comment

Choose a reason for hiding this comment

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

Yay, my zapper tests will now work on Frame! (because I can turn mouse acceleration off)

@Saviq Saviq added this pull request to the merge queue Jun 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 7, 2024
@AlanGriffiths AlanGriffiths added this pull request to the merge queue Jun 7, 2024
Merged via the queue into main with commit 9c643d3 Jun 7, 2024
36 of 37 checks passed
@AlanGriffiths AlanGriffiths deleted the input-configuration branch June 7, 2024 16:52
@AlanGriffiths AlanGriffiths mentioned this pull request Sep 9, 2024
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