Kaleidoscope
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
kaleidoscope::OneShot Class Reference

#include <OneShot.h>

Inheritance diagram for kaleidoscope::OneShot:
Inheritance graph
[legend]
Collaboration diagram for kaleidoscope::OneShot:
Collaboration graph
[legend]

Public Member Functions

 OneShot (void)
 
void begin (void) final
 
void inject (Key key, uint8_t key_state)
 

Static Public Member Functions

static bool isActive (void)
 
static void cancel (bool with_stickies)
 
static void cancel (void)
 
static bool isModifierActive (Key key)
 

Static Public Attributes

static uint16_t time_out = 2500
 
static uint16_t hold_time_out = 250
 

Constructor & Destructor Documentation

◆ OneShot()

kaleidoscope::OneShot::OneShot ( void  )

Member Function Documentation

◆ begin()

void kaleidoscope::OneShot::begin ( void  )
finalvirtual

Implements KaleidoscopePlugin.

◆ cancel() [1/2]

void kaleidoscope::OneShot::cancel ( bool  with_stickies)
static

◆ cancel() [2/2]

static void kaleidoscope::OneShot::cancel ( void  )
inlinestatic

◆ inject()

void kaleidoscope::OneShot::inject ( Key  key,
uint8_t  key_state 
)

◆ isActive()

bool kaleidoscope::OneShot::isActive ( void  )
static

◆ isModifierActive()

bool kaleidoscope::OneShot::isModifierActive ( Key  key)
static

Member Data Documentation

◆ hold_time_out

uint16_t kaleidoscope::OneShot::hold_time_out = 250
static

◆ time_out

uint16_t kaleidoscope::OneShot::time_out = 2500
static

The documentation for this class was generated from the following files: