Add breathe mode

This commit is contained in:
manzerbredes 2016-03-29 18:10:31 +02:00
parent 09b9f7cad0
commit 232a405d39
2 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ public class App
device.setRegionColor(Region.MIDDLE, Color.ORANGE, Intensity.HIGH);
device.setRegionColor(Region.RIGHT, Color.PURPLE, Intensity.HIGH);
device.setMode(Mode.WAVE);*/
device.setMode(Mode.BREATHE);*/
}
}

View file

@ -136,7 +136,7 @@ public class Driver_1770_ff00 implements Driver, DriverTypeA{
this.mode=mode;
// Apply wave mode
if(this.mode==Mode.WAVE){
if(this.mode==Mode.WAVE || this.mode==Mode.BREATHE){
for(int i=0;i<Region.values().length;i++){
int entry=i*3; // 3 entry for each region (left:1,2,3 -- middle:4,5,6 -- right:7,8,9)
try {