#include <synth.h>


Public Member Functions | |
| Key () | |
| void | check (void) |
| void | keydown (void) |
| void | keyup (void) |
Data Fields | |
| uint32_t | id |
| uint32_t | state |
| uint32_t | count |
| int8_t | pitch |
| IVoice * | voice |
Representation of a key on the keyboard. Handles keyboard scanning and issuing keydown/keyup events to an ISynth instance.
| void Key::check | ( | void | ) |
| void Key::keydown | ( | void | ) |
| void Key::keyup | ( | void | ) |
| uint32_t Key::count |
| uint32_t Key::id |
| int8_t Key::pitch |
| uint32_t Key::state |
1 if the key is pressed/touched, 0 otherwise.
Definition at line 287 of file synth.h.
Referenced by check(), Key(), and FunctionKey::keydown().
| IVoice* Key::voice |
1.8.6