Skip to content

About

Linux configurator for the Yenkee YKB 30 Odyssey keyboard – lighting, per-key colours, key remapping, macros, profiles (CZ/EN)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

55 Commits

Folders and files

Repository files navigation

KeyBoardLight icon

KeyBoardLight

Linux configurator for the Yenkee YKB 30 Odyssey, AULA WIN68 HE and Keychron K10 HE keyboards – lighting effects, per-key colours, key remapping, macros, Hall-effect switch settings and profiles. No Windows, no Wine, everything is stored in the keyboard itself.

Linuxová aplikace pro nastavení klávesnic Yenkee YKB 30 Odyssey, AULA WIN68 HE a Keychron K10 HE – efekty podsvícení, barvy jednotlivých kláves, přemapování kláves, makra, nastavení magnetických spínačů a profily. Bez Windows a bez Wine, vše se ukládá přímo do klávesnice. Česky níže ↓

screenshot

Features

Lighting all 20 hardware effects, brightness, speed, direction, colour, rainbow – only the controls that apply to the chosen effect are shown
Per-key colours click/drag to paint keys, any RGB colour, per-key brightness 0–100 % (selected keys or the whole keyboard)
Edge light the underglow strip around the case: 6 effects or off, shown in the preview
Demo mode without a connected keyboard the lighting page still works as an animated preview (nothing is written)
Key mode Windows/Linux or Mac (Alt and Win swapped) – same as Fn+A / Fn+S, shown live
Keys remap any key to another key (with Ctrl/Shift/Alt/Win), a multimedia function, a macro, or disable it
Macros record from the keyboard, type text (aware of your system keyboard layout via libxkbcommon), mouse clicks, delays; play once / while held / toggle / N times; read the macros back from the keyboard
Profiles save named presets (e.g. Day, Night) and switch with one click or keyboardlight --profile Night (bind it to a hotkey or a timer)
Knob the knob always changes volume (fixed in firmware); one click under More makes Ctrl + knob change the screen brightness (KDE Plasma)
AULA WIN68 HE lighting effects, per-key colours, per-key actuation point and rapid trigger (sensitivity), SOCD pairs, automatic backup of the original settings and one-click restore, profiles
Keychron K10 HE lighting, per-key colours, colour zones; magnetic switches: 3 profiles, actuation point / rapid trigger per key, DKS (up to 4 keys by press depth), toggle, SOCD, game controller (axes, buttons, response curve), live press test, calibration; 4-layer key map, macros; wireless sleep times; full backup and firmware update – see Keychron K10 HE
Battery battery level shown in the app: Odyssey and Keychron over Bluetooth (BLE Battery Service), Keychron with the KeyBoardLight firmware also over the cable and the 2.4 GHz receiver
Auto-detect detects which keyboard is connected (cable, 2.4 GHz receiver, Bluetooth) at start and while running, and switches to the right settings
Languages English and Czech (follows the system language, switchable under More)
Safety every write is verified by reading it back; each area is backed up before the first write (~/.local/share/keyboardlight/backups/)

Connect the keyboard by USB cable (switch on the bottom on TYP-C) or through its 2.4 GHz USB receiver (switch on 2.4G). Over Bluetooth the keyboard cannot be configured – but everything you set is stored in the keyboard, so it keeps working over Bluetooth too.

Install

CachyOS / Arch Linux – installer (recommended)

Download install.sh from Releases and run it:

sh install.sh

It updates the system, installs the dependencies (PyQt6), downloads the latest package and installs it. If anything fails (e.g. failed to download because of outdated mirrors) it tells you exactly what to do.

CachyOS / Arch Linux – ready-made package

Download the latest keyboardlight-*-any.pkg.tar.zst from Releases and install it:

sudo pacman -Syu                                   # update first – avoids "failed to download" of dependencies
sudo pacman -U keyboardlight-*-any.pkg.tar.zst

CachyOS / Arch Linux – build from source

git clone https://github.com/brbla/keyboardlight.git
cd keyboardlight/packaging/arch
makepkg -si

Then unplug and re-plug the keyboard and start KeyBoardLight from the application menu. The package installs a udev rule (/usr/lib/udev/rules.d/70-keyboardlight.rules) that gives the logged-in user access to the keyboard – no root needed afterwards.

Run from source (any distribution)

Requirements: Python ≥ 3.10, PyQt6, libxkbcommon.

sudo cp udev/70-keyboardlight.rules /etc/udev/rules.d/
sudo udevadm control --reload && sudo udevadm trigger   # then re-plug the keyboard
./keyboardlight.sh

