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

Commit 815cba7f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Scale PS4/PS5 controller touchpad input" into main

parents c33762ca 38515f5e
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ sensor.gyroscope.power = 0.8
# fingers, it prevents tapping to click because it thinks the finger's moving
# too fast.
#
# Since this touchpad doesn't seem to have to drumroll issues, we can safely
# Since this touchpad doesn't seem to have drumroll issues, we can safely
# disable drumroll detection.
gestureProp.Drumroll_Suppression_Enable = 0

@@ -60,3 +60,11 @@ gestureProp.Drumroll_Suppression_Enable = 0
# from the palm classifier to increase the usable area of the pad.
gestureProp.Palm_Edge_Zone_Width = 0
gestureProp.Tap_Exclusion_Border_Width = 0

# Touchpad is small, scale up the pointer movements to make it more practical
# to use.
gestureProp.Point_X_Out_Scale = 2.5
gestureProp.Point_Y_Out_Scale = 2.5

# TODO(b/351326684): Ideally "Scroll X Out Scale" and "Scroll Y Out Scale"
# should be adjusted as well. Currently not supported in IDC files.
+8 −0
Original line number Diff line number Diff line
@@ -60,3 +60,11 @@ gestureProp.Drumroll_Suppression_Enable = 0
# from the palm classifier to increase the usable area of the pad.
gestureProp.Palm_Edge_Zone_Width = 0
gestureProp.Tap_Exclusion_Border_Width = 0

# Touchpad is small, scale up the pointer movements to make it more practical
# to use.
gestureProp.Point_X_Out_Scale = 2.5
gestureProp.Point_Y_Out_Scale = 2.5

# TODO(b/351326684): Ideally "Scroll X Out Scale" and "Scroll Y Out Scale"
# should be adjusted as well. Currently not supported in IDC files.
+31 −0
Original line number Diff line number Diff line
# Copyright 2024 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.

#
# Sony Playstation(R) DualSense 5 Controller
#

## Touchpad ##

# Because of the way this touchpad is positioned, touches around the edges are
# no more likely to be palms than ones in the middle, so remove the edge zones
# from the palm classifier to increase the usable area of the pad.
gestureProp.Palm_Edge_Zone_Width = 0
gestureProp.Tap_Exclusion_Border_Width = 0

gestureProp.Point_X_Out_Scale = 2.0
gestureProp.Point_Y_Out_Scale = 2.0

# TODO(b/351326684): Ideally "Scroll X Out Scale" and "Scroll Y Out Scale"
# should be adjusted as well. Currently not supported in IDC files.
+31 −0
Original line number Diff line number Diff line
# Copyright 2024 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.

#
# Sony Playstation(R) DualSense Edge 5 Controller
#

## Touchpad ##

# Because of the way this touchpad is positioned, touches around the edges are
# no more likely to be palms than ones in the middle, so remove the edge zones
# from the palm classifier to increase the usable area of the pad.
gestureProp.Palm_Edge_Zone_Width = 0
gestureProp.Tap_Exclusion_Border_Width = 0

gestureProp.Point_X_Out_Scale = 2.0
gestureProp.Point_Y_Out_Scale = 2.0

# TODO(b/351326684): Ideally "Scroll X Out Scale" and "Scroll Y Out Scale"
# should be adjusted as well. Currently not supported in IDC files.