by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 14 12:56
    poveden commented #279
  • Mar 13 23:15
    poveden commented #279
  • Jan 15 18:42
    M1XT3NZ commented #280
  • Jan 15 13:07
    Sharparam commented #280
  • Jan 15 13:06
    Sharparam assigned #280
  • Jan 15 13:06
    Sharparam labeled #280
  • Jan 15 02:44
    M1XT3NZ opened #280
  • Jan 09 11:44

    Sharparam on 6.0.0

    Fix dead link Fix dead link (#277) Fix dead … (compare)

  • Jan 09 11:44
    Sharparam closed #277
  • Jan 09 11:44
    Sharparam commented #277
  • Jan 09 11:43
    Sharparam milestoned #277
  • Jan 09 11:43
    Sharparam assigned #277
  • Jan 09 11:43
    Sharparam labeled #277
  • Jan 09 11:42
    Sharparam edited #277
  • Jan 09 11:42
    Sharparam commented #277
  • Jan 09 09:43
    PerhapsSomeone commented #277
  • Jan 09 09:41
    PerhapsSomeone commented #277
  • Jan 08 21:18

    Sharparam on 6.0.0

    Update Cake tool versions (compare)

  • Jan 08 21:15

    Sharparam on 6.0.0

    Update test project to .NET Cor… Update tests Add icon and 1 more (compare)

  • Jan 08 20:24

    Sharparam on 6.0.0

    Implement Serializable properly… (compare)

Adam Hellberg
@Sharparam
you can query a GUID and get the device type and whether it's connected, not any details about its layout
see: DeviceType struct and Query method on Chroma class
DeviceInfo*
Dariusz Niemczyk
@Palid
Well, we can try with the Model Number then.
Adam Hellberg
@Sharparam
it cannot be queried
we can only get type of device (keyboard, mouse et.c) and whether it's connected
Dariusz Niemczyk
@Palid
@Sharparam you sure that it can't be queried? I'm not talking about SDK now.
Let's just agree that SDK sucks and try different methods. :P
Adam Hellberg
@Sharparam
you could probably start making your own stuff to read USB data, but then you're reverse engineering and breaking rules and shit
Adrian
@WolfspiritM
You could query the USB somehow
Dariusz Niemczyk
@Palid
tbh if Razer would start doing something against 'illegal rev-eng' in this case they would lose a lot of fanbase.
Adrian
@WolfspiritM
Even having the model...I think using InputLanguage.CurrentInputLanguage as an ugly workaround would be easier instead somehow mapping model/guid to region to key
Dariusz Niemczyk
@Palid
but yeah, let's not go into this discussion. :D
@WolfspiritM There's a problem with ugly workarounds: they are ugly and always do a problem in edge cases.
and here the edge case isn't even so edge-like.
Adrian
@WolfspiritM
Querying the USB for a model number is nothing more then a ugly workaround, too...
Dariusz Niemczyk
@Palid
True, but a bit more bulletproof.
Adam Hellberg
@Sharparam
@/all Whoever had issues with exceptions from UnInit can you try using feature/uninit-improvement and see if that fixes the issue?
Adrian
@WolfspiritM
@Palid I don't really see where it would be much more bulletproof. It won't fix multiple keyboards with different layouts nor remapped keys. But you can sure try querying USB :-)
@Sharparam I will try it later. Thanks!
Adam Hellberg
@Sharparam
@WolfspiritM also if you find issues with it please comment about them here: CoraleStudios/Colore#108
Adrian
@WolfspiritM
@Sharparam alright
Dariusz Niemczyk
@Palid
@WolfspiritM will do if I have some time this weekend
got so many tickets that I'll have to work overtime on the weekend :(
ok so i have my code above
and it keeps giving me this throw exception
any ideas on a work around or what i did wrong?
Nico
@njbmartin
That means that the ChromaSDK hasn't been enabled
Ryan Hill
@Aurous
yep... i thought i had enabled it.. i guess in the updates or something on my computer i needed to reenable it...
Nico
@njbmartin
In synapse, go to any chroma device and you'll see a Chroma Apps menu item. make sure "Chroma Apps" is enabled
yeah, the latest update to synapse adding this functionality made it disabled by default
certainly caught me out
Ryan Hill
@Aurous
I just used the reg file to enable, and the codes magically working, of course
Adam Hellberg
@Sharparam
reg files aren't used anymore since the release of the SDK
and integration in synapse
Nico
@njbmartin
yeah, that wasn't made clear to the dev community when synapse updated ;)
Ryan Hill
@Aurous
Do you even need to close synapse now? Or can you just leave it open?
Adam Hellberg
@Sharparam
i think there can still be issues with advanced profiles, but maybe they fixed that too
Ryan Hill
@Aurous
Ah, that's good
Nico
@njbmartin
not yet, the current public SDK version still has an issue with profiles overlapping
Ryan Hill
@Aurous
How would I use RGB with corale.colore.core.color?
Adam Hellberg
@Sharparam
var color = new Color(r, g, b);
@brandonscott said there's an issue with one of the constructors but i don't think it's the byte one. he has yet to tell me which one has issues though
Ryan Hill
@Aurous
Thank you
Nico
@njbmartin
oh i remember @brandonscott saying there was an issue with one of them having the R and B swapped
Adam Hellberg
@Sharparam
@njbmartin CoraleStudios/Colore#92
Ryan Hill
@Aurous
So why isn't the color codes set up to read in int instead of byte?
Adam Hellberg
@Sharparam
@Aurous RGB values are 0-255, same range as a byte. this is also how they are constructed internally in the sdk (or via the int constructor on Color, taking a 32bit integer in the format of 0xAARRGGBB)