GithubHelp home page GithubHelp logo

Corsair Pong effect about ttcontroller HOT 5 CLOSED

moshimoshi0 avatar moshimoshi0 commented on August 31, 2024
Corsair Pong effect

from ttcontroller.

Comments (5)

MoshiMoshi0 avatar MoshiMoshi0 commented on August 31, 2024

That is a cool effect. I'll add it.

Riing trio is a little bit tricky, you need to specify the correct number of leds in PortConfig, and in this case since you are using an effect that returns only one color, you need to copy that color 30 times using LedCountHandling.

Its on TODO to force FullColorEffect to return the colors copied automatically so you dont need to use LedCountHandling.

Add this above/below sensor configs and the color should be working:

  "PortConfigs": [
    {
      "Ports": [
        [9802, 8501, 1],
        [9802, 8501, 2],
        [9802, 8501, 3],
        [9802, 8501, 4],
        [9802, 8501, 5]
      ],
      "Config": {
        "LedCount": 30,
        "LedCountHandling": "Copy"
      }
    }
  ],

edit: although that effect might be hard to test since i dont have riing trio/duo fans...

from ttcontroller.

dartmoose avatar dartmoose commented on August 31, 2024

Thanks, that worked perfectly! All set now.

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 31, 2024

Hi, Ive added that corsair effect. It is available in the dev build here.

There has been some changes to the config format so let me know if you need help.
Config that should work based on the above config (works only on dev build):

{
  "Profiles": [
    {
      "Name": "Default",
      "Guid": "10af9207-7e67-4581-9d13-506cad5d53c1",
      "Ports": [
        [9802, 8501, 1],
        [9802, 8501, 2],
        [9802, 8501, 3],
        [9802, 8501, 4],
        [9802, 8501, 5]
      ],
      "SpeedControllers": [
        {
          "Type": "StaticSpeedController",
          "Config": {
            "Speed": 50,
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
        }
      ],
      "Effects": [
        {
          "Type": "PingPongEffect",
          "Config": {
            "Step": 0.01,
            "Height": 0.2,
            "Width": 0.5,
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
         }
      ]
    }
  ],
  "PortConfigs": [
    {
      "Ports": [[9802, 8501, 1]],
      "Config": {
        "LedRotation": [0, 0, 0]
      }
    },
    {
      "Ports": [[9802, 8501, 2]],
      "Config": {
        "LedRotation": [0, 0, 0]
      }
    },
    {
      "Ports": [[9802, 8501, 3]],
      "Config": {
        "LedRotation": [0, 0, 0]
      }
    },
    {
      "Ports": [[9802, 8501, 4]],
      "Config": {
        "LedRotation": [0, 0, 0]
      }
    },
    {
      "Ports": [[9802, 8501, 5]],
      "Config": {
        "LedRotation": [0, 0, 0]
      }
    }
  ],
  "SensorConfigs": [
    {
      "Sensors": [ "/amdcpu/0/temperature/0" ],
      "Config": {
        "CriticalValue": 75
      }
    }
  ]
}

You now have to edit "PortConfigs" section and update "LedRotation" for each fan. Each "LedRotation" is a list with led offsets for each zone. Riing Trio has 3 zones so there are 3 offsets. The first two offsets are for the outer rings so you want to set them to the same value, the last offset should be the inner ring.

Effect config explanation:

  • Step: how much should the light advance each tick
  • Height: Height of the light strip
  • Width: Width of the light strip

Here is a small demo but I only have Riing fans, should look better with Riing Trio/Duo:
https://gfycat.com/repulsiverapidafricanpiedkingfisher

from ttcontroller.

jlaineinat0r avatar jlaineinat0r commented on August 31, 2024

Think the zip provided is missing the effect, was curious to try this out. Though getting it to work may make me want to upgrade my fans...

from ttcontroller.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 31, 2024

Download from here:
https://ci.appveyor.com/project/MoshiMoshi0/ttcontroller/builds/27420953/artifacts

I doubt corsair allows you to rotate the fans in the software, so you will have to physically rotate them to match, but that will change cable routing.

from ttcontroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.