-
Notifications
You must be signed in to change notification settings - Fork 2
Mousepad Object
Initialize:
Mousepad = Chroma.Mousepad()
sets the Mousepad-LED-Grid to one color.
Usage: setColor(Color)
Example:
Mousepad.setColor(RED) or Mousepad.setColor((255,0,0)) //RGB for RED
sets a specific LED of the Mousepad-LED-Grid to one color.
Usage: setbyLED(LED, Color)
Example:
Mousepad.setbyLED(3,RED) or Mousepad.setbyLED(3,(255,0,0)) //RGB for RED
clears the Mousepad-LED-Grid.
Usage: clearLED()
Example:
Mousepad.clearLED()
applies the Mousepad-LED-Grid to the Mousepad.
Usage: applyLED()
Example:
Mousepad.applyLED()
sets the Mousepad to Breathing.
Usage: Usage: setBreathing(mode,Color1,Color2)
Mode: 1 - two colors, 0 - random colors
Example:
Mousepad.setBreathing(1,RED,GREEN) or Mousepad.setBreathing(0,0,0)
sets the Mousepad to Wave.
Usage: setWave(direction)
Direction: 1 - left to right, 2 - right to left
Example:
Mousepad.setWave(1)
resets the current Chroma-Effect.
Usage: resetEffect()
Example:
Mousepad.resetEffect()
Maximum LEDs of the Mousepad-LED-Grid. Hint: Use this as iteration borders.
Example:
Mousepad.MaxLED