GCMouseMoved

Type Alias GCMouseMoved 

Source
pub type GCMouseMoved = *mut DynBlock<dyn Fn(NonNull<GCMouseInput>, c_float, c_float)>;
Available on crate features GCMouseInput and GCPhysicalInputProfile and block2 only.
Expand description

Set this block if you want to be notified when the mouse was moved

Parameter mouse: this mouse that is being used for input

Parameter deltaX: the value of raw mouse delta along x axis. Not affected by mouse sensitivity settings

Parameter deltaY: the value of raw mouse delta along y axis. Not affected by mouse sensitivity settings

See also Apple’s documentation