Last active
August 23, 2019 15:29
-
-
Save imasaru/d125f12d1ee7aedcd037c352b41dea8d to your computer and use it in GitHub Desktop.
Dell Inspion 11 - 3148 Brightness Keys Patch by imasaru (Takahashi on OSXLatitude)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dell Inspion 11 - 3148 Brightness Keys Patch by imasaru | |
# For ELAN/Other keyboard drivers | |
# modified from Rehab’s _Q10 and _Q11 methods patch | |
# Don’t worry if the method’s content shrinks after the patch. That should be expected. | |
into method label _Q1C replace_content | |
begin | |
// Brightness Up\n | |
Notify(PS2K, 0x10)\n | |
end; | |
into method label _Q1D replace_content | |
begin | |
// Brightness Down\n | |
Notify(PS2K, 0x20)\n | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment