예제 #1
0
 public void unhook() {
   KeyboardEventDispatcher.OnKeyPressed.remove(onKeyPress);
   MouseEventDispatcher.OnMouseRelease.remove(onMouseRelease);
 }
예제 #2
0
 public void hook() {
   KeyboardEventDispatcher.OnKeyPressed.add(onKeyPress);
   MouseEventDispatcher.OnMouseRelease.add(onMouseRelease);
 }