Home » Keyboard Reviews » Custom & DIY Keyboards » Keyboard Software & Firmware » Vial Keyboard Guide: What Vial Is and How It Compares With VIA and QMK

Vial Keyboard Guide: What Vial Is and How It Compares With VIA and QMK

By Published

Quick answer

A Vial keyboard is a keyboard running a QMK-based firmware built for Vial, which lets you change keys, layers, macros, tap dance and combos live in the free Vial app (Windows, macOS, Linux) or in a Chromium browser at vial.rocks. Changes are saved on the keyboard, so you don’t compile code or reflash for ordinary remaps.

Vial vs VIA: they are separate projects that need matching firmware. A board with Vial firmware works with Vial; a board with VIA firmware works with VIA. Vial vs QMK: Vial is a fork of QMK plus a GUI, so you get QMK’s features without writing C.

Graphic summarising Vial keyboards: QMK-based firmware with a free app, live remapping, layers, macros, tap dance and combos, and a requirement for Vial firmware
Vial is a free app plus QMK-based firmware that lets you change your keymap without compiling code.

If you have seen “Vial” in a keyboard listing and wondered how it relates to QMK and VIA, you are not alone. All three are connected, and the names are easy to mix up. This guide explains what Vial is, how it differs from the other two, how to use it, and how to put Vial firmware on a keyboard yourself. If you want the background first, start with our QMK vs VIA explainer.

What is Vial?

According to the project’s own website, Vial is an open-source, cross-platform GUI and a QMK fork for configuring your keyboard in real time. It has two halves:

  • Vial firmware (the vial-qmk repository) is a fork of QMK, tracking the main QMK code with a small number of changes.
  • The Vial app (vial-gui) is a desktop program for Windows, macOS and Linux. There is also Vial Web at vial.rocks, which runs in the browser.

Everything is public on GitHub under the vial-kb organisation, and the app is released under the GPL-2.0 licence. The download page lists the current release as a beta (version 0.7.5 when we checked), so expect the occasional rough edge.

The idea is simple. You plug in a keyboard that already has Vial firmware, open the app, click a key, pick a new function, and the change is saved to the keyboard immediately. Because the layout lives in the keyboard, it follows the board to any computer.

Vial vs VIA vs QMK

These three are layers of the same stack, not three competing apps.

FeatureQMKVIAVial
What it isOpen-source keyboard firmwareA live remapping app that works with QMK firmware that has VIA supportQMK-based firmware plus its own live remapping app
How you change keysEdit the keymap, compile, flashClick a key in the app or browserClick a key in the app or browser
Where the keyboard definition comes fromNot needed for typingA JSON file held in VIA’s keyboards repository, or loaded by handA vial.json file added when the firmware is built
Extras in the appEverything, in codeEveryday remaps, layers and macrosLayers, macros, tap dance, combos, Alt Repeat Key and QMK settings
Learning curveHighestLowLow
Firmware neededQMKQMK with VIA enabledVial firmware

Two points from that table matter most:

  • The firmware and the app have to match. Vial’s own guide says a keyboard needs a dedicated firmware for Vial. Without it, the Vial app will not work or may have limited functions. The same is true in reverse: a board set up for VIA needs the VIA app. Check which one your keyboard supports before you buy.
  • Vial’s app exposes more QMK features. Tap dance, combos and QMK timing settings are normally things you would add by editing code. Vial puts them in the app. Our QMK vs VIA guide explains what those features do.

If you want to compare with the other app, see how to use VIA.

How do you know if your keyboard supports Vial?

  • Check the product page. Look for “Vial” by name. Many boards advertised as Vial-compatible ship with the firmware already installed.
  • Check the repository. The Vial guide says to look in the vial-qmk keyboards folder: if your keyboard has a keymap folder named “vial”, it has been ported. If it doesn’t, the keyboard has not been ported yet, or the firmware may be available somewhere else.
  • Ask the maker. If you only have a precompiled firmware, ask the maker for a Vial version, or for the source code.

Hot-swap alone has nothing to do with firmware, and a “QMK” label doesn’t prove Vial support either. Our guide for choosing a custom build lists beginner kits if you are shopping for a board.

How to use a Vial keyboard

  1. Pick the app. Download the desktop app from the Vial website: a Windows installer or portable build, a macOS disk image, or a Linux AppImage. Or open vial.rocks in Chrome, Edge or another Chromium browser. Vial Web uses the browser’s WebHID feature to talk to the keyboard, so Firefox, Safari and phone browsers won’t work.
  2. Plug in the keyboard with a data-capable USB cable. On Linux, you also need a udev rule before the app can see it (the Vial docs give a one-line command for this).
  3. Open the app and select the keyboard. In Vial Web, click Start Vial, choose your keyboard in the browser’s list and connect. The desktop app finds it automatically.
  4. Click a key in the top palette, then pick its new function from the palette below.
  5. That’s it. The change is saved to the keyboard straight away and works immediately.

Layers

