Skip to content

Commit

Permalink
Update to iCUESDK v4.0.84
Browse files Browse the repository at this point in the history
  • Loading branch information
icue-sdk committed Nov 21, 2023
1 parent ee9e76f commit ab0cb36
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ This repository is dedicated for a `cuesdk` package on [PyPI](https://pypi.org/p

`cuesdk` can be used on the following platforms:

- Windows 7 (32-bit and 64-bit);
- Windows 8, 8.1 (32-bit and 64-bit);
- Windows 10 (32-bit and 64-bit);
- Windows 11 (32-bit and 64-bit);
- Windows 7 (x64);
- Windows 8, 8.1 (x64);
- Windows 10 (x64);
- Windows 11 (x64);
- macOS 10.13;
- macOS 10.14;
- macOS 10.15;
Expand All @@ -31,7 +31,6 @@ This repository is dedicated for a `cuesdk` package on [PyPI](https://pypi.org/p

- [iCUE for Windows](https://www.corsair.com/icue)
- Microsoft Visual C++ Redistributable for Visual Studio 2019.
- x86 <https://aka.ms/vs/17/release/vc_redist.x86.exe>
- x64 <https://aka.ms/vs/17/release/vc_redist.x64.exe>

### macOS
Expand Down
5 changes: 3 additions & 2 deletions src/cuesdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ def get_library_path(lib_name):


def get_library_path_windows():
suffix = '.x64' if sizeof(c_void_p) == 8 else ''
lib_name = 'iCUESDK' + suffix + '_2019.dll'
lib_name = 'iCUESDK.x64_2019.dll'
return get_library_path(lib_name)


Expand Down Expand Up @@ -73,6 +72,8 @@ def __exit__(self, type, value, traceback):
def connect(
self, on_state_changed: Callable[[CorsairSessionStateChanged], None]
) -> CorsairError:
if sizeof(c_void_p) < 8:
return CorsairError(CorsairError.CE_NotAllowed)
if on_state_changed is None:
return CorsairError(CorsairError.CE_InvalidArguments)

Expand Down
Binary file modified src/cuesdk/bin/iCUESDK.x64_2019.dll
Binary file not shown.
Binary file removed src/cuesdk/bin/iCUESDK_2019.dll
Binary file not shown.
Binary file modified src/cuesdk/bin/libiCUESDK.dylib
Binary file not shown.
3 changes: 3 additions & 0 deletions src/cuesdk/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class CorsairDeviceType(Enumeration):
CDT_Motherboard = 0x0200
CDT_GraphicsCard = 0x0400
CDT_Touchbar = 0x0800
CDT_GameController = 0x1000
CDT_All = 0xFFFFFFFF


Expand Down Expand Up @@ -183,6 +184,7 @@ class CorsairChannelDeviceType(Enumeration):
CCDT_Pump = 9
CCDT_DRAM = 10
CCDT_WaterBlock = 11
CCDT_QX_Fan = 12


class CorsairAccessLevel(Enumeration):
Expand All @@ -208,6 +210,7 @@ class CorsairLedGroup(Enumeration):
CLG_DIY_Channel2 = 12
CLG_DIY_Channel3 = 13
CLG_Touchbar = 14
CLG_GameController = 15


class CorsairLedId_Keyboard(Enumeration):
Expand Down
2 changes: 1 addition & 1 deletion src/cuesdk/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.0.3"
__version__ = "4.0.84"

0 comments on commit ab0cb36

Please sign in to comment.