X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2FCakeLight.java;h=815683315bce49249e33753a7240366d7ed2c2f7;hb=826872494ccff0e8bc8aeb6eb9fb449a3f8c684c;hp=c2f896d1d5d207af4cb8da720553ddaa100a190e;hpb=8ff7ee5a10d5524162186006c9efb91935153f2f;p=kaka%2Fcakelight.git diff --git a/src/kaka/cakelight/CakeLight.java b/src/kaka/cakelight/CakeLight.java index c2f896d..8156833 100644 --- a/src/kaka/cakelight/CakeLight.java +++ b/src/kaka/cakelight/CakeLight.java @@ -1,5 +1,6 @@ package kaka.cakelight; +import kaka.cakelight.mode.Mode; import org.jnativehook.GlobalScreen; import org.jnativehook.NativeHookException; import org.jnativehook.keyboard.NativeKeyAdapter; @@ -33,8 +34,9 @@ public class CakeLight { } public void startLoop() { - Console.start(this, config); - initNativeHook(); + Console console = Console.start(this, config); + PipeController.start(console); +// initNativeHook(); // TODO // FrameGrabber grabber = FrameGrabber.from(config); // grabber.prepare();