Changelog
- Use Python 3.5 as a minimum supported version (95b917fdf29a74066b71b39eb833b502eb1caeb6)
- Make Corsair* enums hashable and sortable (17a786f2cb0cbab6ce29d0e2837dea2a2766f105)
- LED colors and positions are dicts now. Affected api: `get_led_colors_by_device_index`, `get_led_positions_by_device_index` and `set_led_colors_buffer_by_device_index`. (fa14c9b2fc23b5c3d8b3e0e878b8c1550e15cc3d)
- Add `cuesdk.helpers` submodule with `ColorRgb` helper class (134a2ba6537258ca405d00d6ee685bc51f3ebc2a)
- Usage:
python
from cuesdk.helpers import ColorRgb
import colorsys
parse hex string and return tuple to use in sdk
rgb_tuple = ColorRgb.from_hexstr("aa22ff").rgb
convert vector of floats in range [0, 1] to rgb range in [0, 255] and print as hex
print(ColorRgb.from_vec3(1.0, 0.5, 0))
work with colorsys color converters
hue = 0.14
print(ColorRgb.from_vec3(*colorsys.hls_to_rgb(hue, .5, .7)))
`
- **doc:** Add type hints and improve docstrings (fa14c9b2fc23b5c3d8b3e0e878b8c1550e15cc3d)
- **doc:** Add [api_reference.md](https://github.com/corsairofficial/cue-sdk-python/blob/master/api_reference.md) (fa14c9b2fc23b5c3d8b3e0e878b8c1550e15cc3d)
- **fix:** Fix issue with `TypeError` when using `get_led_id_for_key_name` function (816ad06e087b007f9b29b6b766f8839f7edd5f3d)