Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 08 15:23
    iprisj edited #276
  • Nov 08 12:48
    iprisj opened #276
  • Nov 08 08:29
    Sharparam closed #275
  • Nov 08 08:29
    Sharparam commented #275
  • Nov 08 00:20
    iprisj opened #275
  • Sep 27 12:48
    MasterR8 closed #273
  • Sep 05 16:31
    MasterR8 commented #273
  • Sep 05 16:23
    Sharparam commented #273
  • Sep 05 16:07
    MasterR8 commented #273
  • Sep 03 09:46
    Sharparam commented #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:43
    Sharparam milestoned #274
  • Sep 03 09:43
    Sharparam commented #274
  • Sep 03 09:42
    Sharparam labeled #274
  • Sep 03 09:06
    poveden edited #274
  • Sep 03 09:06
    poveden opened #274
  • Aug 15 16:13
    MasterR8 opened #273
  • Aug 12 21:50

    Sharparam on 6.0.0

    Updating the Getting Started Gu… Assuming that v6.0 is not be a … Restore Front Matter and 9 more (compare)

  • Aug 12 21:50
    Sharparam closed #271
Adam Hellberg
@Sharparam
in v5.2.0 as: Chroma.Instance.ChromaLink[myIndex] = Color.Blue;, or in v6.x as: chroma.ChromaLink[myIndex] = Color.Blue; (where chroma is an instance previously obtained via ColoreProvider, for example var chroma = await ColoreProvider.CreateNativeAsync();)
PsiQss
@PsiQss
Thank you.
I managed to change colors in the HDK before, but only all colors of a strip. if I use:
Chroma.Instance.ChromaLink[2] = Color.Blue;
It will set ALL the LEDs on a strip on port 1 to blue, which is not really what I'm looking for. I tried to mess around with the CustomEffect but still can't figure out how to access individual LEDs. The built-in Starlight effect lights them up randomly, so there has to be a way to access them somehow, probably through creation of a custom effect.
Unless by saying "the SDK lets you set 5 different LED indices for Chroma Link.." you mean that's the only thing the SDK lets you do? If that's the case, I'm going to whine to the SDK devs :P
Adam Hellberg
@Sharparam
@PsiQss the SDK only exposes 5 LED indices, so i don't think there's anything more that can be done
IIRC they correspond to the different connections on the chroma link device? i don't have a chroma link so i'm not sure how it's set up
Adam Hellberg
@Sharparam
@PsiQss this page seems to explain how the 5 different "virtual LEDs" work: https://developer.razerzone.com/works-with-chroma/chroma-link-guide/
so it seems index 0 is for every LED, and index 1-4 is for limited control of sections of LEDs
PsiQss
@PsiQss

Yup, I've read through that page. The problem is, they've basically implemented their HDK like third party devices, which does not make any sense to me. Virtual LEDs are pretty much just zones. With HDK you can have 4 LED strips connected. Chroma Link 1 is all strips, CL2 is strip 1, CL3 is strip 2 and so on. Each strip has 16 LEDs on them, and that's what I'm trying to address. You'd think chroma.ChromaLink[i] would apply an effect to an entire zone, while CustomEffect would allow you to set up a custom effect while accessing individual LEDs, but that doesn't seem to be the case. As I mentioned before, the built in Starlight effect DOES manipulate the LEDs individually, 1 by 1, so it doesn't make any sense to me for them to not allow us to program our own effects.

Anyways, seems like it actually isn't possible through the SDK, I'll have to either find another way around it or just scrap my entire idea due to SDK limitations.. I just can't understand why would they implement their own HDK as CL device.. Well thanks for the help, I'll go harass the razer devs now since it doesn't seem to be a Colore issue ;)

