We are launching a console program under Weston that runs chromium in kiosk mode as its user interface. The program has a built-in web server. The program needs to capture keyboard input when a USB keyboard device is plugged in. When this program was running under XWindows, it could read keys by opening "/dev/tty0". Under Weston, I tried tty0, tty, console, and pts/1, but none of them are returning keys.
Here are the particulars:
- ARM Cortex-M CPU
- Debian Bullseye
- Linux kernel 6.2.0 custom build
- Weston 9.0.0
How can I read keyboard input from the console application under Weston?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745287130a4620629.html
评论列表(0条)