MCPcopy Create free account
hub / github.com/Ruddle/Fomos / Input

Class Input

bootloader/kernel/src/globals.rs:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#[repr(C)]
31#[derive(Clone, Debug, Copy)]
32pub struct Input {
33 pub mouse_x: usize,
34 pub mouse_y: usize,
35 pub keys: [KeyState; 1024],
36 pub history_last_index: usize,
37 pub history_ring: [InputEvent; HISTORY_SIZE],
38}
39
40impl Input {
41 pub const fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected