mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 19:26:43 +01:00
update dependencies, disable wayland support
wayland support doesn't fully work with gnome (missing window decoration)
This commit is contained in:
@@ -151,7 +151,7 @@ impl MicroW8 {
|
||||
{
|
||||
let time = instance.start_time.elapsed().as_millis() as i32;
|
||||
let mut gamepad: u32 = 0;
|
||||
for key in self.window.get_keys().unwrap_or(Vec::new()) {
|
||||
for key in self.window.get_keys() {
|
||||
if let Some(index) = GAMEPAD_KEYS.iter().enumerate().find(|(_, &k)| k == key).map(|(i, _)| i) {
|
||||
gamepad |= 1 << index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user