mirror of
https://github.com/MatMoul/g810-led.git
synced 2025-04-05 07:41:45 +00:00
53 lines
1.5 KiB
C++
53 lines
1.5 KiB
C++
#ifndef HELP_HELPER
|
|
#define HELP_HELPER
|
|
|
|
#include <iostream>
|
|
|
|
namespace help {
|
|
|
|
enum class KeyboardFeatures : uint16_t {
|
|
none = 0,
|
|
rgb = 1,
|
|
intensity = 2,
|
|
commit = 4,
|
|
logo1 = 8,
|
|
logo2 = 16,
|
|
numpad = 32,
|
|
multimedia = 64,
|
|
gkeys = 128,
|
|
setall = 256,
|
|
setgroup = 512,
|
|
setkey = 1024,
|
|
setregion = 2048,
|
|
setindicators = 4096,
|
|
poweronfx = 8192,
|
|
// fx features
|
|
|
|
all = rgb | intensity | commit | logo1 | logo2 | numpad | multimedia | gkeys |
|
|
setall | setgroup | setkey | setregion | setindicators | poweronfx,
|
|
|
|
g213 = rgb | logo1 | numpad | multimedia | setall | setregion | setindicators | poweronfx,
|
|
g410 = rgb | commit | setall | setgroup | setkey | poweronfx,
|
|
g413 = intensity | setall,
|
|
g610 = intensity | commit | logo1 | numpad | multimedia | setall | setgroup | setkey | setindicators | poweronfx,
|
|
g810 = rgb | commit | logo1 | numpad | multimedia | setall | setgroup | setkey | setindicators | poweronfx,
|
|
g910 = rgb | commit | logo1 | logo2 | numpad | multimedia | gkeys | setall | setgroup | setkey | setindicators | poweronfx,
|
|
gpro = rgb | commit | logo1 | multimedia | setall | setgroup | setkey | setindicators | poweronfx
|
|
};
|
|
inline KeyboardFeatures operator|(KeyboardFeatures a, KeyboardFeatures b);
|
|
|
|
KeyboardFeatures getKeyboardFeatures(std::string cmdName);
|
|
|
|
void usage(char *arg0);
|
|
void keys(char *arg0);
|
|
void effects(char *arg0);
|
|
void samples(char *arg0);
|
|
|
|
}
|
|
|
|
#ifndef VERSION
|
|
#define VERSION "unspecified"
|
|
#endif
|
|
|
|
#endif
|