Skip to content

About

Native Linux, Windows & macOS driver/configurator for FGG MADLIONS MAD68 HE, MAD60 HE, FIRE68 & DuckBread (0x373B) Hall-Effect keyboards — Rapid Trigger, Actuation, SOCD/Snap Tap, RGB, Keymap & Macros. Offline desktop alternative to the web driver.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

MAD68 HE Studio — Native Driver & Configurator for MADLIONS MAD68 / MAD60 HE (Linux, Windows, macOS)

Download Latest Release Build Platforms Rust

Download & Installation · Features · Supported Keyboards · FAQ & Troubleshooting · Türkçe (TR)

MAD68 HE Studio is a fast, native, offline desktop driver and configurator software for FGG MADLIONS MAD68 HE, MAD68 HE RGB, MAD60 HE, FIRE68, and compatible DuckBread (VID 0x373B) Hall-Effect magnetic keyboards on Linux, Windows, and macOS.

Built from scratch in pure Rust + eframe/egui (GPU-accelerated UI), it serves as a lightweight offline desktop alternative to the browser-based MADLIONS WebHID web driver—with zero Electron, Python, Qt, or browser dependency, and no kernel driver installation on any OS.


Download & Installation

Download prebuilt binaries from GitHub Releases:

  • Linux (x86_64): mad68-studio-linux-x86_64.tar.gz
  • Windows 10 / 11 (x86_64): mad68-studio-windows-x86_64.zip
  • macOS 11+ Universal (Apple Silicon & Intel): mad68-studio-macos-universal.zip

Platform Support & Setup

Platform HID Backend Setup / Permissions Status
Linux Direct /dev/hidraw + sysfs (zero extra C/HID deps) Click udev Kuralını Kur inside the app, or run sudo ./udev/install_udev.sh once Verified on real hardware
Windows 10 / 11 Pure-Rust hidapi (windows-native) No driver install needed — extract & run mad68-studio.exe. If SmartScreen prompts on unsigned .exe, click More info → Run anyway Build & UI verified under Wine; awaiting real Windows hardware test
macOS 11+ (Intel & Apple Silicon) hidapi (IOKit, shared non-exclusive open) First launch: right-click → Open (unsigned .app). Grant Privacy & Security → Input Monitoring if prompted Built in CI; no real hardware test yet

Settings & Profiles Directory:

  • Linux: ~/.config/mad68-linux/
  • Windows: %APPDATA%\MAD68 HE Studio\
  • macOS: ~/Library/Application Support/MAD68 HE Studio/

