65 Commits (master)

Author SHA1 Message Date
Adam Honse c71cc4f18a Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect 7 months ago
Adam Honse 221f5007ab Fix laptop and monitor device type strings 9 months ago
Adam Honse a762d00aa8 Fix warnings in Windows build 10 months ago
Adam Honse 14d3c68145 Fix warnings 1 year ago
Adam Honse bb79fbfc07 Add controller flags field with flags for controller location and update behavior 1 year ago
Adam Honse 012cb5e62d Fix segment creation and modification over the network protocol 1 year ago
Adam Honse e634a77860 Add LED alternate names field to SDK protocol 1 year ago
Adam Honse 27cac898b0 Initial development for alternate LED names suppport in RGBController API
Alternate LED names allow an LED to have a secondary "alternate" name.  The led_alt_names vector should either be empty if alternate names are not used or be equal in size to the leds vector.  Empty strings in the led_alt_names vector indicate that a particular LED does not have an alternate name.
1 year ago
Adam Honse 11d6b19cde Add protocol handling for resizable effects-only modes, increment protocol revision to 5 1 year ago
Adam Honse 032b6c6300 Resizable Effects-Only Zones 1 year ago
Adam Honse 54802fdd4b Fix device type strings 1 year ago
Adam Honse 66487422ab Fix warning in RGBController.cpp 1 year ago
Adam Honse 1586812112 Fix warnings in RGBController.cpp 1 year ago
Adam Honse f1da4a3b2f Fix warning in RGBController.cpp 1 year ago
Adam Honse 6c729ff60f Fix possible loss of data warnings in RGBController.cpp 2 years ago
Adam Honse a3066db16c Update even more file header comments to standardized new format 2 years ago
Cooper Hall 45be4329c5 Fixed some warnings 3 years ago
Adam Honse 447e936464 Segments 3 years ago
Codename-Antares ae8f40db00 Add Type Keypad & Tartarus Pro Layout for Razer 4 years ago
Adam Honse 389cdf340f Allow mode specific color mode for SetCustomMode 4 years ago
Adam Honse afb975e5fc Add generic implementation of SetCustomMode to RGBController class 4 years ago
Arnaud MAURIN 287618ebe5 Add new device type "Case" 4 years ago
Qwex 57e7e6a823 Revert "Fix frames skip when using external effects engine" to fix ram race condition 4 years ago
NicolasNewman 7b63813cdb Add storage device type
Commit amended from original XPG Spectrix S40G merge request by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Cheerpipe 3100f72601 Fix frames skip when using external effects engine 5 years ago
Adam Honse cbee33706f Fix some issues with mode constructor 5 years ago
Adam Honse eade8fea1a Add save to device support to RGBController 5 years ago
Chris a46eccef3c Added brightness to profile loading and saving
* Bumped profile version to 3
* Loading a v1/v2 profile onto a device with brightness will work
* Loading a v3 profile onto a device without brightness also works
* Add profile version parameter to Get/SetModeDescription

Commit amended for code style and to update versioning by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Chris b76265cf7d Convert mode from struct to class, add automatic initialization
* To avoid filtering in the profile manager and to ensure that color_mode is set to MODE_COLORS_RANDOM correctly
for HW that has the mode flags

MODE_FLAG_HAS_RANDOM_COLOR | MODE_FLAG_HAS_PER_LED_COLOR

The values for speed_min, speed_max, colors_min and colors_max NEED to be initialised to allow for a saved
profile to load correctly in `ProfileManager::LoadDeviceFromListWithOptions`

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse be1fbc27ca Add device type string for virtual device 5 years ago
morg 2a6b457324 Add UnregisterRGBController method to ResourceManager
Commit amended by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Cheerpipe e9f3a1b3b9 Logitech G560 initial support
Logitech G560 Speaker working with Direct Mode using same bits as the Logitech Ambilight and Audioviz. Other modes are not working (get) as expected.

Note: G560 Direct mode is slow because Logitech hardware implementation but it is working.

Changing volume at the same time colors are changing can reduce FPS because G560 uses the same channel for led and audio modes commands.

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
morg dba814215d Fixing memory leaks in controllers 5 years ago
Adam Honse 72da8f362c SDK protocol versioning implemented. Protocol updated to version 1 which adds vendor string to controller request. 6 years ago
Adam Honse 1e4eacd337 Add a Light device type with a bulb icon 6 years ago
Pol Rius 791df64f81 Add support for Sony DualShock 4 (manual merge of !160)
Files pulled in manually and code style changes, Gamepad type addition by Adam Honse <calcprogrammer1@gmail.com>
6 years ago
Adam Honse 8ead2f9c73 Call the callbacks when redetection starts, move matrix map deletion to individual controllers to avoid attempting to delete const pointers 6 years ago
Adam Honse 0345eb582b More warning fixes 6 years ago
k1-801 8b8451017e Non-important warnings removed
Commit amended by Adam Honse <calcprogrammer1@gmail.com> due to merging from a different branch.
6 years ago
Adam Honse 342d90b82a Add function to unregister update callback when device page is deleted 6 years ago
Adam Honse d3993547c3 Device view resizes width to fit window size, UI updates on SDKcontroller update 6 years ago
Térence Clastres 53379c5482 Fixes for memory issues detected by valgrind 6 years ago
B Horn bb743c6b62 Validating user provided indexes in RGBController
When using the SDK Server, it was possible to provide indexes that would
later be used inside the various SetXDescription functions in
RGBController. This would result in possible out of bounds reads /
writes.

This is patched by checking the various indexes remain in bounds.
6 years ago
Adam Honse 0ccf2d0c33 Remove some debugging printouts in Network Client and Server code 6 years ago
Adam Honse 97e1c3e913 Update mode asynchronously 6 years ago
Adam Honse f108515a6e Fix Set All Devices being slow and crashing on certain setups. It was sending the update multiple times 6 years ago
Térence Clastres b79ff124e6 Replace Sleep() by std:🧵:sleep_for() 6 years ago
Adam Honse 5fdea9d34f Delete zone matrix maps when destroying RGBController 6 years ago
Adam Honse baa04913c3 Add headset stand type string 6 years ago
Adam Honse 105f5642ef Add matrix map support 6 years ago