These are chat archives for CoraleStudios/Colore

1st
Oct 2015
LBTama
@LBTama
Oct 01 2015 02:31
i tried to run " Keyboard.Instance.SetAll(Color.Red);" but it keeps giving me "The type initializer for 'Corale.Colore.Razer.NativeMethods' threw an exception." when i run it. is there something missing?
Jerrith2
@Jerrith2
Oct 01 2015 05:04
@LBTama A guess: Did you remember to change the Api Compatibility Level from ".NET 2.0 Subset" to ".NET 2.0" in PlayerSettings? (Edit -> Project Settings -> Player)
Now for my question: I've just started using Colore and Chroma. It seems like there's a transition time when I'm trying to set a static color of something between 1 and 3 seconds? Is there a way to make it instant, like the Chroma SDK sample? (Or something I might be doing wrong preventing it from being instant?) Thanks! :)
LBTama
@LBTama
Oct 01 2015 05:45
@Jerrith2 Thanks but i'm using visual studio not unity. sadly.
Okay, I kind of solved it by changing it to .net framework 4.6. but now i get "Call to native Chroma SDK function CreateKeyboardEffect failed with error: RzResourceDisabled: Resource not available or disabled. (4309)"
Adam Hellberg
@Sharparam
Oct 01 2015 10:45
It should work with any .NET Framework >= 3.5. What version of Colore are you using? (AnyCPU, x86, x64, NuGet?) Have you made sure Colore and the SDK are up to date?
@LBTama ^
LBTama
@LBTama
Oct 01 2015 13:41
@Sharparam i am using AnyCPU ver 2.2.1, sdk ver4.8
Adam Hellberg
@Sharparam
Oct 01 2015 16:37
@LBTama make sure you followed all the steps installing the SDK and that no other chroma programs are running at the same time as your app (having Synapse running should work with latest sdk, but you could always try closing that as well). You could also try a restart of your system to see if that changes anything
Jerrith2
@Jerrith2
Oct 01 2015 17:31

Is there a trick to getting instant effects, like in the Chroma SDK demo app? I'm looking for an instant transition, instead of the long transitions I'm seeing at the moment.

I tried doing a clear followed by the color I wanted, but that gave mixed results (sometimes devices would shift instantly, and sometimes they'd just turn off).

Adam Hellberg
@Sharparam
Oct 01 2015 18:10
@Jerrith2 which devices? the effects i test on blackwidow and deathadder seem to all switch instantly
tested mousepad, it seems to have the delay when switched using Static
AFAIK that's in the SDK itself. i haven't tested but it probably behaves the same using C++
we'll look into changing Colore to use Custom where possible to achieve instant color change on all devices
Adam Hellberg
@Sharparam
Oct 01 2015 18:16
currently Mousepad uses Static for its SetAll method, whereas keyboard uses Custom
Jerrith2
@Jerrith2
Oct 01 2015 23:01
All 5 devices (Mamba TE for mouse, Orbweaver for Keypad). I'll give Custom a try and let you know how that works tonight.