The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Utility Engine (CUE) > CUE SDK

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-30-2015, 02:57 PM
Darth Affe's Avatar
Darth Affe Darth Affe is offline
//TODO add user title
Darth Affe's PC Specs
 
Join Date: Sep 2015
Location: UTC+1
Posts: 126
POST ID # = 811391
Darth Affe Reputation: 15
Post CUE-SDK Question/Feature Requests

Hey guys,

I've been messing around with the SDK for nearly two weeks now. In that time I run into quite a few problems which leads me to a question and some feature requests.

First of all the question: I recognized, that completely updating the keyboard leds at high frequency cause the keyboard to stall after some time.
I tried a full update every 20ms and the problem occurred reproducible after ~20s (16,8m color mode was disabled). I'm aware that using such update rates is barely useful, but i really wondered where the limitation comes from and more important what exactly the limit is, since i'd like to add some checks to (of course) always respect them.


Here's a random list with things I thought would be cool while working with the keyboard:
- SDK-function to get the currently set color for a led. (This would allow an application to use the CUE settings as base without the need to reconfigure them)

- SDK-event to be able to low-level hook all keys (most important G and other special keys). Maybe this should be a opt in option in CUE since there are potential security issues, but windows don't let you hook the G keys which is kinda sad. (Please someone proof me wrong on that point :p)

- Let "CorsairGetLedPositions" return the correct values for all logical layouts (at least DE is wrong).

- Let "CorsairGetLedIdForKeyName" return values for everything, not only letters. (This might become unimportant with the key-pressed-event available.)

- Maybe a function to modify/work with key assignments.
Reply With Quote
  #2  
Old 10-16-2015, 09:47 PM
Celebane Celebane is offline
Registered User
Celebane's PC Specs
 
Join Date: Oct 2015
Posts: 5
POST ID # = 814747
Celebane Reputation: 10
Default

Quote:
Originally Posted by Darth Affe View Post
Here's a random list with things I thought would be cool while working with the keyboard:
- SDK-function to get the currently set color for a led. (This would allow an application to use the CUE settings as base without the need to reconfigure them)
This would be really useful
Reply With Quote
  #3  
Old 10-20-2015, 05:21 AM
AterialDawn's Avatar
AterialDawn AterialDawn is offline
Catgirl Enthusiast
AterialDawn's PC Specs
 
Join Date: Oct 2015
Posts: 13
POST ID # = 815317
AterialDawn Reputation: 10
Default

Quote:
Originally Posted by Darth Affe View Post
- SDK-function to get the currently set color for a led. (This would allow an application to use the CUE settings as base without the need to reconfigure them)
This would be quite handy for shared-mode. +1 to this

Quote:
Originally Posted by Darth Affe View Post
- SDK-event to be able to low-level hook all keys (most important G and other special keys). Maybe this should be a opt in option in CUE since there are potential security issues, but windows don't let you hook the G keys which is kinda sad. (Please someone proof me wrong on that point :p)
This seems like it would be incredibly useful. Native support for G-Keys within games/applications that support hotkeys sounds amazing. Plus if we can detect G-Keys then I can finally do a Key Heatmap for them!
Reply With Quote
  #4  
Old 10-21-2015, 12:27 PM
Elestriel's Avatar
Elestriel Elestriel is offline
The Matriarch
Elestriel's PC Specs
 
Join Date: Sep 2014
Location: Canada
Posts: 1,103
POST ID # = 815597
Elestriel Reputation: 14
Default

Quote:
Originally Posted by Darth Affe View Post
- SDK-event to be able to low-level hook all keys (most important G and other special keys). Maybe this should be a opt in option in CUE since there are potential security issues, but windows don't let you hook the G keys which is kinda sad. (Please someone proof me wrong on that point :p)
I've talked to them about this on a few occasions, and it's being considered.

I'm actually fairly close to being able to hook into the G-keys, though, so if it doesn't come to the SDK I might be able to release a library that watches the keyboard and returns keystrokes.
Reply With Quote
  #5  
Old 10-21-2015, 04:15 PM
QuadraKev QuadraKev is offline
Registered User
QuadraKev's PC Specs
 
Join Date: Nov 2014
Posts: 1,181
POST ID # = 815639
QuadraKev Reputation: 14
Default

Quote:
Originally Posted by Darth Affe View Post
- SDK-function to get the currently set color for a led. (This would allow an application to use the CUE settings as base without the need to reconfigure them)
This would be pretty great for a little project I'm planning to do. I want to want to write a program to control an LED controller via USB to set case lighting based on what colors are currently present on my keyboard.

The other option I've been considering is buying some Corsair RGB peripheral, dismantling, modding it with LED strips, and connecting it to my mobo's USB header so that it can be controlled in CUE.
__________________
Click the picture for some nice simple color scheme profiles!

Reply With Quote
  #6  
Old 10-21-2015, 05:21 PM
Elestriel's Avatar
Elestriel Elestriel is offline
The Matriarch
Elestriel's PC Specs
 
Join Date: Sep 2014
Location: Canada
Posts: 1,103
POST ID # = 815646
Elestriel Reputation: 14
Default

Quote:
Originally Posted by Reapexx View Post
This would be pretty great for a little project I'm planning to do. I want to want to write a program to control an LED controller via USB to set case lighting based on what colors are currently present on my keyboard.

The other option I've been considering is buying some Corsair RGB peripheral, dismantling, modding it with LED strips, and connecting it to my mobo's USB header so that it can be controlled in CUE.
Why not just write a controller chip that can interpret CUE colour packets?

They're actually *super* simple, if you need the protocols I can tell you them.
Reply With Quote
  #7  
Old 11-25-2015, 02:10 PM
Whattf Whattf is offline
Registered User
 
Join Date: Nov 2015
Posts: 25
POST ID # = 822111
Whattf Reputation: 10
Default

I would also like a function to modify the Keyboard lock (numlock, scroll lock, caps lock) status lights.
Reply With Quote
  #8  
Old 04-07-2017, 08:02 PM
Comet ☄'s Avatar
Comet ☄ Comet ☄ is offline
Witch
Comet ☄'s PC Specs
 
Join Date: Feb 2016
Location: San Francisco Bay Area, California, U.S.A., Earth, Solar System, Orion Spiral Arm, Milky Way Galaxy, Local Group, Local Sheet, Local Volume, Virgo cluster, Virgo Supercluster, Laniakea Supercluster, Universe
Posts: 872
POST ID # = 898500
Comet ☄ Reputation: 10
Send a message via Yahoo to Comet ☄
Default

Quote:
Originally Posted by Whattf View Post
I would also like a function to modify the Keyboard lock (numlock, scroll lock, caps lock) status lights.
What do you mean by "modify"? They are not colored LEDs. And you don't need to use them; you can define profile switches on the NumLock, ScrollLock, and CapsLock keys to switch to profiles where the affected keys act as desired and you can use the NumLock, ScrollLock, and CapsLock keys themselves to act as indicators.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.