MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / key_pressed

Function key_pressed

user/src/io.rs:80–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80pub fn key_pressed() -> bool {
81 if sys_key_pressed() == 1 {
82 true
83 } else {
84 false
85 }
86}
87
88#[repr(C)]
89pub struct InputEvent {

Callers 1

mainFunction · 0.85

Calls 1

sys_key_pressedFunction · 0.70

Tested by

no test coverage detected