1 Star 0 Fork 0

bravoadmin/OS-X-Voodoo-PS2-Controller

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SSDT-Thinkpad_Clickpad.dsl 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
gfoury 提交于 2019-02-09 13:50 . Typo: UnsmootInput -> UnsmoothInput
// Example overrides for Thinkpad models with ClickPad
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(_DSM, 4)
{
If (!Arg2) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"RM,oem-id", "LENOVO",
"RM,oem-table-id", "Thinkpad_ClickPad",
})
}
// Overrides (the example data here is default in the Info.plist)
Name(RMCF, Package()
{
"Synaptics TouchPad", Package()
{
"BogusDeltaThreshX", 800,
"BogusDeltaThreshY", 800,
"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",
"EdgeBottom", 0,
"FingerZ", 30,
"MaxTapTime", 100000000,
"MouseMultiplierX", 2,
"MouseMultiplierY", 2,
"MouseScrollMultiplierX", 2,
"MouseScrollMultiplierY", 2,
//"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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bravoadmin/OS-X-Voodoo-PS2-Controller.git
git@gitee.com:bravoadmin/OS-X-Voodoo-PS2-Controller.git
bravoadmin
OS-X-Voodoo-PS2-Controller
OS-X-Voodoo-PS2-Controller
master

搜索帮助