-
Notifications
You must be signed in to change notification settings - Fork 2
Mouse Object
Initialize:
Mouse = Chroma.Mouse()
sets the Mouse-LED-Grid to one color.
Usage: setColor(Color)
Example:
Mouse.setColor(RED) or Mouse.setColor((255,0,0)) //RGB for RED
sets a specific column of LEDs of the MouseLED-Grid to one color.
Usage: setbyCol(Column, Color)
Example:
Mouse.setbyCol(3,RED) or Mouse.setbyCol(3,(255,0,0)) //RGB for RED
sets a specific row of LEDs of the Mouse-LED-Grid to one color.
Usage: setbyRow(Row, Color)
Example:
Mouse.setbyRow(3,RED) or Mouse.setbyRow(3,(255,0,0)) //RGB for RED
sets a specific LEDs of the Mouse-LED-Grid to one color.
Usage: setbyGrid(X, Y, Color)
Example:
Mouse.setbyGrid(3,4,RED) or Mouse.setbyGrid(3,4,(255,0,0)) //RGB for RED
clears the Mouse-LED-Grid.
Usage: clearGrid()
Example:
Mouse.clearGrid()
applies the Mouse-LED-Grid to the Keyboard.
Usage: applyGrid()
Example:
Mouse.applyGrid()
sets the Mouse to Breathing.
Usage: setBreathing(mode,Color1,Color2)
Mode: 1 - two colors, 0 - random colors
Example:
Mouse.setBreathing(1,RED,GREEN) or Mouse.setBreathing(0,0,0)
sets the Keyboard to Wave.
Usage: setWave(direction)
Direction: 1 - top to bottom, 2 - bottom to top
Example:
Mouse.setWave(1)
resets the current Chroma-Effect.
Usage: resetEffect()
Example:
Mouse.resetEffect()
Maximum columns of the Mouse-LED-Grid. Hint: Use this as iteration borders.
Example:
Mouse.MaxColumn
Maximum LEDs of the Mouse-LED-Grid. Hint: Use this as iteration borders.
Example:
Mouse.MaxLED
Maximum rows of the Mouse-LED-Grid. Hint: Use this as iteration borders.
Example:
Mouse.MaxRow