dongxia8656
dongxia8656
2015-07-04 23:21

挂钩Linux键盘事件

已采纳

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.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongzhang1987 dongzhang1987 6年前

    The answer was just to read the raw event and parse it.

    点赞 评论 复制链接分享

为你推荐