Giter Club home page Giter Club logo

qmk2via's Introduction

QMK to VIA Layout converter

This tool uses a QMK keyboard folder to generate the JSON file necessary to load your keyboard into VIA. It also allows you to reverse engineer the KLE layout from the same QMK keyboard folder.

In order for a given folder to be recognized as valid, it needs to have the matrix header (<board-name>.h), the config file (config.h) and the layout JSON file (info.json).

Usage

Download the latest release (only Win/macOS supported for the time being), install it and execute it.

The first thing it will show is a directory picker:

Main Window

Once you select a valid folder, the tool will parse the files and display a graphical representation of each detected layout:

Layouts Window

From this screen, if you click one of the layouts, it will open the layout on the Keyboard Layout Editor website, preloading the layout:

Default Splitspace Layout on KLE

You can also use the Preview VIA Layout on KLE to check how the generated VIA layout will look like before continuing:

VAI Layout on KLE

Finally, when you click Select Destination Folder another directory picker dialog will open, and you'll be given a chance to select the folder where you want your final JSON file to be saved.

Success Window

Next step is to go to VIA, click the Settings tab and toggle the Show Design tab option, making sure it's on:

VIA Settings tab

Finally, click the Design tab and click the Load button:

VIA Design tab

Select the file you saved beforehand and it should open on VIA:

VIA Design tab

And you're done. Just plug in the keyboard and VIA should work automatically.

Building in Windows

Electron is apparently having a lot of issues with building dependencies, so a little bit of work is needed:

cd node_modules/canvas
npm i [email protected]
cd ../..
yarn run electron-rebuild

qmk2via's People

Contributors

fcoury avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.