Contribute
Register

New VoodooPS2Controller, Keyboard, Trackpad

Feartech

Moderator
Joined
Aug 3, 2013
Messages
12,268
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,252
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Feb 28, 2011
Messages
47
Mobile Phone
iOS
Good afternoon. I am also using VoodeooPS2controller for my Compaq keyboard.

https://www.amazon.com/gp/product/B003IRD94G/?tag=tonymacx86com-20


It has a Sleep button. But I'm struggling to disable it because it's near my Escape key. I keep hitting Sleep when I try hitting Escape.

I have tried to adjust my Info.plist as such. In particular, the key code for sleep being E0 3F, but it seems to have no effect. Is this the correct section to modify for VoodooPS2Keyboard?

<key>Default</key>
<dict>
<key>ActionSwipeDown</key>
<string>3b d, 37 d, 7d d, 7d u, 37 u, 3b u</string>
<key>ActionSwipeLeft</key>
<string>3b d, 37 d, 7b d, 7b u, 37 u, 3b u</string>
<key>ActionSwipeRight</key>
<string>3b d, 37 d, 7c d, 7c u, 37 u, 3b u</string>
<key>ActionSwipeUp</key>
<string>3b d, 37 d, 7e d, 7e u, 37 u, 3b u</string>
<key>Breakless PS2</key>
<array>
<string>;Items must be strings in the form of breaklessscan (in hex)</string>
</array>
<key>Custom ADB Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=adbto (in hex)</string>
</array>
<key>Custom PS2 Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=scanto (in hex)</string>
<string>e027=0;disable discrete fnkeys toggle</string>
<string>e028=0;disable discrete trackpad toggle</string>
<string>e03f=0;disable discrete sleep key</string>
</array>
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,252
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Good afternoon. I am also using VoodeooPS2controller for my Compaq keyboard.

https://www.amazon.com/gp/product/B003IRD94G/?tag=tonymacx86com-20


It has a Sleep button. But I'm struggling to disable it because it's near my Escape key. I keep hitting Sleep when I try hitting Escape.

I have tried to adjust my Info.plist as such. In particular, the key code for sleep being E0 3F, but it seems to have no effect. Is this the correct section to modify for VoodooPS2Keyboard?
You should be using ACPI (eg. do all your customizations to the keymap in an SSDT).
Refer to examples (*.dsl) in the github repo.
 
Joined
Jan 29, 2018
Messages
38
Motherboard
ASUS Zenbook UX330UAK
CPU
i7-7500U
Graphics
Integrated Intel HD Graphics 620
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Is there a way to swap ALT + L to ALT + Q by using VoodooPS2Keyboard.kext? My German keyboard has the @ on ALT + Q. Currently @ works on ALT + L.

385764

I was able to swap the buttons ^< with this ssdt.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "ps2", 0)
{
        Name(_SB.PCI0.LPCB.PS2K.RMCF, Package()
    {
        "Keyboard", Package()
        {
            "Swap command and option", ">n",
            "Custom ADB Map", Package()
            {
                Package(){},
                "29=a",    // Taste ^
                "56=32",    // Taste <
             },
       },
    })
}
Key 38=37 is ALT
Key 26=25 is L
Key 10=c is Q

I tried "3810=25" but that did not work.
 
Last edited:
Joined
Jan 29, 2018
Messages
38
Motherboard
ASUS Zenbook UX330UAK
CPU
i7-7500U
Graphics
Integrated Intel HD Graphics 620
Mac
iMac, MacBook Pro
Mobile Phone
iOS
Hello @RehabMan ,
Thanks you for your feedback and your very good work for Hackintosh.

SSDT Post 2077 and my Asus_Zenbook.keylayout work great with the German keyboard.
I only wanted to know if there is a second option with your kext.
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,252
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hello @RehabMan ,
Thanks you for your feedback and your very good work for Hackintosh.

SSDT Post 2077 and my Asus_Zenbook.keylayout work great with the German keyboard.
I only wanted to know if there is a second option with your kext.
Each key can be remapped via ACPI (it is the kext that reads the data in your SSDT).
 
Top