Skip to content

Commit

Permalink
Disable Command and Option swap by default
Browse files Browse the repository at this point in the history
closes #35
  • Loading branch information
vit9696 committed Dec 6, 2020
1 parent 096f654 commit 1052e19
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ VoodooPS2 Changelog

#### v2.1.9
- Disabled PrntScr remap by default, see `SSDT-PrtSc-Remap.dsl` for example to re-enable it
- Disabled Command and Option remap by default, see `SSDT-Swap-CommandOption.dsl` for example to re-enable it

#### v2.1.8
- Added support for receiving input form other kexts
Expand Down
14 changes: 14 additions & 0 deletions Docs/ACPI/SSDT-Swap-CommandOption.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// This sample shows how to remap the Command and Option.
DefinitionBlock ("", "SSDT", 2, "ACDT", "ps2", 0)
{
External (_SB_.PCI0.LPCB.PS2K, DeviceObj)

Name(_SB.PCI0.LPCB.PS2K.RMCF, Package()
{
"Keyboard", Package()
{
"Swap command and option", ">y",
}
})
}
//EOF
2 changes: 1 addition & 1 deletion Docs/ACPI/SSDT-Swap-LeftControlCommand.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "ps2", 0)
},
})
}
//EOF
//EOF
2 changes: 1 addition & 1 deletion Docs/ACPI/SSDT-Thinkpad_Trackpad.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "ps2", 0)
})
}
}
//EOF
//EOF
2 changes: 2 additions & 0 deletions VoodooPS2Controller.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
CE7F451522E8A8FE003F7971 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
CE7F451622E8A906003F7971 /* LICENSE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = SOURCE_ROOT; };
CE8DA1C4251839B2008C44E8 /* libkmod.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libkmod.a; path = MacKernelSDK/Library/x86_64/libkmod.a; sourceTree = "<group>"; };
CEA35504257C6E3500E17556 /* SSDT-Swap-CommandOption.dsl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "SSDT-Swap-CommandOption.dsl"; sourceTree = "<group>"; };
ED1C95C51F9B88EF00CAFCA3 /* SSDT-PrtSc-Remap.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "SSDT-PrtSc-Remap.dsl"; sourceTree = "<group>"; };
ED48777A207D94BC00D6B1E8 /* SSDT-AlternateSwipes.dsl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "SSDT-AlternateSwipes.dsl"; sourceTree = "<group>"; };
ED5759741D44FBA50069DF9F /* SSDT-KEY-DELL-WN09.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "SSDT-KEY-DELL-WN09.dsl"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -321,6 +322,7 @@
EDD970FD1FD0B826004CCFFD /* SSDT-HP-FixLidSleep.dsl */,
ED5759741D44FBA50069DF9F /* SSDT-KEY-DELL-WN09.dsl */,
ED1C95C51F9B88EF00CAFCA3 /* SSDT-PrtSc-Remap.dsl */,
CEA35504257C6E3500E17556 /* SSDT-Swap-CommandOption.dsl */,
EDB891282041BB12004DB536 /* SSDT-Swap-LeftControlCapsLock.dsl */,
EDAD29471FE8772400A93537 /* SSDT-Swap-LeftControlCommand.dsl */,
EDD95559208E2B640031D99E /* SSDT-Thinkpad_Clickpad.dsl */,
Expand Down
2 changes: 1 addition & 1 deletion VoodooPS2Keyboard/VoodooPS2Keyboard-Breakless-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<key>Swap capslock and left control</key>
<false/>
<key>Swap command and option</key>
<true/>
<false/>
<key>Use ISO layout keyboard</key>
<false/>
<key>alt_handler_id</key>
Expand Down
2 changes: 1 addition & 1 deletion VoodooPS2Keyboard/VoodooPS2Keyboard-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
<key>Swap capslock and left control</key>
<false/>
<key>Swap command and option</key>
<true/>
<false/>
<key>Use ISO layout keyboard</key>
<false/>
<key>alt_handler_id</key>
Expand Down
2 changes: 1 addition & 1 deletion VoodooPS2Keyboard/VoodooPS2Keyboard-RemapFN-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<key>Swap capslock and left control</key>
<false/>
<key>Swap command and option</key>
<true/>
<false/>
<key>Use ISO layout keyboard</key>
<false/>
<key>alt_handler_id</key>
Expand Down

0 comments on commit 1052e19

Please sign in to comment.