最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do I read keyboard input from a Linux console program running under Weston - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论