Skip to content

MTY_AppSetDetachState

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Detach mouse/keyboard grab or relative mouse behavior temporarily.

The app defaults to MTY_DETACH_STATE_NONE.

void MTY_AppSetDetachState(
    MTY_App *       ctx,
    MTY_DetachState state
);

Parameters

ctx (MTY_App *)

The MTY_App.

state (MTY_DetachState)

Detach state.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally