FreeBSD Manual Pages
video_display_state(3) Arcan Lua API video_display_state(3) NAME video_display_state - Change power state for a display SYNOPSIS statestr video_display_state( id, state ) DESCRIPTION This function is intended for nativ video platforms that expose raw video display control (and for _lwa builds, a switch to enable/disable render passes while maintaining other parts of the pipeline). Note that the function returns a human readable string representing the current state, but the optional state argument expects one of the following constants: DISPLAY_OFF , DISPLAY_ON , DISPLAY_SUSPEND , DISPLAY_STANDBY any other value is a terminal state transition. The id value for a display can be retrieved in the event handler for _display_state(ac- tion, id). EXAMPLE function video_display_state0() print(video_display_state(0)); print(video_display_state(0, DISPLAY_OFF)); print(video_display_state(0, DISPLAY_ON)); end SEE ALSO: vidsys April 2025 video_display_state(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=video_display_state&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>