- Joined
- Apr 21, 2016
- Messages
- 1,005
- Motherboard
- ASUS X556UA-Clover
- CPU
- i5-6200U
- Graphics
- HD 520,1366x768
- Mobile Phone
I can't do that with the debug version, cause I don't have any key that simulates one of those keys.You can find them by running the debug PS2 kext and looking at the log as you press each one (or by using 'ioio -s ApplePS2Keyboard LogScanCodes 1').
But they have standard codes... see here:
http://www.computer-engineering.org/ps2keyboard/scancodes1.html
So if I look at the page, I can try to patch the DSDT with this:
Code:
into method label _Q6F replace_content
begin
// Play Pause\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x00E0) //PlayPauseKey\n
end;
Code:
into method label _Q6F replace_content
begin
// Play Pause\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0022) //PlayPauseKey\n
end;
Code:
into method label _Q6F replace_content
begin
// Play Pause\n
Notify(\_SB.PCI0.LPCB.PS2K, 0xE022) //PlayPauseKey\n
end;