1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00
x1c6-hackintosh/patches/SSDT-Keyboard.dsl

35 lines
1.2 KiB
Text
Raw Normal View History

/*
* For use with BrightnessKeys.kext, YogaSMC, and VoodooRMI
2020-11-03 11:58:35 -06:00
* https://github.com/zhen-zen/YogaSMC
*
* For more customizations, refer to YogaSMCPrefPane, VoodooRMI's info.plist
* and/or third party software such as BetterTouchTool or Karabiner-Elements.
2020-11-03 11:58:35 -06:00
*/
2020-11-03 11:58:35 -06:00
DefinitionBlock("", "SSDT", 2, "tyler", "_KBD", 0)
{
External (_SB.PCI0.LPCB.KBD, DeviceObj)
Scope (_SB.PCI0.LPCB.KBD)
{
Name(RMCF, Package()
{
"Keyboard", Package()
{
"Custom PS2 Map", Package()
{
Package() { },
"e037=64", // PrtSc = F13
"46=80", // Fn + K = Deadkey
"e045=80", // Fn + P = Deadkey
2021-03-06 20:40:00 -06:00
// (Dep. by YogaSMC) "38=e05b", // Left Alt (mismapped to Left GUI by default) = Left Alt
// (Dep. by YogaSMC) "e038=e05c", // Right Alt (mismapped to Right GUI by default) = Right Alt
// (Dep. by YogaSMC) "e05b=38", // Windows (mismapped to Left Alt by default) = Left GUI
// "1d=80", // Fn + B = Deadkey
// "54=80", // Fn + S = Deadkey
},
},
})
}
}
//EOF