[][src]Function libeyelink_sys::eyelink_current_mode

pub unsafe extern "C" fn eyelink_current_mode() -> INT16

@ingroup eyelink_mode This function tests the current tracker mode, and returns a set of flags based of what the mode is doing. The most useful flag using the EXPTSPPT toolkit is \c IN_USER_MENU to test if the EyeLink Abort menu has been activated.

@return Set of bitflags that mark mode function: \c IN_DISCONNECT_MODE if disconnected. \c IN_IDLE_MODE if off-line (Idle mode). \c IN_SETUP_MODE if in Setup-menu related mode. \c IN_RECORD_MODE if tracking is in progress. \c IN_PLAYBACK_MODE if currently playing back data. \c IN_TARGET_MODE if in mode that requires a fixation target. \c IN_DRIFTCORR_MODE if in drift-correction. \c IN_IMAGE_MODE if displaying grayscale camera image. \c IN_USER_MENU if displaying Abort or user-defined menu.

\b Example: See \c echo_key()

\sa \c echo_key(), \c eyelink_tracker_mode() and \c eyelink_user_menu_selection()