![]() |
#31
|
||||
|
||||
![]()
I just published a new version (1.1.1)
https://github.com/DarthAffe/CUE.NET...ses/tag/v1.1.1 Nuget-packages are of course up2date. |
#32
|
|||
|
|||
![]()
I would like to ask, is this API allows to hook / capture the extra G buttons presses in a C# application?
|
#33
|
||||
|
||||
![]()
Well somehow. There is already a extension to do this (https://github.com/DarthAffe/CUE.NET.Input, but since I'm not sure if it works with all devices, I won't providing this as nuget or 'official' binary right now.
I attached you two zips: The first is a demo application which allows you to test if the library works for you (I can't promise anything right now). Just run the keyboard test and you should get some sort of reactive typing. The second is the current latest version. To use it just reference CUE.NET.Input.dll and HidSharp.dll and install the CUE.NET nuget-package. After adding the using "CUE.NET.Input" you should be able to register an input-handler by calling Code:
CueSDK.KeyboardSDK.RegisterOnInput(MyKeyInputEventHandler); You can also look at the example project - this is the code to the test-exe I attached. If it works, it would be interesting to hear with which device you're using it! |
#34
|
|||
|
|||
![]()
Thanks Darth Affe, tried it out and looks like the SDK is initialized but there was no connection with the keyboard.
Probably cause of the targeted keyboard is a K95 vengeance (non RGB) type? Do you think the your shared SDK should work with it or another SDK belongs to it? Meanwhile find a solution to set macros for the G buttons as "fake buttons" like F13 .. F24, but it's only 12 extra buttons and the rest of 6 still missing, so looking for something better. |
#35
|
||||
|
||||
![]() Quote:
|
#36
|
||||
|
||||
![]()
I just published a new version (1.1.2)
https://github.com/DarthAffe/CUE.NET...ses/tag/v1.1.2 Nuget-packages are of course up2date. |
#37
|
|||
|
|||
![]()
Hi, I just wanted to know if there was a way to integrate game detection and game variables to the SDK, such as getting the health of your player and making a health bar based off of that onto the keyboard?
|
#38
|
||||
|
||||
![]() Quote:
Of course you can draw things like health bars with the SDK but you'd need to write your own game detection/integration to get the values you want to display. |
#39
|
||||
|
||||
![]()
I just published a new version (1.1.3)
https://github.com/DarthAffe/CUE.NET...ses/tag/v1.1.3 Nuget-packages are of course up2date. |
#40
|
|||
|
|||
![]()
what's this?
when i running CueSDK.Initialize(); Quote:
Quote:
|
#41
|
||||
|
||||
![]()
Well the interesting line of the error (most likely the first) is missing but from what I can see it seems like there is a problem with your CUE.
Is CUE installed and running? Is the SDK-support in CUE enabled? |
#42
|
|||
|
|||
![]()
so i must install Corsair Utility Engine and running and enabled SDK-support in cue ?
|
#43
|
||||
|
||||
![]()
Yes, otherwise you the SDK won't work.
|
#44
|
|||
|
|||
![]() Quote:
|
#45
|
||||
|
||||
![]() Quote:
Code:
CorsairKeyboard keyboard = CueSDK.KeyboardSDK; keyboard.Brush = new SolidColorBrush(Color.Black); // Black background - this will allow the foreground to fade away ILedGroup keyboardLeds = new ListLedGroup(device, device); // replace this if you don't want to fade all leds keyboardLeds.Brush = // add your brush here and change it's opacity. Don't forget to call 'CueSDK.KeyboardSDK.Update()' afterwards or set the UpdateMode to Continuous to enable auto-updates |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|