Features

  • Hall-Effect Performance & Actuation (0.10–3.50 mm): Per-key or multi-key actuation point tuning, Rapid Trigger (independent press/release sensitivity), Dead Band adjustment, and a real-time 0.0–3.5 mm live key-travel oscilloscope.
  • Competitive Advanced Keys (SOCD / Snap Tap / DKS): 16 slots for SOCD / Rappy Snappy (RS) / OKS (including one-click A+D Snap Tap), Tap Dance (MT), and Dynamic Keystroke (DKS).
  • RGB Lighting & Studio Color Picker: 21 built-in lighting effects via a clean dropdown selector, per-key RGB painting, studio HSV/hex color picker, side strip (Box Light) controls, and a live interactive MAD68 HE RGB keyboard preview.
  • Experimental Hardware Brightness BOOST: The manufacturer's web driver caps brightness at 210. Enabling Donanım BOOST unlocks the 211–500 slider range to drive real hardware brightness up to 255 (~21% brighter LED output) and scales RGB color channels on colored effects:
    • Never writes > 210 to onboard flash (Flash Kaydet saves a safe <= 210 copy first, then re-applies live boost; reconnecting re-applies boost safely).
    • Reads brightness back from the keyboard after applying; if firmware rejects > 210, BOOST disables itself automatically and notifies you.
    • Auto-disables if the keyboard disconnects from USB within 6 seconds (power limit / reset protection).
  • Keymap, Macros & Hardware Toggles: 4-layer QMK keymap editor, tail-preserving macro editor, hardware switches (WASD ↔ Arrows, Mac mode, Win lock, NKRO / 6KRO, Game mode, bottom optimization), and local JSON profiles (profiles/).
  • Clean Flat Dark UI: Lightweight Rust + egui desktop interface (#111113 canvas, #2CE07F single mint accent, underlined navigation tabs, vertically scrollable tab panels, and a collapsible visual keyboard stage).

Supported Keyboards (VID 0x373B)

Works with DuckBread (0x373B) controller keyboards across the MAD68, MAD60, MAD63, FIRE68, Z60/Z68, and MAG68 families (any unrecognized 0x373B DuckBread PID is also detected automatically):

Family Model USB PID Bootloader PID Verification
65% / 68-key MAD68 HE RGB 0x1058 0x2024 Hardware verified
65% / 68-key MAD68 HE 0x1057 0x2023 PID table
65% / 68-key MAD68 HE Ultra 0x1059 0x2025 PID table
65% / 68-key MAD68 HE Limited 0x105A 0x2026 PID table
65% / 68-key MAD68 R 0x10A7 0x204E PID table
65% / 68-key MAD68 Pro 0x10D6 0x2075 PID table
65% / 68-key MAD68 HE V2 0x1123 0x210E PID table
65% / 68-key MAD Light 68 HE 0x1144 0x212D PID table
65% / 68-key Z68 0x1136 0x2121 PID table
65% / 68-key MAG68 0x1139 0x2124 PID table
65% / 68-key FIRE68 0x10A3 / 0x10A9 0x204A / 0x2050 PID table
65% / 68-key FIRE68 Pro 0x10AA 0x2051 PID table
65% / 68-key FIRE68 Ultra 0x10A4 / 0x10AB 0x204B / 0x2052 PID table
60% / 63-key MAD60 HE 0x1053 0x201F Hardware verified
60% / 63-key MAD60 HE RGB 0x1054 0x2020 PID table
60% / 63-key MAD60 HE Ultra 0x1055 0x2021 PID table
60% / 63-key MAD60 HE Limited 0x1056 0x2022 PID table
60% / 63-key MAD60 Pro 0x10AD 0x2053 PID table
60% / 63-key MAD60 HE V2 0x1120 0x210B PID table
60% / 63-key MAD Light 60 HE 0x10F6 0x2085 PID table
60% / 63-key MAD63 HE 0x110B 0x2102 PID table
60% / 63-key Z60 0x112A 0x2115 PID table
Macropad MAD Smart 0x107D 0x2035 PID table

Build from Source

# Run unit tests
cargo test

# Build release binary
cargo build --release

# Read-only hardware probe
./target/release/mad68-studio --probe

# Launch GUI configurator
./target/release/mad68-studio

Cross-compiling for Windows from Linux (mingw-w64 required):

cargo build --release --target x86_64-pc-windows-gnu

GitHub Actions CI & Releases

  • Every push to main: runs Linux tests and builds the Linux .tar.gz artifact.
  • Actions → build → Run workflow or pushing a v* tag (e.g., git tag v0.3.0 && git push --tags): builds Linux .tar.gz, Windows .zip (.exe), and macOS universal .app (.zip).
  • Pushing a v* tag automatically publishes a GitHub Release with all three platform packages attached.

FAQ & Troubleshooting

Is this an offline alternative to the MADLIONS web driver / WebHID hub?
Yes. It communicates directly with the keyboard's 0xFF60 / 0x61 Vendor Raw HID interface over USB (hidraw on Linux, hidapi on Windows/macOS), so you don't need Chrome/Chromium WebHID or an internet connection.

Linux shows "İzin Gerekli (udev)" / permission denied on /dev/hidraw* — how do I fix it?
Click the udev Kuralını Kur button inside the app, or run sudo ./udev/install_udev.sh and replug the keyboard. That installs udev/68-mad68he.rules so non-root users can configure 0x373B devices.

Does it install any kernel driver?
No. It operates strictly in user space over standard OS HID APIs.

Is Hardware Brightness BOOST safe for my keyboard's flash memory?
Yes — Flash Save never writes brightness values above 210 to flash. Higher values (211–255 hardware / 211–500 UI slider) are only applied live in RAM while connected, with firmware readback and a 6-second USB disconnect safety guard.


Türkçe — MAD68 HE Sürücü ve Kontrol Yazılımı

MAD68 HE Studio, FGG MADLIONS MAD68 HE, MAD68 HE RGB, MAD60 HE, FIRE68 ve 0x373B DuckBread kontrolcülü manyetik Hall-Effect klavyeler için Linux, Windows ve macOS üzerinde çalışan yerel, çevrimdışı (offline) masaüstü driver / kontrol yazılımıdır.

Tarayıcı / WebHID tabanlı üretici web sürücüsüne hızlı bir yerel alternatiftir. Tamamen Rust + eframe/egui ile yazılmıştır; Python, Qt veya Electron gerektirmez ve hiçbir işletim sisteminde çekirdek sürücüsü kurmaz.

İndirme ve Kurulum

Hazır derlenmiş paketleri GitHub Releases sayfasından indirebilirsiniz:

  • Linux (x86_64): mad68-studio-linux-x86_64.tar.gz — İlk kullanımda uygulama içindeki udev Kuralını Kur düğmesine basın veya sudo ./udev/install_udev.sh komutunu çalıştırın (gerçek donanımda test edildi).
  • Windows 10 / 11 (x86_64): mad68-studio-windows-x86_64.zip — Ek sürücü gerekmez, .exe dosyasını çalıştırın. İmzasız olduğu için SmartScreen uyarısında Ek bilgi → Yine de çalıştır seçin (derleme ve arayüz Wine'da doğrulandı; gerçek Windows donanım testi bekliyor).
  • macOS 11+ (Intel & Apple Silicon): mad68-studio-macos-universal.zip — İlk açılışta .app üzerine sağ tık → Aç (imzasız); istenirse Gizlilik ve Güvenlik → Giriş İzleme iznini verin (CI'da derlenir; gerçek donanım testi yok).

Ayarlar ve profiller klasörü: Linux ~/.config/mad68-linux/, Windows %APPDATA%\MAD68 HE Studio\, macOS ~/Library/Application Support/MAD68 HE Studio/.

Özellikler

  • Hall-Effect Performans & Rapid Trigger: Tuş bazlı veya çoklu seçimle 0.10–3.50 mm tetikleme noktası, Rapid Trigger (basma/bırakma hassasiyeti), Dead Band ve 0.0–3.5 mm canlı sensör osiloskopu.
  • Gelişmiş Tuşlar: 16 slot SOCD / Rappy Snappy (RS) / OKS (+ tek tık A+D Snap Tap), Tap Dance (MT) ve DKS.
  • RGB Aydınlatma & Tuş Boyama: Açılır listeden seçilen 21 RGB efekti, tuş bazlı boyama, stüdyo renk seçici, yan şerit (Box Light) kontrolü ve etkileşimli MAD68 HE RGB klavye önizlemesi.
  • Donanım BOOST (Deneysel): Web sürücüsünün 210 parlaklık sınırını canlı olarak 255'e kadar artırır (211–500 kaydırıcı aralığı, ≈ %21 daha yüksek parlaklık). Flash Kaydet her zaman önce <= 210 güvenli kopya yazar, firmware geri okuması yapar ve 6 sn içinde USB düşmesi olursa kendini kapatır.
  • Tuş Atama, Makro ve Profiller: 4 katmanlı QMK tuş atama, kuyruk korumalı makrolar, donanım anahtarları (WASD ↔ Ok, Mac modu, Win kilidi, NKRO/6KRO, oyun modu), yerel JSON profilleri ve sade düz koyu arayüz (#111113 zemin, #2CE07F tek vurgu rengi, alt çizgili sekmeler, dikey kaydırılabilir paneller).

Kaynak Koddan Derleme

cargo test
cargo build --release
./target/release/mad68-studio --probe
./target/release/mad68-studio

About

Native Linux, Windows & macOS driver/configurator for FGG MADLIONS MAD68 HE, MAD60 HE, FIRE68 & DuckBread (0x373B) Hall-Effect keyboards — Rapid Trigger, Actuation, SOCD/Snap Tap, RGB, Keymap & Macros. Offline desktop alternative to the web driver.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages