ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Data Structures | |
struct | rgb |
Functions | |
void | ckb_info () |
void | ckb_parameter (ckb_runctx *context, const char *name, const char *value) |
void | ckb_keypress (ckb_runctx *context, ckb_key *key, int x, int y, int state) |
void | newtarget (rgb *data, unsigned count) |
void | ckb_init (ckb_runctx *context) |
void | ckb_start (ckb_runctx *context, int state) |
void | ckb_time (ckb_runctx *context, double delta) |
int | ckb_frame (ckb_runctx *context) |
Variables | |
int | fadein = 0 |
int | useopacity = 0 |
rgb * | current = 0 |
rgb * | target = 0 |
double | phase = -1. |
struct rgb |
int ckb_frame | ( | ckb_runctx * | context | ) |
Definition at line 109 of file main.c.
References ckb_key::a, ckb_key::b, CKB_KEYCLEAR, ckb_key::g, ckb_runctx::keycount, ckb_runctx::keys, phase, and ckb_key::r.
void ckb_info | ( | ) |
Definition at line 6 of file main.c.
References CKB_COPYRIGHT, CKB_DESCRIPTION, CKB_GUID, CKB_KP_NONE, CKB_KPMODE, CKB_LICENSE, CKB_LIVEPARAMS, CKB_NAME, CKB_PARAM_BOOL, CKB_PRESET_END, CKB_PRESET_PARAM, CKB_PRESET_START, CKB_REPEAT, CKB_TIME_DURATION, CKB_TIMEMODE, CKB_VERSION, FALSE, and TRUE.
void ckb_init | ( | ckb_runctx * | context | ) |
void ckb_keypress | ( | ckb_runctx * | context, |
ckb_key * | key, | ||
int | x, | ||
int | y, | ||
int | state | ||
) |
void ckb_parameter | ( | ckb_runctx * | context, |
const char * | name, | ||
const char * | value | ||
) |
void ckb_start | ( | ckb_runctx * | context, |
int | state | ||
) |
Definition at line 68 of file main.c.
References rgb::a, ckb_key::a, rgb::b, ckb_key::b, fadein, rgb::g, ckb_key::g, ckb_runctx::keycount, ckb_runctx::keys, newtarget(), phase, rgb::r, and ckb_key::r.
void ckb_time | ( | ckb_runctx * | context, |
double | delta | ||
) |
Definition at line 94 of file main.c.
References current, ckb_runctx::keycount, newtarget(), phase, and target.
void newtarget | ( | rgb * | data, |
unsigned | count | ||
) |
Definition at line 51 of file main.c.
References rgb::a, rgb::b, rgb::g, rgb::r, and useopacity.
Referenced by ckb_start(), and ckb_time().
rgb* current = 0 |
Definition at line 46 of file main.c.
Referenced by CkbSettings::childGroups(), CkbSettings::childKeys(), ckb_time(), KbProfile::KbProfile(), Kb::load(), GradientDialog::on_presetDelete_clicked(), KbWidget::profileChanged(), KbProfileDialog::repopulate(), QuaZip::setCurrentFile(), and GradientDialog::setPreset().
int fadein = 0 |
Definition at line 31 of file main.c.
Referenced by ckb_parameter(), and ckb_start().
double phase = -1. |
Definition at line 48 of file main.c.
Referenced by ckb_frame(), ckb_start(), ckb_time(), kiss_fft_alloc(), and kiss_fftr_alloc().
rgb* target = 0 |
Definition at line 47 of file main.c.
Referenced by ckb_time().
int useopacity = 0 |
Definition at line 31 of file main.c.
Referenced by ckb_parameter(), and newtarget().