Name: Kaleidoscope-KeyLogger
Owner: Keyboardio
Description: A key logger for Kaleidoscope.
Created: 2017-01-16 14:28:32.0
Updated: 2018-05-15 06:06:58.0
Pushed: 2018-05-15 06:06:56.0
Size: 29
Language: C++
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The KeyLogger
plugin, as the name suggests, implements a key logger for the
Kaleidoscope firmware. It logs the row and column of every key press and release,
along with the event, and the layer number, in a format that is reasonably easy
to parse, to the Serial interface.
Having a key logger is as dangerous as it sounds. Anyone who can read the serial events from the keyboard, will know exactly what keys you press, and when. Unless you know what you are doing, and can secure your keyboard, do not enable this plugin.
There is nothing configurable about the plugin, using it is as simple as including the header file, and declaring it used:
lude <Kaleidoscope.h>
lude <Kaleidoscope-KeyLogger.h>
IDOSCOPE_INIT_USER(KeyLogger);
setup() {
rial.begin(9600);
leidoscope.setup ();
That, in itself, will do all that is necessary to have the key logger active.
On the host, reading from the keyboard's serial port (or using the Serial Monitor built into the Arduino IDE), one will be able to see the following output:
row=1, col=2, pressed=1, defaultLayer=0, layerState=1, mappedKey.flags=0, mappedKey.keyCode=ff
row=1, col=2, pressed=0, defaultLayer=0, layerState=1, mappedKey.flags=0, mappedKey.keyCode=ff
Starting from the example is the recommended way of getting started with the plugin.