Command line

keyboardlight --list-profiles
keyboardlight --profile Night        # apply a saved profile without opening the window

Supported hardware

Keyboard USB ID Status
Yenkee YKB 30 Odyssey (Telink, 75 %, 82 keys) – USB cable 320f:5055 ✅ supported
Yenkee YKB 30 Odyssey – 2.4 GHz USB receiver 320f:5088 ✅ supported
Yenkee YKB 30 Odyssey – Bluetooth – ❌ no configuration channel (settings stored in the keyboard still apply)
Evision Kreo Hive and other boards with 320f:5055 320f:5055 likely works (same OEM board), untested
AULA WIN68 HE (Hall-effect, Standard edition) 2e3c:c365 ✅ lighting effects, per-key colours, per-key actuation point + rapid trigger, SOCD, automatic backup + restore of the original settings
Keychron K10 HE (ANSI) – USB cable 3434:0ea0 ✅ supported (stock or KeyBoardLight firmware)
Keychron K10 HE – Keychron Link 2.4 GHz receiver 3434:d030 ✅ with the KeyBoardLight firmware only (the stock firmware does not answer over the receiver)
Keychron K10 HE – Bluetooth – battery level and the terminal highlighter only; no configuration channel over Bluetooth

Keychron K10 HE

Keychron keyboards run open-source QMK firmware, so the app talks to the stock firmware directly (VIA + Keychron protocol): lighting, per-key colours, Hall-effect profiles, key map and macros work over the USB cable.

