推 heoris:用struct input_event 去接=> read(ts_fd,&data,...etc); 08/09 20:51
推 askacis:去看tslib裡面input-raw.c裡面怎麼讀的就知道了 08/09 21:31
推 askacis:或是QT原始碼的qmouselinuxinput_qws.cpp 也有示範怎麼讀 08/09 21:35
推 mike0226:的確 open touchscreen 相對應的 event node後去read 08/10 09:09
了解, 謝謝上面幾位, 感謝a大讓我知道還有tslib
※ 編輯: eleghost 來自: 192.72.220.129 (08/10 09:18)
推 askacis:不過tslib看起來只支援單點觸碰?有錯還請告知XD 08/10 14:21
推 pilipalabon:不知道是否可以在driver上也做類似tslib的動作.. 08/11 16:43
→ pilipalabon:有哪間ts的driver有這樣做嗎? 08/11 16:43
推 askacis:driver在userspace的話,可以開hidraw node讀資料後 08/13 14:53
→ askacis:再用uinput傳上去kernel,然後userspace再去讀event node 08/13 14:55