Gladuin / fn-hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fn-hook

Utility to customise the features that the "Fn and Function keys" driver for certain Lenovo laptops provides.

Features

  • Customize what program the "s star" button launches (without useless menu like the one Lenovo provides)
  • Customize what OSD popups show up

Usage

  1. Install this version of the "Fn and Function keys" driver | (link to .cab)
  2. Install Visual C++ Redistributable 2015
  3. Extract the latest .zip from the releases page somewhere
    • (OPTIONAL) Your antivirus will probably detect injector.exe as a virus, because of the way it works. If this is the case, add the extracted folder to your antiviruses' exceptions.
  4. Run injector.exe

If you want the injector to start on boot, run add_to_startup.bat.

The config doesn't get reloaded until you re-inject hook.dll, so while injector.exe is still running run reload.bat to reload your changed config.

Notes

I've only tested this with a Lenovo IdeaPad 5 Pro 14ACN6, but it should work fine on any laptop that the "Fn and Function keys" v2.0.0.0 driver works properly on.

About

License:MIT License


Languages

Language:C++ 55.2%Language:C 39.8%Language:Batchfile 4.9%