|
@ -123,7 +123,10 @@ pub fn input_to_egui( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} else if let Some(key) = translate_virtual_key_code(keycode) { |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if let Some(key) = translate_virtual_key_code(keycode) { |
|
|
input_state.raw.events.push(Event::Key { |
|
|
input_state.raw.events.push(Event::Key { |
|
|
key, |
|
|
key, |
|
|
pressed, |
|
|
pressed, |
|
@ -132,7 +135,6 @@ pub fn input_to_egui( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
MouseWheel { delta, .. } => { |
|
|
MouseWheel { delta, .. } => { |
|
|
match delta { |
|
|
match delta { |
|
|
glutin::event::MouseScrollDelta::LineDelta(x, y) => { |
|
|
glutin::event::MouseScrollDelta::LineDelta(x, y) => { |
|
|