Firmware for the Keyboardio Model 01 and other keyboards with AVR or ARM MCUs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Gergely Nagy d78f8901cb
Initial import
8 years ago
src Initial import 8 years ago
.gitignore Initial import 8 years ago
COPYING Initial import 8 years ago
README.md Initial import 8 years ago
library.properties Initial import 8 years ago

README.md

Akela-LED-Stalker

status

A haunting effect, where the lights follow your fingers as you keep typing. Always behind, always watching, always stalking the fingertips...

The plugin simply lights up the LED below keys you press, and fades them away soon after, producing a haunting trail effect.

Using the plugin

To use the plugin, one needs to include the header, and activate the effect. It is also possible to use a custom color instead of the white-ish default.

#include <Akela-LED-Stalker.h>

void setup () {
  Keyboardio.setup (KEYMAP_SIZE);

  Keyboardio.use (&StalkerEffect, NULL);
  
  StalkerEffect.configure ({0x00, 0xff, 0xff});
}

It is recommended to place the activation of the plugin (the Keyboardio.use call) as early as possible, so the plugin can catch all relevant key presses.

Plugin methods

The plugin provides the StalkerEffect object, which has the following method:

.configure(color)

Set the color to use for highlighting pressed keys. If unset, will use the default white-ish color.