コード例 #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);
 }