MCPcopy Create free account
hub / github.com/RIP-Comm/clementine / KeypadDebug

Class KeypadDebug

ui/src/keypad_debug.rs:12–14  ·  view source on GitHub ↗

Debug tool for viewing and toggling GBA button states.

Source from the content-addressed store, hash-verified

10use crate::emu_thread::{EmuCommand, EmuHandle, GbaButton};
11use crate::ui_traits::UiTool;
12
13/// Debug tool for viewing and toggling GBA button states.
14pub struct KeypadDebug {
15 emu_handle: Arc<Mutex<EmuHandle>>,
16 /// Shared keyboard-to-GBA-button bindings, also read by the input handler.
17 key_bindings: Arc<Mutex<Vec<(GbaButton, Key)>>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected