Skip to content

fgfg163/k400plus-fn-lock-for-windows

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k400plus-fn-lock-for-windows

Lock Fn keys on K400plus (for windows)

Goal

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.

How to use

Running setFnKeys.exe will lock Fn key till next reboot.
Revert with setMediaKeys.exe to unlock and restore media keys.

How to build

  • 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

Inspiration

code from : https://github.com/keighrim/k810fn/blob/master/win/k810fn/k810fnCLI.cpp
values from : https://github.com/sginne/fn_key_k400_for_logitech/blob/master/disable.py

About

Lock Fn keys on K400+ (for windows)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 100.0%