flower-os/flower

Arrow keys don't appear to work

Restioson opened this issue · 4 comments

Tested in qemu with following code:

loop {
    if let Ok(Some(event)) = keyboard.read_event() {
        if event.event_type == KeyEventType::Break &&
            event.keycode == keymap::codes::DOWN_ARROW
        {
                break;
        }
    }
}

This is unrelated to the fact that arrow keys do not cause the cursor to move. Imo since the 'prompt' is just for fun and to showcase we don't need to make it to complicated/support arrow keys.

@gegy1000 could you verify that it works in the ps2 rework?

@gegy1000 does it work in the rework?

Gegy commented

Resolved in d78825e.