The optional KeyBoardLight firmware (brbla/keychron-qmk-keyboardlight, branch keyboardlight, based on Keychron's 2025q3) adds:

  • lighting modes Day / Night / Learning (finger colours for touch typing), switched with Ctrl + ☀ or in the app
  • turning off the Win/Mac and Caps/Num indicator LEDs, tinting the letters while Caps Lock / the numpad while Num Lock is on
  • per-key brightness, a faster live press test, the battery level in the app
  • configuration through the 2.4 GHz receiver (Keychron's stock firmware has this path but it cannot be compiled in – fix submitted as Keychron/qmk_firmware#549)
  • the terminal highlighter (below)

Firmware updates go through Backup and firmware in the app (or tools/keychron_flash.py): the whole keyboard memory is backed up first, the KeyBoardLight firmware switches to the bootloader by itself and keeps all settings, and the key map and macros are restored automatically if the new build reset them. Never use Esc + plug-in (bootmagic) – it erases the settings and the switch calibration.

Terminal highlighter

keyboardlight --watch -- COMMAND runs a command and, when it asks [Y/n], [A/n], (yes/no) or (ano/ne), lights the answer keys: yes green, no red, the default answer blinks together with Enter, the rest is dimmed. Any key press returns the normal lighting; password prompts are left alone. The checkbox in Lighting → Indicators (or keyboardlight --install-shell) wraps pacman, paru, yay, sudo, apt, dnf, zypper and brew in fish, zsh and bash. Over Bluetooth the question is passed through the Kana/Compose keyboard LEDs, so Y or A, N and Enter light up without blinking (needs the udev rule).

Troubleshooting

  • Keyboard stays dark although the app shows a lighting setting (Fn + Del does nothing): the firmware sometimes keeps the backlight asleep after switching from battery to cable. Unplug the cable, move the switch to 2.4G and back to TYP-C, plug the cable in again.
  • Keyboard not found: use the cable (switch TYP-C) or the 2.4 GHz receiver (switch 2.4G) – Bluetooth cannot be used for configuration. After installing from source, re-plug the keyboard so the udev rule applies.
  • Keychron over the 2.4 GHz receiver does not answer: the stock Keychron firmware cannot be configured through the receiver – use the cable, or install the KeyBoardLight firmware.

How it works

The Odyssey protocol was reverse-engineered on Linux (usbmon captures, a webcam watching the LEDs, and static analysis of the vendor Windows app). It is documented in docs/odyssey-protocol.md: 64-byte HID reports (report ID 4) on interface 1 – lighting block, per-key colours, default/active key map, macro block and key-assignment encoding. Helper scripts used during the research are in tools/.

Not affiliated with Yenkee / FAST ČR, AULA or Keychron. Use at your own risk – although every write is verified and backed up, this is unofficial software talking to the keyboard firmware.

Development

python -m pytest tests          # unit tests (no keyboard needed)
KEYBOARDLIGHT_LANG=en ./keyboardlight.sh

Roadmap: docs/PLAN.md.


Česky

Co umí

  • Podsvícení: všech 20 efektů klávesnice, jas, rychlost, směr, barva, duha. Zobrazují se jen volby, které má u daného efektu smysl měnit.

  • Barvy jednotlivých kláves: klikáním nebo tažením obarvíte klávesy libovolnou barvou, jas 0–100 % pro vybrané klávesy nebo celou klávesnici.

  • Klávesy: přemapování na jinou klávesu (i s Ctrl/Shift/Alt/Win), multimediální funkci, makro, nebo vypnutí klávesy.

  • Makra: nahrávání z klávesnice, vložení textu (podle rozložení klávesnice v systému, např. česká QWERTZ), kliknutí myší, prodlevy; přehrát jednou / při držení / přepínač / N-krát.

  • Profily: uložené předvolby (např. Den, Noc) a přepínání jedním kliknutím nebo příkazem keyboardlight --profile Noc.

  • Baterie: když je klávesnice připojená přes Bluetooth, aplikace ukazuje stav baterie.

  • Knoflík: otáčení mění vždy hlasitost (dáno firmwarem); jedním tlačítkem na stránce Další nastavíte, že Ctrl + knoflík mění jas obrazovky (KDE Plasma).

Keychron K10 HE

  • Podsvícení, barvy kláves, barevné zóny; magnetické spínače: 3 profily, bod sepnutí a rapid trigger po klávesách, DKS (až 4 klávesy podle hloubky stisku), přepínač, SOCD, herní ovladač (osy, tlačítka, křivka), živý test stisku, kalibrace; mapa kláves ve 4 vrstvách, makra; uspávání bez kabelu; úplná záloha a nahrání firmwaru.
  • S továrním firmwarem funguje kabelem. Firmware KeyBoardLight (brbla/keychron-qmk-keyboardlight) navíc umí režimy Den / Noc / Učení (Ctrl + ☀), vypnutí kontrolek Win/Mac a Caps/Num, podbarvení písmen při Caps Lock, jas jednotlivých kláves, stav baterie, nastavování přes 2,4GHz přijímač a zvýrazňování otázek v terminálu.
  • Zvýrazňování otázek: při [Y/n], [A/n], (yes/no), (ano/ne) v terminálu svítí souhlas zeleně, nesouhlas červeně, výchozí odpověď bliká s Enterem. Zapíná se v Osvětlení → Kontrolky. Funguje kabelem, přes přijímač i přes Bluetooth (tam bez blikání).
  • Firmware nahrávejte jen z aplikace (Záloha a firmware) – nejdřív se zazálohuje celá paměť a nastavení zůstane. Nikdy nepoužívejte Esc při zapojení kabelu: smaže nastavení i kalibraci spínačů.

Instalace na CachyOS / Arch – instalátor (doporučeno) Stáhněte install.sh z Releases a spusťte:

sh install.sh

Aktualizuje systém, doinstaluje závislosti (PyQt6), stáhne nejnovější balíček a nainstaluje ho. Když něco selže (např. failed to download kvůli zastaralým zrcadlům), napíše přesně, co udělat.

Hotový balíček ručně: stáhněte keyboardlight-*-any.pkg.tar.zst z Releases a spusťte sudo pacman -Syu (aktualizace – předejde chybě „failed to download“) a pak sudo pacman -U keyboardlight-*-any.pkg.tar.zst. Nebo ze zdrojů: git clone https://github.com/brbla/keyboardlight.git && cd keyboardlight/packaging/arch && makepkg -si Pak klávesnici odpojte a znovu připojte a spusťte KeyBoardLight z nabídky aplikací. Klávesnici připojte kabelem (přepínač vespod na TYP-C) nebo přes USB přijímač 2,4 GHz (přepínač na 2.4G). Přes Bluetooth nastavovat nejde, ale vše, co nastavíte, je uložené v klávesnici a funguje i přes Bluetooth.

Klávesnice nesvítí, i když je vše nastavené a nepomáhá ani Fn + Del? Odpojte kabel, přepněte přepínač na 2.4G a zpět na TYP-C a kabel znovu zapojte (firmware se po přepnutí z baterie na kabel občas zasekne).

Aplikace není oficiálním produktem firem Yenkee / FAST ČR, AULA ani Keychron.

About

Linux configurator for the Yenkee YKB 30 Odyssey keyboard – lighting, per-key colours, key remapping, macros, profiles (CZ/EN)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages