mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 21:04:18 +08:00
Add delete and insert to ps2d
This commit is contained in:
parent
446452a275
commit
72fe60b6a8
@ -60,6 +60,12 @@ pub fn keyboard() {
|
||||
0x51 => { // Page down
|
||||
input.write(b"\x1B[6~").unwrap();
|
||||
},
|
||||
0x52 => { // Insert
|
||||
input.write(b"\x1B[2~").unwrap();
|
||||
},
|
||||
0x53 => { // Delete
|
||||
input.write(b"\x1B[3~").unwrap();
|
||||
},
|
||||
_ => {
|
||||
let c = if ctrl {
|
||||
match keymap::get_char(scancode, false) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user