Merge "Fix IDC file for Apple Magic Trackpad 2 over Bluetooth" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-03-14 19:35:23 +00:00
committed by Android (Google) Code Review
2 changed files with 37 additions and 4 deletions

View File

@@ -1 +0,0 @@
Vendor_05ac_Product_0265.idc

View File

@@ -0,0 +1,34 @@
# 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.
#
# Apple Magic Trackpad 2 (Bluetooth) configuration file
#
# WHEN MODIFYING, also change the USB file (Vendor_05ac_Product_0265.idc)
#
gestureProp.Pressure_Calibration_Offset = 30
gestureProp.Palm_Pressure = 250.0
gestureProp.Palm_Width = 20.0
gestureProp.Multiple_Palm_Width = 20.0
# Enable Stationary Wiggle Filter
gestureProp.Stationary_Wiggle_Filter_Enabled = 1
gestureProp.Finger_Moving_Energy = 0.0008
gestureProp.Finger_Moving_Hysteresis = 0.0004
# Avoid accidental scroll/move on finger lift
gestureProp.Max_Stationary_Move_Speed = 47
gestureProp.Max_Stationary_Move_Speed_Hysteresis = 1
gestureProp.Max_Stationary_Move_Suppress_Distance = 0.2

View File

@@ -13,9 +13,9 @@
# limitations under the License.
#
# Apple Magic Trackpad 2 configuration file
# Bluetooth vendor ID 004c
# USB vendor ID 05ac
# Apple Magic Trackpad 2 (USB) configuration file
#
# WHEN MODIFYING, also change the Bluetooth file (Vendor_004c_Product_0265.idc)
#
gestureProp.Pressure_Calibration_Offset = 30