Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98de418d authored by Harry Cutts's avatar Harry Cutts Committed by Automerger Merge Worker
Browse files

Merge "Revert^2 "Add device-specific tunings for external touchpads"" into...

Merge "Revert^2 "Add device-specific tunings for external touchpads"" into udc-dev am: 013916d9 am: 0b39cecf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21986565



Change-Id: I472bb394122530a93cf2cf15ed46c875cd3a5525
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ecd0006a 0b39cecf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Vendor_05ac_Product_0265.idc
 No newline at end of file
+22 −0
Original line number Diff line number Diff line
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Brydge Touchpad
#

# Reports from this touchpad sometimes get bunched together due to Bluetooth
# batching, leading to bad timestamps that mess up finger velocity calculations.
# To fix this, set a fake delta using the touchpad's known report rate.
gestureProp.Fake_Timestamp_Delta = 0.010
+32 −0
Original line number Diff line number Diff line
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Logitech Wireless Touchpad
#

gestureProp.Touchpad_Stack_Version = 1
gestureProp.IIR_b0 = 1
gestureProp.IIR_b1 = 0
gestureProp.IIR_b2 = 0
gestureProp.IIR_b3 = 0
gestureProp.IIR_a1 = 0
gestureProp.IIR_a2 = 0
gestureProp.Pressure_Calibration_Offset = -313.240741792594
gestureProp.Pressure_Calibration_Slope = 4.39678062436752
gestureProp.Max_Allowed_Pressure_Change_Per_Sec = 100000.0
gestureProp.Max_Hysteresis_Pressure_Per_Sec = 100000.0
gestureProp.Palm_Pressure = 100000.0
gestureProp.Two_Finger_Vertical_Close_Distance_Thresh = 35.0
gestureProp.Fling_Buffer_Suppress_Zero_Length_Scrolls = 0
+31 −0
Original line number Diff line number Diff line
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Logitech T650
#

gestureProp.Touchpad_Stack_Version = 1
gestureProp.IIR_b0 = 1
gestureProp.IIR_b1 = 0
gestureProp.IIR_b2 = 0
gestureProp.IIR_b3 = 0
gestureProp.IIR_a1 = 0
gestureProp.IIR_a2 = 0
gestureProp.Pressure_Calibration_Offset = -0.439288351750068
gestureProp.Pressure_Calibration_Slope = 3.05998553523335
gestureProp.Max_Allowed_Pressure_Change_Per_Sec = 100000.0
gestureProp.Max_Hysteresis_Pressure_Per_Sec = 100000.0
gestureProp.Two_Finger_Vertical_Close_Distance_Thresh = 35.0
gestureProp.Fling_Buffer_Suppress_Zero_Length_Scrolls = 0
+24 −0
Original line number Diff line number Diff line
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Logitech TK820
#

gestureProp.Touchpad_Stack_Version = 2
# Pressure jumps around a lot on this touchpad, so allow that:
gestureProp.Max_Allowed_Pressure_Change_Per_Sec = 100000.0
gestureProp.Max_Hysteresis_Pressure_Per_Sec = 100000.0
gestureProp.Pressure_Calibration_Offset = -18.8078435
gestureProp.Pressure_Calibration_Slope = 2.466208137
Loading