All Projects → algernon → Kaleidoscope.el

algernon / Kaleidoscope.el

Licence: gpl-3.0
Control Kaleidoscope-powered devices from the comfort of your Emacs.

Labels

Projects that are alternatives of or similar to Kaleidoscope.el

Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+8962.5%)
Mutual labels:  emacs
Org Super Agenda
Supercharge your Org daily/weekly agenda by grouping items
Stars: ✭ 829 (+10262.5%)
Mutual labels:  emacs
Org Treescope.el
Provides a time and priority based sparse tree interaction mode
Stars: ✭ 25 (+212.5%)
Mutual labels:  emacs
Awesome Emacs
A community driven list of useful Emacs packages, libraries and others.
Stars: ✭ 6,732 (+84050%)
Mutual labels:  emacs
Smart Mode Line
A powerful and beautiful mode-line for Emacs.
Stars: ✭ 809 (+10012.5%)
Mutual labels:  emacs
Yasnippet Snippets
a collection of yasnippet snippets for many languages
Stars: ✭ 831 (+10287.5%)
Mutual labels:  emacs
Doom Modeline
A fancy and fast mode-line inspired by minimalism design.
Stars: ✭ 710 (+8775%)
Mutual labels:  emacs
Assess
Test support functions for Emacs
Stars: ✭ 26 (+225%)
Mutual labels:  emacs
Zenburn Emacs
The Zenburn colour theme ported to Emacs
Stars: ✭ 829 (+10262.5%)
Mutual labels:  emacs
Emacs Slack
slack client for emacs
Stars: ✭ 928 (+11500%)
Mutual labels:  emacs
Acejump
🅰️ single character search, select, and jump
Stars: ✭ 786 (+9725%)
Mutual labels:  emacs
Dap Mode
Emacs ❤️ Debug Adapter Protocol
Stars: ✭ 809 (+10012.5%)
Mutual labels:  emacs
Char Menu
Create your own menu for fast insertion of arbitrary symbols
Stars: ✭ 19 (+137.5%)
Mutual labels:  emacs
Sly
Sylvester the Cat's Common Lisp IDE
Stars: ✭ 766 (+9475%)
Mutual labels:  emacs
Emacs Libvterm
Emacs libvterm integration
Stars: ✭ 929 (+11512.5%)
Mutual labels:  emacs
Org Ql
An Org-mode query language, including search commands and saved views
Stars: ✭ 721 (+8912.5%)
Mutual labels:  emacs
Chronometer
A Chronometer for GNU Emacs
Stars: ✭ 6 (-25%)
Mutual labels:  emacs
Perfect Margin
[emacs] auto center emacs windows, work with minimap and/or linum-mode
Stars: ✭ 26 (+225%)
Mutual labels:  emacs
Danneskjold Theme
Beautiful high-contrast emacs theme
Stars: ✭ 26 (+225%)
Mutual labels:  emacs
Emacs Anywhere
Configurable automation + hooks called with application information
Stars: ✭ 917 (+11362.5%)
Mutual labels:  emacs

kaleidoscope.el

MELPA: kaleidoscope MELPA: kaleidoscope-evil-state-flash

An Emacs interface to Kaleidoscope powered devices, such as the Keyboard.io Model01. It requires appropriate hardware, and a customised firmware that allows bi-directional communication (the Kaleidoscope-Focus plugin does just this).

Usage

There are two parts for this package, kaleidoscope.el and kaleidoscope-evil-state-flash.el. The former implements the lower level communication, and the rest is an example of what can be built upon this foundation.

To use either, one needs to require kaleidoscope, and start the communication as such:

(require 'kaleidoscope)
(kaleidoscope-start)

To stop talking to the keyboard, and release the device lock, one can call (kaleidoscope-quit).

While the channel is active, the kaleidoscope-send-command function can be used to send commands to the keyboard. The results will appear in the *kaleidoscope* buffer.

(kaleidoscope-send-command :help)
(kaleidoscope-send-command :led/setAll "255 0 0")

Using kaleidoscope-evil-state-flash

The kaleidoscope-evil-state-flash package ships with a function that sets up hooks so that whenever Evil changes state, the keyboard will briefly flash in a color configured for the target state. Assuming the keyboard is set to a LED mode that allows this (such as LEDOff).

To enable or disable this flashing, call kaleidoscope-evil-state-flash-setup or kaleidoscope-evil-state-flash-teardown respectively.

Note that for the LED Control to work, your Kaleidoscope firmware must have the FOCUS_HOOK_LEDCONTROL enabled on top of enabling the Focus plugin.

Focus.addHook(FOCUS_HOOK_LEDCONTROL);

Demo

A short, video of the package (showing kaleidoscope-evil-state-flash in action) can be found here.

Copyright & License

Copyright (c) 2017 Gergely Nagy, released under the terms of the GNU GPLv3+.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].