alt key modifier is not reported
skydig opened this issue · 4 comments
when press ctrl + A, following is reported(don't understant \u{1a} means) on windows 10 OS
character='\u{1a}'
_keymods _repeat=KeyMods { shift: false, ctrl: true, alt: false, logo: false } false
when press alt+... nothing reported
but alt key is ok on linux ubuntu OS.
more information:
on Ubuntu, home end inert delete enter pgdown pgup, arrow up, arrow down, arrow left, arrow right capslock ... are not reported...
I print just like following:
fn char_event(
&mut self,
_ctx: &mut mq::Context,
character: char,
_keymods: mq::KeyMods,
_repeat: bool,
) {
println!("keymods={:?}",_keymods); println!("char={:?}",character);
println!("character={:?}",character); println!("_keymods _repeat={:?} {:?}",_keymods, _repeat);
self.egui_mq.char_event(character);
}
about linux, after code reading, I think KEYSYMTAB(in keycodes.rs) should be enlarged to support special key event report
about linux, after code reading, I think KEYSYMTAB(in keycodes.rs) should be enlarged to support special key event report
Feel free to open a PR!
OK, I will open one PR for not-fl3/miniquad