1# Copyright 2023 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# 16# Apple Magic Trackpad 17# 18 19gestureProp.Touchpad_Stack_Version = 1 20# We are using raw touch major value as pressure value, so set the Palm 21# pressure threshold high. 22gestureProp.Palm_Pressure = 1000 23gestureProp.Compute_Surface_Area_from_Pressure = 0 24gestureProp.IIR_b0 = 1 25gestureProp.IIR_b1 = 0 26gestureProp.IIR_b2 = 0 27gestureProp.IIR_b3 = 0 28gestureProp.IIR_a1 = 0 29gestureProp.IIR_a2 = 0 30# NOTE: bias on X-axis is uncalibrated 31gestureProp.Touchpad_Device_Output_Bias_on_X-Axis = -283.3226025266607 32gestureProp.Touchpad_Device_Output_Bias_on_Y-Axis = -283.3226025266607 33gestureProp.Max_Allowed_Pressure_Change_Per_Sec = 100000.0 34gestureProp.Max_Hysteresis_Pressure_Per_Sec = 100000.0 35# Drumroll suppression causes janky movement on this touchpad. 36gestureProp.Drumroll_Suppression_Enable = 0 37gestureProp.Two_Finger_Vertical_Close_Distance_Thresh = 35.0 38gestureProp.Fling_Buffer_Suppress_Zero_Length_Scrolls = 0 39