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 | KeyPatch |
Functions | |
static void | _patch (QHash< QString, Key > &map, const KeyPatch *patches, int patchCount) |
static void | patchnonJP106 (QHash< QString, Key > &map) |
static void | patchISO (QHash< QString, Key > &map) |
static void | patchANSI (QHash< QString, Key > &map) |
static void | patchJP106 (QHash< QString, Key > &map) |
static void | patchJP106fn (QHash< QString, Key > &map) |
static void | patchABNT2 (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 | patchPTBR [] |
static const KeyPatch | patchES [] |
static const KeyPatch | patchSE [] |
static const KeyPatch | patchJP [] |
static const KeyPatch | patchDvorak [] |
static const Key | K68TopRow [] |
static const Key | K65TopRow [] |
static const Key | K63TopRow [] |
static const Key | KStrafeKeys [] |
static const Key | M65Keys [] |
static const Key | SabreKeys [] |
static const Key | HarpoonKeys [] |
static const Key | GlaiveKeys [] |
static const Key | ScimKeys [] |
static const Key | K95PLbar [] |
static QHash< QString, Key > | K95BaseMap |
static QHash< QString, Key > | standardMaps [KeyMap::_MODEL_MAX][KeyMap::_LAYOUT_MAX] |
struct KeyPatch |
Definition at line 32 of file keymap.cpp.
Data Fields | ||
---|---|---|
const char * | _friendlyName | |
const char * | _storageName | |
const char * | name |
#define ANSI_ENTER_H 12 |
Definition at line 27 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_W 26 |
Definition at line 26 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_X 199 |
Definition at line 24 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_ENTER_Y 51 |
Definition at line 25 of file keymap.cpp.
Referenced by patchANSI().
#define ANSI_LSHIFT_W 26 |
Definition at line 29 of file keymap.cpp.
Referenced by patchANSI(), and patchJP106().
#define ANSI_LSHIFT_X 45 |
Definition at line 28 of file keymap.cpp.
Referenced by patchANSI(), and patchJP106().
#define GLAIVE_HEIGHT M65_HEIGHT |
Definition at line 310 of file keymap.cpp.
#define GLAIVE_WIDTH M65_WIDTH |
Definition at line 309 of file keymap.cpp.
#define HARPOON_HEIGHT M65_HEIGHT |
Definition at line 298 of file keymap.cpp.
#define HARPOON_WIDTH M65_WIDTH |
Definition at line 297 of file keymap.cpp.
#define K63_HEIGHT K65_HEIGHT |
Definition at line 233 of file keymap.cpp.
Definition at line 248 of file keymap.cpp.
Referenced by getMap().
#define K63_WIDTH K65_WIDTH |
Definition at line 232 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K65_HEIGHT K70_HEIGHT |
Definition at line 229 of file keymap.cpp.
Definition at line 243 of file keymap.cpp.
Referenced by getMap().
#define K65_WIDTH 209 |
Definition at line 228 of file keymap.cpp.
Referenced by getMap(), and KeyMap::modelWidth().
#define K68_HEIGHT K70_HEIGHT |
Definition at line 225 of file keymap.cpp.
Definition at line 238 of file keymap.cpp.
Referenced by getMap().
#define K68_WIDTH K70_WIDTH |
Definition at line 224 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K70_HEIGHT K95_HEIGHT |
Definition at line 222 of file keymap.cpp.
#define K70_WIDTH (K95_WIDTH - K70_X_START) |
Definition at line 221 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K70_X_START 38 |
Definition at line 220 of file keymap.cpp.
Referenced by getMap().
#define K95_HEIGHT 76 |
Definition at line 213 of file keymap.cpp.
Referenced by KeyMap::modelHeight().
#define K95_WIDTH 298 |
Definition at line 212 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K95P_HEIGHT 82 |
Definition at line 215 of file keymap.cpp.
Referenced by KeyMap::modelHeight().
#define K95P_WIDTH (K95_WIDTH - K95P_X_START + 1) |
Definition at line 217 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define K95P_X_START 20 |
Definition at line 216 of file keymap.cpp.
Referenced by getMap().
#define KEYCOUNT_GLAIVE (sizeof(GlaiveKeys) / sizeof(Key)) |
Definition at line 307 of file keymap.cpp.
Referenced by getMap().
#define KEYCOUNT_HARPOON (sizeof(HarpoonKeys) / sizeof(Key)) |
Definition at line 295 of file keymap.cpp.
Referenced by getMap().
Definition at line 21 of file keymap.cpp.
Referenced by getMap().
Definition at line 270 of file keymap.cpp.
Referenced by getMap().
Definition at line 283 of file keymap.cpp.
Referenced by getMap().
Definition at line 324 of file keymap.cpp.
Referenced by getMap().
#define KSTRAFE_HEIGHT K95_HEIGHT |
Definition at line 253 of file keymap.cpp.
#define KSTRAFE_WIDTH (K70_WIDTH + (KSTRAFE_X_START * 2)) |
Definition at line 252 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define KSTRAFE_X_START 12 |
Definition at line 251 of file keymap.cpp.
Referenced by getMap().
Definition at line 336 of file keymap.cpp.
Referenced by getMap().
#define LBS 17, 6 |
Definition at line 9 of file keymap.cpp.
#define M65_HEIGHT 67 |
Definition at line 273 of file keymap.cpp.
Referenced by KeyMap::modelHeight().
#define M65_WIDTH 52 |
Definition at line 272 of file keymap.cpp.
Referenced by KeyMap::modelWidth().
#define N_LAYOUTS KeyMap::_LAYOUT_MAX |
Definition at line 341 of file keymap.cpp.
Referenced by getMap().
#define N_MODELS KeyMap::_MODEL_MAX |
Definition at line 340 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 120 of file keymap.cpp.
Referenced by getMap().
Definition at line 119 of file keymap.cpp.
#define SABRE_HEIGHT M65_HEIGHT |
Definition at line 286 of file keymap.cpp.
#define SABRE_WIDTH M65_WIDTH |
Definition at line 285 of file keymap.cpp.
#define SCIM_HEIGHT M65_HEIGHT |
Definition at line 327 of file keymap.cpp.
#define SCIM_WIDTH M65_WIDTH |
Definition at line 326 of file keymap.cpp.
Definition at line 121 of file keymap.cpp.
References Key::_friendlyName, and Key::_storageName.
|
static |
Definition at line 344 of file keymap.cpp.
References KeyMap::DE, KeyMap::DK, KeyMap::ES, KeyMap::EU, KeyMap::EU_DVORAK, KeyMap::FR, KeyMap::GB_DVORAK, KeyMap::GLAIVE, KeyMap::HARPOON, Key::height, KeyMap::isISO(), KeyMap::isJP(), KeyMap::isPTBR(), KeyMap::IT, KeyMap::JP, KeyMap::K63, K63_TOP_COUNT, KeyMap::K65, K65_TOP_COUNT, K65_WIDTH, KeyMap::K68, K68_TOP_COUNT, KeyMap::K70, K70_X_START, KeyMap::K95, K95BaseMap, KeyMap::K95P, K95P_X_START, KEYCOUNT_GLAIVE, KEYCOUNT_HARPOON, KEYCOUNT_K95, KEYCOUNT_M65, KEYCOUNT_SABRE, KEYCOUNT_SCIM, KSTRAFE_X_START, LBARCOUNT_K95P, KeyMap::M65, KeyMap::MX, N_LAYOUTS, N_MODELS, key::name, KeyMap::NO, patch, patchABNT2(), patchANSI(), patchISO(), patchJP106(), patchJP106fn(), KeyMap::PT_BR, KeyMap::SABRE, KeyMap::SCIMITAR, KeyMap::SE, standardMaps, KeyMap::STRAFE, KeyMap::US_DVORAK, Key::width, Key::x, and Key::y.
|
static |
Definition at line 198 of file keymap.cpp.
References Key::width, and Key::x.
Referenced by getMap().
|
static |
Definition at line 141 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, patchnonJP106(), Key::width, Key::x, and Key::y.
Referenced by getMap().
|
static |
Definition at line 137 of file keymap.cpp.
References patchnonJP106().
Referenced by getMap().
|
static |
Definition at line 154 of file keymap.cpp.
References ANSI_LSHIFT_W, ANSI_LSHIFT_X, Key::width, and Key::x.
Referenced by getMap().
|
static |
Definition at line 189 of file keymap.cpp.
References Key::width, and Key::x.
Referenced by getMap().
|
static |
Definition at line 130 of file keymap.cpp.
Referenced by patchANSI(), and patchISO().
|
static |
Definition at line 301 of file keymap.cpp.
|
static |
Definition at line 289 of file keymap.cpp.
|
static |
Definition at line 245 of file keymap.cpp.
|
static |
Definition at line 240 of file keymap.cpp.
|
static |
Definition at line 235 of file keymap.cpp.
|
static |
Definition at line 342 of file keymap.cpp.
Referenced by getMap().
|
static |
Definition at line 12 of file keymap.cpp.
|
static |
Definition at line 330 of file keymap.cpp.
|
static |
Definition at line 255 of file keymap.cpp.
|
static |
Definition at line 263 of file keymap.cpp.
|
static |
Definition at line 57 of file keymap.cpp.
|
static |
Definition at line 38 of file keymap.cpp.
|
static |
Definition at line 111 of file keymap.cpp.
|
static |
Definition at line 92 of file keymap.cpp.
|
static |
Definition at line 45 of file keymap.cpp.
|
static |
Definition at line 50 of file keymap.cpp.
|
static |
Definition at line 64 of file keymap.cpp.
|
static |
Definition at line 106 of file keymap.cpp.
|
static |
Definition at line 78 of file keymap.cpp.
|
static |
Definition at line 71 of file keymap.cpp.
|
static |
Definition at line 85 of file keymap.cpp.
|
static |
Definition at line 99 of file keymap.cpp.
|
static |
Definition at line 276 of file keymap.cpp.
|
static |
Definition at line 313 of file keymap.cpp.
|
static |
Definition at line 343 of file keymap.cpp.
Referenced by getMap().