mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Remove DeviceEvent::Text event
The event is never constructed inside the winit.
This commit is contained in:
@@ -27,6 +27,7 @@ And please only add new entries to the top of this list, right below the `# Unre
|
||||
- Implement `PartialOrd` and `Ord` for `MouseButton`.
|
||||
- On X11, fix event loop not waking up on `ControlFlow::Poll` and `ControlFlow::WaitUntil`.
|
||||
- **Breaking:** Change default `ControlFlow` from `Poll` to `Wait`.
|
||||
- **Breaking:** remove `DeviceEvent::Text`.
|
||||
|
||||
# 0.29.1-beta
|
||||
|
||||
|
||||
@@ -618,10 +618,6 @@ pub enum DeviceEvent {
|
||||
},
|
||||
|
||||
Key(RawKeyEvent),
|
||||
|
||||
Text {
|
||||
codepoint: char,
|
||||
},
|
||||
}
|
||||
|
||||
/// Describes a keyboard input as a raw device event.
|
||||
@@ -1221,7 +1217,6 @@ mod tests {
|
||||
button: 0,
|
||||
state: event::ElementState::Pressed,
|
||||
});
|
||||
with_device_event(Text { codepoint: 'a' });
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user