diff options
| author | Ryan Ward <[email protected]> | 2021-08-06 22:15:39 -0500 |
|---|---|---|
| committer | Ryan Ward <[email protected]> | 2021-08-06 22:15:39 -0500 |
| commit | d847e9be0bcc37c031d1d97e30ebfc03ae7dc2e5 (patch) | |
| tree | 3040de42d958db274cac90e50ef62bd9922f1a8b | |
| parent | e1dcd1fdab204e6ab9eaee3e30bf6ffea67f01b1 (diff) | |
| download | librazermacos-d847e9be0bcc37c031d1d97e30ebfc03ae7dc2e5.tar.xz librazermacos-d847e9be0bcc37c031d1d97e30ebfc03ae7dc2e5.zip | |
Test in the sample_cli to test functionality
| -rw-r--r-- | src/sample_cli.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sample_cli.c b/src/sample_cli.c index 5236c23..5778a8a 100644 --- a/src/sample_cli.c +++ b/src/sample_cli.c @@ -11,6 +11,13 @@ int main(int argc, const char * argv[]) { for (int i = 0; i < allDevices.size; i++) { RazerDevice device = razerDevices[i]; printf("%#06x\n", device.productId); + + // Testing out the blackwidow v3 pro changes by switching to wave + if (device.productId == 0x025A) + { + printf("Found blackwidow v3 pro keyboard (wired)\n"); + razer_attr_write_mode_spectrum(device.usbDevice, "1", 0); + } } closeAllRazerDevices(allDevices); |
