Skip to content

Config options

MartB edited this page Jul 22, 2017 · 4 revisions

If you dont know where to put these refer to https://github.com/MartB/RETC/wiki/Config

Log

format (string)

Specifies which log format pattern should be used.

Default value: [%d.%m %H:%M:%S.%e][%l] %v

Possible options:

https://github.com/gabime/spdlog/wiki/3.-Custom-formatting

level (int)

Sets the log verbosity level of spdlog.

Default value: 3

Possible options:

//Log level enum
typedef enum
{
    trace = 0,
    debug = 1,
    info = 2,
    warn = 3,
    err = 4,
    critical = 5,
    off = 6
} level_enum;

flush (int)

Sets the log verbosity level that triggers a flush of spdlog.

Default value: 4

Possible options:

See above.

SDKManager

Emulated razer device ids (strings)

Sets the device id thats used for accepting device specific effects.

Default values:

EM_KEYBOARD = BLACKWIDOW_CHROMA
EM_MOUSE = MAMBA_CHROMA
EM_HEADSET = KRAKEN71_CHROMA
EM_MOUSEPAD = FIREFLY_CHROMA
EM_KEYPAD = ORBWEAVER_CHROMA

Possible options: Check the razerStringToDevID map in the following file.

https://github.com/MartB/RETC/blob/master/server-exe/commonData.h

Warning: No error checking of the device type is made!

SDKs in general

enabled (bool)

Sets the state of an sdk.

Default value: true

Possible options: true|false

CorsairSDK

exclusivemode (bool)

Specifies whether or not the sdk uses exclusive mode (no other application can access the leds while exclusive mode is enabled).

Default value: false

Possible options: true|false

RazerSDK

overwritedevices (bool)

Specifies whether or not the sdk should overwrite the emulated device ids with values obtained from the razer devices connected to the pc.

Default value: true

Possible options: true|false

Clone this wiki locally