Debug tool for viewing and toggling GBA button states.
| 10 | use crate::emu_thread::{EmuCommand, EmuHandle, GbaButton}; |
| 11 | use crate::ui_traits::UiTool; |
| 12 | |
| 13 | /// Debug tool for viewing and toggling GBA button states. |
| 14 | pub 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)>>>, |
nothing calls this directly
no outgoing calls
no test coverage detected