Fix delete/backspace naming

This commit is contained in:
2023-03-19 01:04:12 +01:00
parent 0366675bb3
commit 36376bc5b2

View File

@ -54,7 +54,8 @@ pub enum Key {
Return = 0x28, Return = 0x28,
Escape = 0x29, Escape = 0x29,
Delete = 0x2A, /// Keyboard DELETE (Backspace)
Backspace = 0x2A,
Tab = 0x2B, Tab = 0x2B,
/// Keyboard Spacebar /// Keyboard Spacebar
@ -111,7 +112,7 @@ pub enum Key {
/// Keyboard PageUp /// Keyboard PageUp
PageUp = 0x4B, PageUp = 0x4B,
/// Keyboard Delete Forward /// Keyboard Delete Forward
DeleteForward = 0x4C, Delete = 0x4C,
/// KeyboardEnd7 /// KeyboardEnd7
End = 0x4D, End = 0x4D,
/// Keyboard PageDown7 /// Keyboard PageDown7