ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include <src/ckb/kbmanager.h>
Signals | |
void | kbConnected (Kb *device) |
void | kbDisconnected (Kb *device) |
void | versionUpdated () |
Static Public Member Functions | |
static void | init (QString guiVersion) |
static void | stop () |
static KbManager * | kbManager () |
static QString | ckbGuiVersion () |
static QString | ckbDaemonVersion () |
static float | parseVersionString (QString version) |
static float | ckbGuiVersionF () |
static float | ckbDaemonVersionF () |
static const QSet< Kb * > | devices () |
static QTimer * | eventTimer () |
static void | fps (int framerate) |
static QTimer * | scanTimer () |
Private Slots | |
void | scanKeyboards () |
Private Member Functions | |
KbManager (QObject *parent=0) | |
Private Attributes | |
QSet< Kb * > | _devices |
QTimer * | _eventTimer |
QTimer * | _scanTimer |
Static Private Attributes | |
static KbManager * | _kbManager = 0 |
static QString | _guiVersion |
static QString | _daemonVersion = "<unavailable>" |
Definition at line 14 of file kbmanager.h.
|
explicitprivate |
Definition at line 26 of file kbmanager.cpp.
References _eventTimer, _scanTimer, and scanKeyboards().
Referenced by init().
|
inlinestatic |
Definition at line 27 of file kbmanager.h.
References _daemonVersion.
Referenced by MainWindow::updateVersion().
|
inlinestatic |
Definition at line 31 of file kbmanager.h.
References _daemonVersion, DAEMON_UNAVAILABLE_STR, and parseVersionString().
Referenced by KbFirmware::_latestForBoard(), and MainWindow::updateVersion().
|
inlinestatic |
|
inlinestatic |
Definition at line 30 of file kbmanager.h.
References _guiVersion, and parseVersionString().
Referenced by KbFirmware::_latestForBoard(), and MainWindow::updateVersion().
|
inlinestatic |
|
inlinestatic |
Definition at line 38 of file kbmanager.h.
References _eventTimer, and _kbManager.
Referenced by fps().
|
static |
Definition at line 38 of file kbmanager.cpp.
References eventTimer().
Referenced by Kb::frameRate().
|
static |
Definition at line 12 of file kbmanager.cpp.
References _guiVersion, _kbManager, and KbManager().
Referenced by MainWindow::MainWindow().
|
signal |
Definition at line 174 of file moc_kbmanager.cpp.
Referenced by scanKeyboards().
|
signal |
Definition at line 181 of file moc_kbmanager.cpp.
Referenced by scanKeyboards().
|
inlinestatic |
Definition at line 23 of file kbmanager.h.
References _kbManager.
Referenced by MainWindow::MainWindow().
|
static |
Definition at line 48 of file kbmanager.cpp.
Referenced by ckbDaemonVersionF(), ckbGuiVersionF(), and KbFirmware::processDownload().
|
privateslot |
Definition at line 62 of file kbmanager.cpp.
References _daemonVersion, _devices, _eventTimer, _scanTimer, DAEMON_UNAVAILABLE_STR, devpath, Kb::isOpen(), kbConnected(), kbDisconnected(), Kb::load(), Kb::matches(), Kb::save(), and versionUpdated().
Referenced by KbManager().
|
inlinestatic |
Definition at line 43 of file kbmanager.h.
References _kbManager, and _scanTimer.
Referenced by MainWindow::MainWindow().
|
static |
Definition at line 19 of file kbmanager.cpp.
References _kbManager.
Referenced by MainWindow::cleanup().
|
signal |
Definition at line 188 of file moc_kbmanager.cpp.
Referenced by scanKeyboards().
|
staticprivate |
Definition at line 59 of file kbmanager.h.
Referenced by ckbDaemonVersion(), ckbDaemonVersionF(), and scanKeyboards().
|
private |
Definition at line 63 of file kbmanager.h.
Referenced by devices(), and scanKeyboards().
|
private |
Definition at line 64 of file kbmanager.h.
Referenced by eventTimer(), KbManager(), and scanKeyboards().
|
staticprivate |
Definition at line 59 of file kbmanager.h.
Referenced by ckbGuiVersion(), ckbGuiVersionF(), and init().
|
staticprivate |
Definition at line 58 of file kbmanager.h.
Referenced by devices(), eventTimer(), init(), kbManager(), scanTimer(), and stop().
|
private |
Definition at line 64 of file kbmanager.h.
Referenced by KbManager(), scanKeyboards(), and scanTimer().