Adam Hellberg
@Sharparam
yeah, unfortunately the SDK does not give access to those individual LEDs
the starlight effect might be implemented in the firmware of the strips or something, so it is entirely contained in the hardware
there are some people who go the route of reverse engineering the interfaces and addresses the hardware directly, that might give more control
PsiQss
@PsiQss
I'm not that advanced to reverse engineer stuff, especially in C++ but I might try to find and ask those guys that do this, maybe they can give me some hints. Thanks for all the help, I'll probably return when I have more questions lol :P And huge thanks for the amazing Colore library!
Adam Hellberg
@Sharparam
no problem!
Christian Georgiev
@thechrisgeorgiev
Hi, so im having problems with corale on c#
So i have imported Corale and was trying to test it on a razer keyboar but the problem is i keep getting '' dose not exist in the current context, the error could be simple to fix but im not so good in c#
Adam Hellberg
@Sharparam
@thechrisgeorgiev did you add it via NuGet, and are you adding the necessary using statements and/or using the fully qualified name to access it? (Visual Studio should auto-suggest adding the using statement but maybe it's not for some reason)
try doing something like (if on v5.2.0 of Colore): Corale.Colore.Core.Chroma.Instance.Keyboard.SetAll(Corale.Colore.Core.Color.Red); (this is using fully qualified names for everything)
HoangTheBoss
@HoangTheBoss
Hi, I just wanna say that the wiki on github is misleading user.
Adam Hellberg
@Sharparam
@HoangTheBoss the "Getting Started" on wiki has been updated for 6.0. I guess we should've kept the v5.2 version accessible though. we didn't think it would take this long to get v6.0 release, so we got a bit over-enthusiastic i guess
Adam Hellberg
@Sharparam
@HoangTheBoss i have added the v5.2 getting started guide back and a link pointing to it in the new guide
Daniel
@Paladinleeds
So I've had a quick glance on this (I am one of the contributors for an app using Colore). It seems that there's just a "mousepad" class, which I guess is the Generic Super Ring Pattern (since the Base Station Chroma and the Chroma Mug also use this). Is it possible using https://developer.razer.com/works-with-chroma-v1/razer-chroma-led-profiles/ to add a separate profile for the Firefly to use as an override over the Generic Super Ring?
Adam Hellberg
@Sharparam
@Paladinleeds the Mousepad class will work for controlling the Firefly. It's the only Chroma-enabled mousepad as far as I'm aware. It's not currently possible to control specific devices in the SDK, so if the base station and mug use the same kind of interface in the drivers, then setting a mousepad effect might set it on all three at once. If that's the case then there's nothing that can really be done unless Razer adds an option to set effects on specific devices in some way
Rudolf Frank
@RudolfFrank_twitter
Hello, I'm fairly new to tinkering with the razer SDK and have Philips Hue lights linked to Chroma. I know that it has to be possible to adress them through the SDK, since some custom profiles (Factorio) has them enabled, possibly by accident. I've tried with Chroma.Instance.SetAll but it only changed the keyboard. Is there any other class I could try for this?
Adam Hellberg
@Sharparam
@RudolfFrank_twitter how are the hue lights connected to chroma, via the Chroma Link thing?
what is written on it on Razer's site seems to suggest it requires Synapse 3, so advanced control of Philips Hue may not be in the SDK yet (internal Razer applications have more advanced APIs available to them which they sadly have not made public)
Rudolf Frank
@RudolfFrank_twitter
It's connected via Synapse 3 - as I understand Chroma Link is for non Razer Chroma devices. The only thing indicating that it should be somehow possible per SDK is the existence of (third party) game profiles that actually modify the hue lights. Or are those programmed differently?
Rudolf Frank
@RudolfFrank_twitter
Okay now I've actually seen that it's not a third party mod, but officially integrated into the game. Was a mod for a while which actually used your library. Can't say if it had the Hue effects then or not.
Adam Hellberg
@Sharparam
It might be using something else to interface with the Hue then, I'm not aware of any methods in the SDK that allow control of it. Seeing as the Hue integration wasn't added until Synapse 3, maybe we'll see such methods in an upcoming SDK release
It could be worth contacting the Factorio developers and see if they are able to share how they did it
Rudolf Frank
@RudolfFrank_twitter
I've updated to api v6.0 now (stupid of me not doing it earlier) and hue actually reacts to changes on chromalink! Interestingly not to chroma.SetAllAsync though
Adam Hellberg
@Sharparam
hm
@RudolfFrank_twitter i'm guessing setting a custom effect on the chroma link doesn't affect it either then, since that's what SetAllAsync uses
that or something isn't working right with the Custom effect
Rudolf Frank
@RudolfFrank_twitter
setting a custom effect does work. I can even adress my hue devices seperatly. setting all devices just turns the hue lights off though.
Adam Hellberg
@Sharparam
So setting all devices and setting all on the Chroma link has that issue?
This is strange
Rudolf Frank
@RudolfFrank_twitter
ChromaLink.SetAllAsync and ChromaLink.ChromaLinkCustom both work fine. chroma.SetAllAsync only sets the keyboard.
Adam Hellberg
@Sharparam
ah, well i found the issue. chroma.SetAllAsync is missing a call to set all colors on the chroma link
@RudolfFrank_twitter 6.0.0-unstable151 is now available from MyGet which should fix the issue: https://www.myget.org/feed/coralestudios/package/nuget/Colore/6.0.0-unstable0151
Rudolf Frank
@RudolfFrank_twitter
thank you very much!
Adam Hellberg
@Sharparam
thank you for reporting the issue :)
Jack Morgan
@JackMorgan9_twitter
Hi folks, does this work with the razer emulator? I don't own razer devices myself, but would be nice to incorporate features for them. I've created a blank test form and added the exact sample code from the 5.2 guide, but emulator does not change colour. Thanks
Adam Hellberg
@Sharparam
@JackMorgan9_twitter i haven't looked into exactly how the emulator functions, but assuming it emulates the SDK DLLs in some way, it should work
Adam Hellberg
@Sharparam
@JackMorgan9_twitter i tested it now with the keyboard and it seems to work. I checked the checkbox for "Keyboard", then launched the window with "Show", and set colors via Colore, it updated the emulator. What steps are you taking when testing the emulator?
Jack Morgan
@JackMorgan9_twitter
Installed Colore with nuget, installed emulator, Created blank winforms, added button, on the buttons click event, put the sample code in to change all colours to red. Also have keyboard ticked and pressed show.
Jack Morgan
@JackMorgan9_twitter
@Sharparam On thinking about it, maybe it's because I don't have any razer devices. I do have the "RzChromaSDK64.dll" located in "Windows\System32" and "C:\Program Files\Razer Chroma SDK\bin"
Adam Hellberg
@Sharparam
the emulator should work without any devices as long as you have synapse installed (which installs the chroma sdk)
Jack Morgan
@JackMorgan9_twitter
How strange. I'll re-install everything and create a new winforms. Thanks for the help
Adam Hellberg
@Sharparam
@JackMorgan9_twitter focus on Colore is mostly on the 6.0 version now. 5.2 should work with the emulator, but just to rule out that as an issue, can you try with 6.0.0 from here? https://www.myget.org/feed/coralestudios/package/nuget/Colore
Jack Morgan
@JackMorgan9_twitter
@Sharparam Will do, i'll let you know
Adam Hellberg
@Sharparam
(note that the API changes quite a bit as everything is now async and the process of obtaining an instance of Chroma has changed)