Skip to content

Commit ec172d4

Browse files
committed
update ButtonSource docs
1 parent 641c050 commit ec172d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

winit-core/src/event.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ impl From<PointerSource> for PointerKind {
510510
}
511511
}
512512

513-
/// Represents the pointer type of a [`WindowEvent::PointerButton`].
513+
/// Represents the pointer type of [`WindowEvent::PointerButton`] and
514+
/// [`DeviceEvent::PointerButton`].
514515
///
515516
/// **Wayland/X11:** [`Unknown`](Self::Unknown) device types are converted to known variants by the
516517
/// system.

0 commit comments

Comments
 (0)