請教 鍵盤讀入:(頁 1) - 嵌入式係統論壇 - 自動化論壇 Autooo.net - Autooo.Net

2007-7-13 18:33 play
請教 鍵盤讀入:

請教 鍵盤讀入:    我在開發嵌入式LINUX,現在要開發一個測試程序,檢查鍵盤的正確性,檢查程序在co ole運行,即通過serial port連到PC(/dev/co ole或/dev/ttyS0), 但鍵盤在PDA上按,連接設備為/dev/tty0.    如何通過無阻塞的方式知道/dev/tty0按了什麼鍵(包括shift,ctl等)    謝謝

頁: [1]
查看完整版本: 請教 鍵盤讀入:

Google


Autooo.Net
Copyright © 2007 All rights reserved