Skip to content

Commit ab0cb36

Browse files
committed
Update to iCUESDK v4.0.84
1 parent ee9e76f commit ab0cb36

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ This repository is dedicated for a `cuesdk` package on [PyPI](https://pypi.org/p
1414

1515
`cuesdk` can be used on the following platforms:
1616

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

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

3736
### macOS

src/cuesdk/api.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def get_library_path(lib_name):
3131

3232

3333
def get_library_path_windows():
34-
suffix = '.x64' if sizeof(c_void_p) == 8 else ''
35-
lib_name = 'iCUESDK' + suffix + '_2019.dll'
34+
lib_name = 'iCUESDK.x64_2019.dll'
3635
return get_library_path(lib_name)
3736

3837

@@ -73,6 +72,8 @@ def __exit__(self, type, value, traceback):
7372
def connect(
7473
self, on_state_changed: Callable[[CorsairSessionStateChanged], None]
7574
) -> CorsairError:
75+
if sizeof(c_void_p) < 8:
76+
return CorsairError(CorsairError.CE_NotAllowed)
7677
if on_state_changed is None:
7778
return CorsairError(CorsairError.CE_InvalidArguments)
7879

src/cuesdk/bin/iCUESDK.x64_2019.dll

512 Bytes
Binary file not shown.

src/cuesdk/bin/iCUESDK_2019.dll

-438 KB
Binary file not shown.

src/cuesdk/bin/libiCUESDK.dylib

4.17 KB
Binary file not shown.

src/cuesdk/enums.py

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class CorsairDeviceType(Enumeration):
9595
CDT_Motherboard = 0x0200
9696
CDT_GraphicsCard = 0x0400
9797
CDT_Touchbar = 0x0800
98+
CDT_GameController = 0x1000
9899
CDT_All = 0xFFFFFFFF
99100

100101

@@ -183,6 +184,7 @@ class CorsairChannelDeviceType(Enumeration):
183184
CCDT_Pump = 9
184185
CCDT_DRAM = 10
185186
CCDT_WaterBlock = 11
187+
CCDT_QX_Fan = 12
186188

187189

188190
class CorsairAccessLevel(Enumeration):
@@ -208,6 +210,7 @@ class CorsairLedGroup(Enumeration):
208210
CLG_DIY_Channel2 = 12
209211
CLG_DIY_Channel3 = 13
210212
CLG_Touchbar = 14
213+
CLG_GameController = 15
211214

212215

213216
class CorsairLedId_Keyboard(Enumeration):

src/cuesdk/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.0.3"
1+
__version__ = "4.0.84"

0 commit comments

Comments
 (0)