Skip to content

overview

These functions allow you to control the user mouse. This is protected by the kernel mouse driver.

moonlight.windows.mouse.down

Remarks

  • Simulates your mouse being held down.

moonlight.windows.mouse.up

Remarks

  • Simulates your mouse being released.
  • Only use this after moonlight.windows.mouse.down otherwise your computer will no longer allow you to click on anything. You will need to restart your system.

moonlight.windows.mouse.press

Remarks

  • Simulates your mouse being pressed down then released.
  • This is basically calling moonlight.windows.mouse.down and then moonlight.windows.mouse.up right after.

moonlight.windows.mouse.press_right

Remarks

  • This is essentially moonlight.windows.mouse.press except for your right mouse button.