Disable native hook for now
[kaka/cakelight.git] / src / kaka / cakelight / CakeLight.java
index c2f896d..8156833 100644 (file)
@@ -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();