Skip to content

darragh0/zornher-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zornher-linux

License: MIT xremap Tested: Fedora 42 Compositor agnostic

xremap configs to fix the F-row on Zornher mechanical keyboards. Provides a software Fn-lock via ScrollLock to toggle between F-keys and media actions.

Why

  • Fixed F-row: F-row always sends fixed media HID codes (e.g. F1 key -> KEY_BRIGHTNESSDOWN); no mechanism to send function keys
  • No Hardware Fn-lock: Fn key is firmware-internal and never reaches the OS

Models

Model Config
ZH870 configs/zh870.yml

Warning

Even within the same model, firmware revisions may emit different scancodes. If keys behave differently, verify yours with evtest and adjust the modmap block.

PRs for other models welcome - see CONTRIBUTING.md.

Install (via Cargo)

cargo install xremap
sudo install -Dm755 ~/.cargo/bin/xremap /usr/local/bin/xremap
sudo install -Dm644 configs/<keyboard-model>.yml /etc/xremap/config.yml
sudo install -Dm644 systemd/xremap.service /etc/systemd/system/xremap.service
sudo systemctl enable --now xremap

ScrollLock toggles Fn-lock: press once for real F1-F12; again for media (does not have to be ScrollLock; can be other keys).

Customise

Edit the keymap block. See media-keys-ref.md for KEY_* codes.

Tested

License

MIT.

About

xremap configs to fix function key row on Zornher mechanical keyboards w/ software fn-lock

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors