Skip to content
New issue

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

Capital letters on Linux #203

Open
FloVanGH opened this issue Aug 13, 2020 · 6 comments
Open

Capital letters on Linux #203

FloVanGH opened this issue Aug 13, 2020 · 6 comments

Comments

@FloVanGH
Copy link
Contributor

There is a problem receiving capital letters on linux. With shift key and caps lock.

@emoon
Copy link
Owner

emoon commented Aug 13, 2020

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.

@emoon
Copy link
Owner

emoon commented Aug 28, 2020

is this still a problem?

@emoon
Copy link
Owner

emoon commented Sep 3, 2020

@FloVanGH friendly ping on this

@FloVanGH
Copy link
Contributor Author

FloVanGH commented Sep 3, 2020

I will check it tomorrow.

@emoon
Copy link
Owner

emoon commented Sep 3, 2020

Thanks!

@FloVanGH
Copy link
Contributor Author

FloVanGH commented Sep 15, 2020

Still the same issue on minifb = "0.18"Linux (x11).

Get only upper case character fromfn add_char(&mut self, uni_char: u32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants