Keyboard not correctly working with input
simbleau opened this issue · comments
Spencer C. Imbleau commented
In egui.rs' demo - keys like '@' work just fine. Appears to be a bevy_egui issue.
On my keyboard, Option (Mac) + '*' is the @ symbol (Danish keybaord).
Bevy 0.11 and here's how I setup my Bevy proj:
#[cfg(target_arch = "wasm32")]
let window_plugin = WindowPlugin {
primary_window: Some(Window {
// Use V-sync and fall back to FIFO
present_mode: PresentMode::AutoVsync,
// Tells wasm to resize the window according to the
// available canvas
fit_canvas_to_parent: true,
// Tells wasm not to override default event handling,
// like F5, Ctrl+R etc.
prevent_default_event_handling: true,
// Use a canvas that exists
canvas: Some("#c".to_string()),
..default()
}),
..default()
};