简体   繁体   中英

Hook Linux Keyboard Events

This past week at my work we aquired a laser barcode scanner, and are looking to use it with ubuntu server. The scanner acts as a HID, so we need to hook the keystrokes it generates. We are hoping to use GO to do so.

Any help would be greatly appreciated.

答案就是读取原始事件并对其进行解析。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM