We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use macroquad::prelude::*; fn window_conf() -> Conf { use macroquad::miniquad; Conf { window_title: "window".to_owned(), fullscreen: false, platform: miniquad::conf::Platform { linux_backend: miniquad::conf::LinuxBackend::WaylandOnly, ..Default::default() }, ..Default::default() } } #[macroquad::main(window_conf)] async fn main() { loop { if is_key_down(KeyCode::Escape) { return; } if is_key_pressed(KeyCode::Escape) { return; } if is_key_released(KeyCode::Escape) { return; } next_frame().await; } }
none of those functions work. i'm using sway (wlroots)
The text was updated successfully, but these errors were encountered:
same code works fine in i3
Sorry, something went wrong.
version 0.3.20 works
p.s. wait, no, sorry it doesn't work. i forgot that i was testing in xwayland
No branches or pull requests
none of those functions work. i'm using sway (wlroots)
The text was updated successfully, but these errors were encountered: