Closed Randommist closed 1 year ago
Hi @Randommist, what`s your operative system?
Arch Linux
You should have installed x11 libraries for your Arch Linux and run the terminal in a GUI environment, not from a TTY. If this is the case, it should work, if not, I'm a little bit lost.
I have the libx11 package from pacman installed. What does it mean to run the terminal in a GUI environment? I use "cargo run --example pong". Also i use wayland
In Linux, you can run a TTY terminal without any graphic environment (in your case Wayland). ruscii
doesn't work there. To get the "key release" event ruscii
check the keyboard directly from the graphic environment.
Then, I do not know what can be the issue. The underlying crate to get the keyboard input is device_query
. The next step should be to test if that crate works fine in your OS.
crate device_query on linux only works with X11
The program does not respond to key presses. I used the code from the example, and also ran the examples, but there is no reaction to pressing the Esc key or other. Keyboard layout English