#[repr(C)]pub struct DIOEVENT {
pub time: f64,
pub type_: INT16,
pub data: UINT16,
}Expand description
@ingroup messaging \brief Button, input, other simple events with floating point time.
BUTTONEVENT and INPUTEVENT types are the simplest events, reporting changes in button status or in the input port data. The time field records the timestamp of the eye-data sample where the change occurred, although the event itself is usually sent before that sample. The data field contains the data after the change, in the same format as in the FSAMPLE structure.
Button events from the link are rarely used; monitoring buttons with one of eyelink_read_keybutton(), eyelink_last_button_press(), or eyelink_button_states() is preferable, since these can report button states at any time, not just during recording.
Fields§
§time: f64< time logged
type_: INT16< event type:
data: UINT16< coded event data
Trait Implementations§
impl Copy for DIOEVENT
Auto Trait Implementations§
impl Freeze for DIOEVENT
impl RefUnwindSafe for DIOEVENT
impl Send for DIOEVENT
impl Sync for DIOEVENT
impl Unpin for DIOEVENT
impl UnwindSafe for DIOEVENT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more