Skip to content

Instantly share code, notes, and snippets.

@imasaru
Last active August 23, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imasaru/d125f12d1ee7aedcd037c352b41dea8d to your computer and use it in GitHub Desktop.
Save imasaru/d125f12d1ee7aedcd037c352b41dea8d to your computer and use it in GitHub Desktop.
Dell Inspion 11 - 3148 Brightness Keys Patch by imasaru (Takahashi on OSXLatitude)
# 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