mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix hosted mode
This commit is contained in:
parent
89d6b0e81f
commit
4640213410
1 changed files with 3 additions and 0 deletions
|
|
@ -1023,9 +1023,12 @@ fn wrapped_main() -> ! {
|
||||||
core::char::from_u32(k3 as u32).unwrap_or('\u{0000}'),
|
core::char::from_u32(k3 as u32).unwrap_or('\u{0000}'),
|
||||||
core::char::from_u32(k4 as u32).unwrap_or('\u{0000}'),
|
core::char::from_u32(k4 as u32).unwrap_or('\u{0000}'),
|
||||||
];
|
];
|
||||||
|
#[cfg(feature = "no-gam")]
|
||||||
if has_focus {
|
if has_focus {
|
||||||
renderer_modal.key_event(keys);
|
renderer_modal.key_event(keys);
|
||||||
}
|
}
|
||||||
|
#[cfg(not(feature = "no-gam"))]
|
||||||
|
renderer_modal.key_event(keys);
|
||||||
}),
|
}),
|
||||||
Some(Opcode::ModalDrop) => {
|
Some(Opcode::ModalDrop) => {
|
||||||
// this guy should never quit, it's a core OS service
|
// this guy should never quit, it's a core OS service
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue