Sideloading VIA json Files

Simply put a json file ("json" stands for JavaScript Object Notation) is a text file with data pertaining to the application it's targeted towards. For VIA this json file has important information that identifies your keyboard through its USB identifier.

It then also contains a map of keys (so that VIA can draw the layout of your keyboard).

VIA then uses this information to recover the "keycode" assigned to each key and also programs your keyboard with other "keycodes" as you change them.

VIA works with a very large list of keyboards - this list is always changing as more keyboards are added to its repertoire. Each time VIA starts; it queries this list on the internet and downloads any additions as json files.

But the process of adding the json files is guarded against errors with a manual ("human") process of "review and accept" by the creators of VIA (known as "The VIA Project"). There is no guarantee of time given by The VIA Project, and contributors who submit their keyboard definitions and key-maps as json files may need to wait a long time before a The VIA Project member has a chance to review it.

With this in mind, the creators of VIA allow one to manually add a keyboard definition file into VIA as needed. "Sideloading" is just that, the process of loading a keyboard definition json file not yet in The VIA Project repertoire, directly into VIA so that you, the user, can map your keys.

Step 1: Download the correct json file

  • It is assumed that you have installed VIA. If not, head on over to caniusevia.com to download and install it.
  • The first step is to download the appropriate json file for your model of keyboard. For IDOBAO keyboards these can be found in the VIA pages on this site.
  • Save this file in a location that you will have easy access to, as you will need to "sideload" each time you use VIA. (VIA was designed to not store anything itself, so the import process is done each time VIA is run.)

Step 2: Activate the Design tab

  • Run VIA App from your computer or visit usevia.app.
  • Select the "Settings" tab.
  • Switch ON the "Show Design tab" option.

Step 3: Import the json file in the Design tab

  • Select the "Design" tab.
  • Use the "Load" button, and select the json file you just downloaded.

Step 4: VIA is ready to use

  • That's it.
    If you're using the correct json file your keyboard should render and you can start using VIA to remap your keys and layers.

See also