-
Notifications
You must be signed in to change notification settings - Fork 179
/
SSDT-Thinkpad_Trackpad.dsl
57 lines (57 loc) · 2.29 KB
/
SSDT-Thinkpad_Trackpad.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Example overrides for Thinkpad models with TrackPad
DefinitionBlock ("", "SSDT", 2, "hack", "ps2", 0)
{
// Change _SB.PCI0.LPC.KBD if your PS2 keyboard is at a different ACPI path
External(_SB.PCI0.LPC.KBD, DeviceObj)
Scope(_SB.PCI0.LPC.KBD)
{
// Select specific configuration in VoodooPS2Trackpad.kext
Method(_SB.PCI0.LPCB.PS2K._DSM, 4)
{
If (!Arg2) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"RM,oem-id", "LENOVO",
"RM,oem-table-id", "Thinkpad_TrackPad",
})
}
// Overrides (the example data here is default in the Info.plist)
Name(_SB.PCI0.LPCB.PS2K.RMCF, Package()
{
"Synaptics TouchPad", Package()
{
"BogusDeltaThreshX", 100,
"BogusDeltaThreshY", 100,
"Clicking", ">y",
"DragLockTempMask", 0x40004,
"DynamicEWMode", ">n",
"FakeMiddleButton", ">n",
"HWResetOnStart", ">y",
//"ForcePassThrough", ">y",
//"SkipPassThrough", ">y",
"PalmNoAction When Typing", ">y",
"ScrollResolution", 800,
"SmoothInput", ">y",
"UnsmoothInput", ">y",
"Thinkpad", ">y",
"DivisorX", 1,
"DivisorY", 1,
"FingerZ", 47,
"MaxTapTime", 100000000,
"MomentumScrollThreshY", 16,
"MouseMultiplierX", 8,
"MouseMultiplierY", 8,
"MouseScrollMultiplierX", 2,
"MouseScrollMultiplierY", 2,
"MultiFingerHorizontalDivisor", 4,
"MultiFingerVerticalDivisor", 4,
"Resolution", 3200,
"ScrollDeltaThreshX", 10,
"ScrollDeltaThreshY", 10,
//"TrackpointScrollYMultiplier", 1, //Change this value to 0xFFFF in order to inverse the vertical scroll direction of the Trackpoint when holding the middle mouse button.
//"TrackpointScrollXMultiplier", 1, //Change this value to 0xFFFF in order to inverse the horizontal scroll direction of the Trackpoint when holding the middle mouse button.
},
})
}
}
//EOF