Kaleidoscope
Classes | Macros | Functions | Variables
Kaleidoscope.h File Reference
#include <Arduino.h>
#include <stdio.h>
#include <math.h>
#include "key_events.h"
#include "kaleidoscope/hid.h"
#include "layers.h"
Include dependency graph for Kaleidoscope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KaleidoscopePlugin
 
class  Kaleidoscope_
 

Macros

#define TS(X)
 
#define HOOK_MAX   64
 
#define VERSION   "locally-built"
 
#define KEYMAP_SIZE   (sizeof(keymaps) / ROWS / COLS / sizeof(Key))
 
#define USE_PLUGINS(plugins...)   Kaleidoscope.use(plugins)
 
#define FOCUS_HOOK_KALEIDOSCOPE
 
#define event_handler_hook_use(hook)   Kaleidoscope.useEventHandlerHook(hook);
 
#define event_handler_hook_append(hook)   Kaleidoscope.appendEventHandlerHook(hook)
 
#define event_handler_hook_replace(oldHook, newHook)   Kaleidoscope.replaceEventHandlerHook(oldHook, newHook)
 
#define loop_hook_use(hook)   Kaleidoscope.useLoopHook(hook)
 
#define loop_hook_append(hook)   Kaleidoscope.appendLoopHook(hook)
 
#define loop_hook_replace(oldHook, newHook)   Kaleidoscope.replaceLoopHook(oldHook, newHook)
 

Functions

void loop ()
 
void setup ()
 

Variables

HARDWARE_IMPLEMENTATION KeyboardHardware
 
Kaleidoscope_ Kaleidoscope
 

Macro Definition Documentation

◆ event_handler_hook_append

#define event_handler_hook_append (   hook)    Kaleidoscope.appendEventHandlerHook(hook)

◆ event_handler_hook_replace

#define event_handler_hook_replace (   oldHook,
  newHook 
)    Kaleidoscope.replaceEventHandlerHook(oldHook, newHook)

◆ event_handler_hook_use

#define event_handler_hook_use (   hook)    Kaleidoscope.useEventHandlerHook(hook);

◆ FOCUS_HOOK_KALEIDOSCOPE

#define FOCUS_HOOK_KALEIDOSCOPE
Value:
"layer.on\n" \
"layer.off\n" \
"layer.getState")
Kaleidoscope_ Kaleidoscope
Definition: Kaleidoscope.cpp:126
#define FOCUS_HOOK(n, d)
Definition: Focus.h:30
static bool focusHook(const char *command)
Definition: Kaleidoscope.cpp:86

◆ HOOK_MAX

#define HOOK_MAX   64

◆ KEYMAP_SIZE

#define KEYMAP_SIZE   (sizeof(keymaps) / ROWS / COLS / sizeof(Key))

◆ loop_hook_append

#define loop_hook_append (   hook)    Kaleidoscope.appendLoopHook(hook)

◆ loop_hook_replace

#define loop_hook_replace (   oldHook,
  newHook 
)    Kaleidoscope.replaceLoopHook(oldHook, newHook)

◆ loop_hook_use

#define loop_hook_use (   hook)    Kaleidoscope.useLoopHook(hook)

◆ TS

#define TS (   X)

◆ USE_PLUGINS

#define USE_PLUGINS (   plugins...)    Kaleidoscope.use(plugins)

◆ VERSION

#define VERSION   "locally-built"

Function Documentation

◆ loop()

void loop ( )

◆ setup()

void setup ( )

Variable Documentation

◆ Kaleidoscope

Kaleidoscope_ Kaleidoscope

◆ KeyboardHardware

HARDWARE_IMPLEMENTATION KeyboardHardware