This PR introduces the notion of features. It will allow to activate supported features for different laptops selectively.
Major changes are:
syntax of razer-cli changed, script depending on it requires adjustment
features are introduced and can be selectively activated
2 modes: auto and manual --pid 0x029f
in auto mode the model is detected automatically and only supported features are activated
in manual mode provided pid is used and all features are activated
razer-cli manual --pid 0x029f info does not fail on the first error, instead prints the error and continues to dump info
model number prefix is used now to detect devices, allowing to differentiate between devices with similar PIDs (e.g. Black and Mercur colors have the same PID, but Mercur doesn't have lid logo).
Supported features can be specified per model
model prefix id is read from Windows registry, for Linux not implemented yet.
cli entries are now dynamically generated based on supported features.
This PR requires more testing and I'll be happy if you can assist in this. razer-cli can run now on a variety of Razer laptops.
This PR introduces the notion of features. It will allow to activate supported features for different laptops selectively.
Major changes are:
razer-cli
changed, script depending on it requires adjustmentauto
andmanual --pid 0x029f
auto
mode the model is detected automatically and only supported features are activatedmanual
mode provided pid is used and all features are activatedrazer-cli manual --pid 0x029f info
does not fail on the first error, instead prints the error and continues to dump infoThis PR requires more testing and I'll be happy if you can assist in this.
razer-cli
can run now on a variety of Razer laptops.12