Remove DeviceEvent::Text event
The event is never constructed inside the winit.
This commit is contained in:
parent
2422ea39d0
commit
8c8fb39fcd
2 changed files with 1 additions and 5 deletions
|
|
@ -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' });
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue