rust_minifb
rust_minifb copied to clipboard
Capital letters on Linux
There is a problem receiving capital letters on linux. With shift key and caps lock.
I just tested this under Ubuntu
window.get_keys().map(|keys| {
for t in keys {
match t {
Key::LeftShift => println!("holding left shift!"),
Key::RightShift => println!("holding right!"),
Key::W => println!("holding w!"),
_ => (),
}
}
});
And it seems to work.
is this still a problem?
@FloVanGH friendly ping on this
I will check it tomorrow.
Thanks!
Still the same issue on minifb = "0.18"Linux (x11).
Get only upper case character fromfn add_char(&mut self, uni_char: u32)