ezEngine  Release 25.03
ezMouseCursorClipMode Struct Reference

Specifies how to restrict movement of the Operating System mouse. More...

#include <MouseKeyboard.h>

Public Types

enum  Enum {
  NoClip, ClipToWindow, ClipToWindowImmediate, ClipToPosition,
  Default = NoClip
}
 

Detailed Description

Specifies how to restrict movement of the Operating System mouse.

Member Enumeration Documentation

◆ Enum

Enumerator
NoClip 

The mouse can move unrestricted and leave the application window.

ClipToWindow 

The mouse cannot leave the window area anymore after the user started interacting with it (ie. clicks into the window)

ClipToWindowImmediate 

The mouse gets restricted to the window area as soon as possible.

ClipToPosition 

The mouse may not leave its current position. Can be used to keep the mouse in place while it is hidden. Note that you will still get mouse move deltas, just the OS cursor will stay in place.


The documentation for this struct was generated from the following file: