Skip to content

Nimamoh/Kaleidoscope-WindowsIntegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaleidoscope-WindowsIntegration

Keyboard plugin which add capabilities to communicate with Kaleidoscope Companion tool

How to install

This is a third party plugin, follow these instructions from the official kaleidoscope documentation.

Then, modify your sketch to include the plugin and add it to KALEIDOSCOPE_INIT_PLUGINS

#include "Kaleidoscope-WindowsIntegration.h"

...
KALEIDOSCOPE_INIT_PLUGINS(
  ...
  WindowsIntegration
  ...
);
...

Don't forget to compile and flash your firmware.

How do I check the plugin is correctly setup

Open a serial monitor tool to connect to your model 01 (arduino IDE has one under Tools > Serial Monitor).

Then type the wi.version request, you should get the plugin version as an answer:

wi.version
0.0.1
.

Focus commands

This plugin uses Focus extensively. It adds these commands:

wi.version

Shows the version of WindowsIntegration API installed on the keyboard

wi.layer <layer_number: n> <active_flag: 0|1>

Without argument, prints the most recent actived layer number. e.g:

< wi.layer
> 0

When providing a layer number, return true if layer active, false otherwise. e.g:

< wi.layer 3
> false

When providing both layer number and active flag, enable/disable layer (0 disables the layer, 1 enable the layer). e.g:

< wi.layer 3 1 #Enables the third layer
< wi.layer 2 0 #Disables the second layer

wi.layers

Prints the total layers count

About

Tool for integrating the keyboard.io with windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published