Making software to have bias lighting on handheld gaming PCs, could use a few pointers

  • Hey there, for my free open source project I'm developing a software feature to use the RGB LEDs that can be found around the joysticks on gaming handhelds like the ROG Ally, Ayaneo and others for bias lighting. Example:

    Kena-Average-Color-Test
    streamable.com

    I have all the basics working:

    1. At 30 FPS, interpret the screen, determine average color near the top left and right middle
    2. Average out the colors of the last 5 frames for smoothing
    3. Update the LEDs around the left and right joystick accordingly

    What I could use help with:

    1. LED color calibration. My LEDs are a bit off, so red on the screen, turns into pink for the LEDs, even though the LED has a proper red color. Same for greens and white but blue is pretty good. I've been digging around the internet and it seems I could make something of an offset map/look up table and depending on which color is closest, do some linear interpolation, but I'm not sure. How does Hyperion do this? Could someone link me to the code in question?
    2. Gaming specific. As this feature will mostly be used during gaming, does anyone have some specific recommendations for features or considerations when it comes to gaming?

    Link to the FOSS project: Handheld Companion

  • CasperH2O

    Hat den Titel des Themas von „Making software to have bias lighting on handheld gaming PCs could use a few pointers“ zu „Making software to have bias lighting on handheld gaming PCs, could use a few pointers“ geändert.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!