Is there a basic guide to making a Chroma keyboard profile?

Discussion in 'Razer Chroma' started by Mr Big Stuff, Dec 15, 2016.

Tags:
Thread Status:
Not open for further replies.
  1. MrBigStuff

    MrBigStuff Member

    So,I know the basics of c++,I am learning it in school and want to use it to program my Blackwidow Chroma,I haven't a clue how to start but I am eager to learn,does anyone know any guides or something of the sort?
     
  2. Vaypron

    Vaypron Well-Known Member

    Hey there,
    If you only want to create Profiles, you should use the Advanced Chroma Configurator within Synapse. It's really easy to use.

    If you want to integrate Chroma effects into program, or build your own chroma app
    the best start would be to take a look at the two existing samples.

    First one is the official Sample by Razer:
    https://github.com/ChromaSDK/OfficialSample
    but that can be very overwhelming for people that aren't that familiar with C++.

    Second one is a quick-start sample by me:
    https://github.com/ChromaSDK/quickstart-sample
    It's very minimalistic, but contains everything to get started.


    If you have any questions (whether C++ or the Chroma SDK), feel free to ask :)
     
  3. CalcProgrammer1

    CalcProgrammer1 Active Member

    You can also look at my keyboard visualizer code if you want an example of how to take an image and map it to various Razer devices. I have pretty much all the Chroma products supported. The main things are initializing the DLL and then getting function pointers to the various CreateEffect functions to call in your program. If you're mapping one set of colors to another (such as pixels in an image to different Chroma LEDs) I recommend creating look up tables for this mapping at initialization time to save from processing this mapping every time through the update loop.

    https://github.com/CalcProgrammer1/KeyboardVisualizerVCUI

    Have a look at RazerChroma.h/cpp for my implementations. It takes a 256x64 bitmap image (COLORREF[64][256]) as an input, which is what shows on screen as the preview if you run my application.
     
Thread Status:
Not open for further replies.
Sign In with Razer ID >


Don't have a Razer ID yet?
Get Razer ID >