File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
uefi/src/proto/console/pointer Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ impl Pointer {
26
26
/// Retrieves the pointer device's current state, if a state change occurred
27
27
/// since the last time this function was called.
28
28
///
29
- /// Use `wait_for_input_event()` with the `BootServices ::wait_for_event()`
29
+ /// Use `wait_for_input_event()` with the [`boot ::wait_for_event`]
30
30
/// interface in order to wait for input from the pointer device.
31
31
///
32
32
/// # Errors
33
33
/// - `DeviceError` if there was an issue with the pointer device.
34
+ ///
35
+ /// [`boot::wait_for_event`]: crate::boot::wait_for_event
34
36
pub fn read_state ( & mut self ) -> Result < Option < PointerState > > {
35
37
let mut pointer_state = PointerState :: default ( ) ;
36
38
let pointer_state_ptr: * mut _ = & mut pointer_state;
@@ -41,8 +43,10 @@ impl Pointer {
41
43
}
42
44
}
43
45
44
- /// Event to be used with `BootServices ::wait_for_event()` in order to wait
46
+ /// Event to be used with [`boot ::wait_for_event`] in order to wait
45
47
/// for input from the pointer device
48
+ ///
49
+ /// [`boot::wait_for_event`]: crate::boot::wait_for_event
46
50
#[ must_use]
47
51
pub fn wait_for_input_event ( & self ) -> Option < Event > {
48
52
unsafe { Event :: from_ptr ( self . 0 . wait_for_input ) }
You can’t perform that action at this time.
0 commit comments