From b2b0756e4e36c70cc33c390df388a2a96f0435be Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 5 Nov 2024 07:52:18 +1000 Subject: [PATCH] zsh: update completion to include latest debug-events options Part-of: --- completion/zsh/_libinput | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/completion/zsh/_libinput b/completion/zsh/_libinput index 10969e8c..27aec92e 100644 --- a/completion/zsh/_libinput +++ b/completion/zsh/_libinput @@ -50,12 +50,15 @@ __all_seats() '--apply-to=[Apply configuration options where the device name matches the pattern]:pattern' \ '--disable-sendevents=[Disable send-events option for the devices matching the pattern]:pattern' \ '--set-area=[Set the desired area as "x1/y1 x2/y2" (within [0.0, 1.0]) ]' \ + '--set-calibration=[Set the first 6 elements of the 3x3 calibration matrix ("1.0 0.0 0.0 0.0 1.0 0.0")]' \ '--set-click-method=[Set the desired click method]:click-method:(none clickfinger buttonareas)' \ '--set-clickfinger-map=[Set button mapping for clickfinger]:tap-map:(( \ lrm\:2-fingers\ right-click\ /\ 3-fingers\ middle-click \ lmr\:2-fingers\ middle-click\ /\ 3-fingers\ right-click \ ))' \ - '--set-profile=[Set pointer acceleration profile]:accel-profile:(adaptive flat)' \ + '--set-pressure-range=[Set the tablet tool pressure range (within range \[0.0, 1.0\])]' \ + '--set-profile=[Set pointer acceleration profile]:accel-profile:(adaptive flat custom)' \ + '--set-rotation-angle=[Set the rotation angle in degrees]' \ '--set-scroll-button=[Set the button to the given button code]' \ '--set-scroll-method=[Set the desired scroll method]:scroll-method:(none twofinger edge button)' \ '--set-speed=[Set pointer acceleration speed (within range \[-1, 1\])]' \ @@ -63,6 +66,10 @@ __all_seats() lrm\:2-fingers\ right-click\ /\ 3-fingers\ middle-click \ lmr\:2-fingers\ middle-click\ /\ 3-fingers\ right-click \ ))' \ + + '(custom pointer acceleration)' \ + '--set-custom-points=[Set n points defining a custom acceleration function]' \ + '--set-custom-step=[Set the distance along the x axis between the custom points]' \ + '--set-custom-type=[Set the type of the acceleration function]:custom-type:(fallback motion scroll)' \ + '(drag)' \ '--enable-drag[Enable tap-and-drag]' \ '--disable-drag[Disable tap-and-drag]' \ -- 2.34.1