Lock Fn keys on K380 (for windows)
This program locks the fn key for the Logitech K380 bluetooth keyboard on Windows. Having the F1-F12 without pressing the Fn key is nice for developers.
I wanted a simple way to do the same as the Logitech Options/Options+ softwares WITHOUT their continuously running processes.
Precompiled binaries available here : https://github.com/dheygere/k380-fn-lock-for-windows/releases/tag/v1.0.0
Running setFnKeys.exe
will lock Fn key till next reboot.
Revert with setMediaKeys.exe
to unlock and restore media keys.
- prerequisite : install mingw
- build setFnKeys.exe with :
gcc main.c -o dist/setFnKeys.exe -I hidapi/include -L hidapi/x86 -lhidapi
- build setMediaKeys.exe with :
gcc main.c -D setMediaKeys -o dist/setMediaKeys.exe -I hidapi/include -L hidapi/x86 -lhidapi
code from : https://github.com/keighrim/k810fn/blob/master/win/k810fn/k810fnCLI.cpp
values from : https://github.com/jergusg/k380-function-keys-conf/blob/master/k380_conf.c