Layers change what every key does while you hold or toggle a layer key, like the Fn key on a laptop. Vial documents these layer keys:

  • MO(layer) turns a layer on only while you hold the key.
  • TG(layer) toggles a layer on or off.
  • TO(layer) switches to a layer and turns the others off.
  • TT(layer) works as a hold, or as a toggle if you tap it repeatedly.
  • OSL(layer) turns on a layer until the next key press.
  • LT gives you a layer when held and a normal key when tapped.
  • DF and PDF set the default layer, either until power is lost or persistently.

By default Vial supports four layers, though firmware builders can change that. The triangle symbols on upper layers mean “transparent”, so the key does whatever the layer below it does. Our keyboard layers explainer shows how compact keyboards use them.

Macros, tap dance and combos

  • Macros send a sequence of key actions. Vial lists 16 by default, and you can add actions by hand or record them. Our guide to keyboard macros covers uses and game rules.
  • Tap dance gives one key different actions depending on how you press it: tap, hold, double tap, or tap then hold. Vial’s example is a key that sends Left GUI when tapped and turns on layer 1 when held.
  • Combos trigger an action when several keys are pressed together within a short window. Vial’s example is that pressing + and Backspace sends Delete.

How many tap dances and combos you get depends on your keyboard’s memory, and firmware builders can change it.

Unlocking your keyboard

Vial boots a keyboard in a locked state, so a program on your computer can’t silently change sensitive settings. According to Vial’s security notes, macro changes, jumping to the bootloader and assigning the reset keycode are blocked while the keyboard is locked. To unlock it, choose Security → Unlock in the app, then hold the keys shown on screen until the progress bar fills. Re-lock it by unplugging it or choosing Security → Lock. Only unlock on a computer you trust.

How to flash Vial firmware

Most people will never need to do this, because Vial boards come with the firmware installed. If you have a compatible board that doesn’t, the Vial guide describes this route:

  1. Set up the QMK build environment by following QMK’s own guide.
  2. Clone the vial-qmk repository into its own folder, outside any existing QMK folder, and run the submodule step.
  3. Check you are using the right repository. The guide says `qmk env` should list your vial-qmk folder, not a regular qmk_firmware one.
  4. Flash the vial keymap with a command in the form `qmk flash -kb -km vial`. This only works if your keyboard has been ported to Vial.
  5. Put the keyboard into bootloader (DFU) mode first. QMK’s flashing guide lists the common methods, but the right one differs by board, so use your maker’s instructions.

Flashing replaces your keyboard’s firmware. Use the firmware made for your exact board and layout, don’t unplug the keyboard while it flashes, and check your warranty first. If you are unsure, ask the keyboard’s maker or the Vial community before you start.

Common problems

ProblemLikely causeWhat to try
App doesn’t see the keyboardKeyboard doesn’t have Vial firmware, or a charge-only cableCheck that the board supports Vial; use a data cable
Vial Web won’t startBrowser without WebHIDUse Chrome, Edge or another Chromium browser
Linux doesn’t detect itMissing udev ruleAdd the Vial udev rule from the docs
Can’t edit macrosKeyboard is lockedUse Security → Unlock and hold the keys shown
Layer key stuckNo way back on the new layerPut a layer key on that layer, or unplug the keyboard

For basic remapping without a special keyboard, our guide to remapping keys covers built-in tools on Windows, Mac and Chromebook.

FAQ

What is a Vial keyboard?

A Vial keyboard is a keyboard with QMK-based firmware built for Vial. It lets you change keys, layers, macros, tap dance and combos live in the Vial app or in a Chromium browser, and it stores the changes on the keyboard.

Is Vial the same as VIA?

No. They’re separate projects with separate apps. Both let you remap a QMK-based keyboard without compiling code, but a board needs firmware made for the app you use. Vial firmware works with Vial, and VIA firmware works with VIA.

Is Vial better than VIA?

It depends on the keyboard. Vial’s app puts more QMK features, such as tap dance, combos and QMK settings, in the interface. VIA supports more boards. The better choice is usually the one your keyboard supports.

Do I need to know how to code to use Vial?

No. Everyday remapping, layers and macros are all done by clicking in the app. You only need the command line if you flash Vial firmware yourself.

Can I use Vial on a Mac or Linux?

Yes. The desktop app runs on Windows, macOS and Linux, and Vial Web works in Chrome and Edge. On Linux you also need to add a udev rule so the app can talk to the keyboard.

Is Vial safe?

It’s open source, and it includes a lock so that software on your computer can’t change macros or flash new firmware without you holding keys on the keyboard. Only unlock it on a computer you trust, and only flash firmware from a source you trust.

Is a Vial keyboard right for you?

Choose a Vial board if you like to tweak your layout and want tap dance or combos without learning to code. If you just want to move a few keys, VIA or even built-in operating system tools are enough. Either way, check the firmware before you buy, and keep a note of your layout so you can restore it.

Sources

Leave a Comment