Skip to content

Commit

Permalink
Sony DualShock 4: disable palm edge zones
Browse files Browse the repository at this point in the history
Bug: 272518665
Test: compare responsiveness of pad edges with and without the change
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d969570a63feda83aadec3fb720587bdd44b9d2d)
Merged-In: I3c44dc74ecb740c0b598623f60b0727cd6ce383a
Change-Id: I3c44dc74ecb740c0b598623f60b0727cd6ce383a
  • Loading branch information
HarryCutts authored and Android Build Coastguard Worker committed Mar 26, 2024
1 parent ce3473c commit 5843daa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/keyboards/Vendor_054c_Product_05c4.idc
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ sensor.gyroscope.power = 0.8
# disable drumroll detection due to speed changes (by setting the speed change
# threshold very high, since there's no boolean control property).
gestureProp.Drumroll_Max_Speed_Change_Factor = 1000000000

# 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
6 changes: 6 additions & 0 deletions data/keyboards/Vendor_054c_Product_09cc.idc
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ sensor.gyroscope.power = 0.8
# disable drumroll detection due to speed changes (by setting the speed change
# threshold very high, since there's no boolean control property).
gestureProp.Drumroll_Max_Speed_Change_Factor = 1000000000

# 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

0 comments on commit 5843daa

Please sign in to comment.