Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

A simpler version of the numlock plugin with slightly different semantics

License

Notifications You must be signed in to change notification settings

keyboardio/Kaleidoscope-NumPad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaleidoscope-NumPad

This is a plugin for Kaleidoscope, that adds a NumPad-specific LED effect, along with a way to toggle to a numpad layer, and apply the effect.

Using the extension

To use the plugin, include the header, and tell the firmware to use it:

#include "Kaleidoscope-NumPad.h"

KALEIDOSCOPE_INIT_PLUGINS(NumPad);

void setup() {
  Kaleidoscope.setup();

  NumPad.color = CRGB(0, 0, 160); // a blue color
  NumPad.lock_hue = 85; // green
}

Plugin methods

The plugin provides the NumPad object, with the following properties:

.color

This property sets the color that the NumPad keys are highlighted in.

The default is CRGB(160, 0, 0), a red color.

.lock_hue

This property sets the color hue that the NumLock LED breathes in.

The default is 170, a blue hue.

About

A simpler version of the numlock plugin with slightly different semantics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published