![]() |
ckb-next
beta-v0.2.8 at branch testing
ckb-next driver for corsair devices
|
Go to the source code of this file.
Data Structures | |
struct | KeyPatch |
Functions | |
static void | _patch (QHash< QString, Key > &map, const KeyPatch *patches, int patchCount) |
static void | patchISO (QHash< QString, Key > &map) |
static void | patchANSI (QHash< QString, Key > &map) |
static QHash< QString, Key > | getMap (KeyMap::Model model, KeyMap::Layout layout) |
Variables | |
static const Key | K95Keys [] |
static const KeyPatch | patchDK [] |
static const KeyPatch | patchEU [] |
static const KeyPatch | patchFR [] |
static const KeyPatch | patchDE [] |
static const KeyPatch | patchIT [] |
static const KeyPatch | patchNO [] |
static const KeyPatch | patchMX [] |
static const KeyPatch | patchES [] |
static const KeyPatch | patchSE [] |
static const KeyPatch | patchDvorak [] |
static const Key | K65TopRow [] |
static const Key | KStrafeKeys [] |
static const Key | M65Keys [] |
static const Key | SabreKeys [] |
static const Key | ScimKeys [] |
static QHash< QString, Key > | K95BaseMap |
static QHash< QString, Key > | standardMaps [KeyMap::_MODEL_MAX][KeyMap::_LAYOUT_MAX] |
struct KeyPatch |
Definition at line 30 of file keymap.cpp.
Data Fields | ||
---|---|---|
const char * | _friendlyName | |
const char * | _storageName | |
const char * | name |
#define ANSI_ENTER_H 12 |
Definition at line 25 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_W 26 |
Definition at line 24 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_X 199 |
Definition at line 22 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_Y 51 |
Definition at line 23 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_LSHIFT_W 26 |
Definition at line 27 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_LSHIFT_X 45 |
Definition at line 26 of file keymap.cpp.
Referenced by patchANSI().
#define K65_HEIGHT K70_HEIGHT |
Definition at line 143 of file keymap.cpp.
Definition at line 148 of file keymap.cpp.
Referenced by getMap().
#define K65_WIDTH 209 |
Definition at line 142 of file keymap.cpp.
Referenced by getMap(), and KeyMap::modelWidth().
#define K70_HEIGHT K95_HEIGHT |
Definition at line 139 of file keymap.cpp.
#define K70_WIDTH (K95_WIDTH - K70_X_START) |
Definition at line 138 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K70_X_START 38 |
Definition at line 137 of file keymap.cpp.
Referenced by getMap().
#define K95_HEIGHT 76 |
Definition at line 134 of file keymap.cpp.
Referenced by KeyMap::modelHeight().
#define K95_WIDTH 298 |
Definition at line 133 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
Definition at line 19 of file keymap.cpp.
Referenced by getMap().
Definition at line 170 of file keymap.cpp.
Referenced by getMap().
Definition at line 183 of file keymap.cpp.
Referenced by getMap().
Definition at line 200 of file keymap.cpp.
Referenced by getMap().
#define KSTRAFE_HEIGHT K95_HEIGHT |
Definition at line 153 of file keymap.cpp.
#define KSTRAFE_WIDTH (K70_WIDTH + (KSTRAFE_X_START * 2)) |
Definition at line 152 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define KSTRAFE_X_START 12 |
Definition at line 151 of file keymap.cpp.
Referenced by getMap().
#define M65_HEIGHT 67 |
Definition at line 173 of file keymap.cpp.
Referenced by KeyMap::modelHeight().
#define M65_WIDTH 52 |
Definition at line 172 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define N_LAYOUTS KeyMap::_LAYOUT_MAX |
Definition at line 207 of file keymap.cpp.
Referenced by getMap().
#define N_MODELS KeyMap::_MODEL_MAX |
Definition at line 206 of file keymap.cpp.
Referenced by getMap().
#define NS 12, 12 |
Definition at line 6 of file keymap.cpp.
#define patch | ( | map, | |
patches | |||
) | _patch(map, patches, PATCH_COUNT(patches)) |
Definition at line 106 of file keymap.cpp.
Referenced by getMap().
Definition at line 105 of file keymap.cpp.
#define SABRE_HEIGHT M65_HEIGHT |
Definition at line 186 of file keymap.cpp.
#define SABRE_WIDTH M65_WIDTH |
Definition at line 185 of file keymap.cpp.
#define SCIM_HEIGHT M65_HEIGHT |
Definition at line 203 of file keymap.cpp.
#define SCIM_WIDTH M65_WIDTH |
Definition at line 202 of file keymap.cpp.
Definition at line 107 of file keymap.cpp.
References Key::_friendlyName, and Key::_storageName.
|
static |
Definition at line 210 of file keymap.cpp.
References KeyMap::DE, KeyMap::DK, KeyMap::ES, KeyMap::EU, KeyMap::EU_DVORAK, KeyMap::FR, KeyMap::GB_DVORAK, Key::height, KeyMap::isISO(), KeyMap::IT, KeyMap::K65, K65_TOP_COUNT, K65_WIDTH, KeyMap::K70, K70_X_START, KeyMap::K95, K95BaseMap, KEYCOUNT_K95, KEYCOUNT_M65, KEYCOUNT_SABRE, KEYCOUNT_SCIM, KSTRAFE_X_START, KeyMap::M65, KeyMap::MX, N_LAYOUTS, N_MODELS, KeyMap::NO, patch, patchANSI(), patchISO(), KeyMap::SABRE, KeyMap::SCIMITAR, KeyMap::SE, standardMaps, KeyMap::STRAFE, KeyMap::US_DVORAK, Key::width, Key::x, and Key::y.
|
static |
Definition at line 119 of file keymap.cpp.
References ANSI_ENTER_H, ANSI_ENTER_W, ANSI_ENTER_X, ANSI_ENTER_Y, ANSI_LSHIFT_W, ANSI_LSHIFT_X, Key::height, Key::width, Key::x, and Key::y.
Referenced by getMap().
|
static |
Definition at line 116 of file keymap.cpp.
Referenced by getMap().
|
static |
Definition at line 145 of file keymap.cpp.
|
static |
Definition at line 208 of file keymap.cpp.
Referenced by getMap().
|
static |
Definition at line 10 of file keymap.cpp.
|
static |
Definition at line 155 of file keymap.cpp.
|
static |
Definition at line 163 of file keymap.cpp.
|
static |
Definition at line 55 of file keymap.cpp.
|
static |
Definition at line 36 of file keymap.cpp.
|
static |
Definition at line 97 of file keymap.cpp.
|
static |
Definition at line 83 of file keymap.cpp.
|
static |
Definition at line 43 of file keymap.cpp.
|
static |
Definition at line 48 of file keymap.cpp.
|
static |
Definition at line 62 of file keymap.cpp.
|
static |
Definition at line 76 of file keymap.cpp.
|
static |
Definition at line 69 of file keymap.cpp.
|
static |
Definition at line 90 of file keymap.cpp.
|
static |
Definition at line 176 of file keymap.cpp.
|
static |
Definition at line 189 of file keymap.cpp.
|
static |
Definition at line 209 of file keymap.cpp.
Referenced by getMap().