Skip to content

Commit b2b52a8

Browse files
committed
Initial commit
0 parents  commit b2b52a8

13 files changed

+781
-0
lines changed

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# k780-fn-lock-for-windows
2+
Lock Fn keys on K780 (for windows)
3+
4+
## Goal
5+
This program locks the fn key for the Logitech K780 bluetooth keyboard on Windows.
6+
Having the F1-F12 without pressing the Fn key is nice for developers.
7+
8+
I wanted a simple way to do the same as the Logitech Options/Options+ softwares WITHOUT their continuously running processes.
9+
10+
## Download
11+
Precompiled binaries available here :
12+
https://github.com/dheygere/k780-fn-lock-for-windows/releases
13+
14+
## How to use
15+
Running `setFnKeys.exe` will lock Fn key till next reboot.
16+
Revert with `setMediaKeys.exe` to unlock and restore media keys.
17+
18+
## How to build
19+
- prerequisite : install mingw
20+
- build setFnKeys.exe with :
21+
`gcc main.c -o dist/setFnKeys.exe -I hidapi/include -L hidapi/x86 -lhidapi`
22+
- build setMediaKeys.exe with :
23+
`gcc main.c -D setMediaKeys -o dist/setMediaKeys.exe -I hidapi/include -L hidapi/x86 -lhidapi`
24+
25+
# Inspiration
26+
code from : https://github.com/keighrim/k810fn/blob/master/win/k810fn/k810fnCLI.cpp
27+
values from : @daiday https://github.com/dheygere/k380-fn-lock-for-windows/issues/3

dist/k780-fn-lock-for-windows.zip

35.8 KB
Binary file not shown.

dist/setFnKeys.exe

46.5 KB
Binary file not shown.

dist/setMediaKeys.exe

46.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)