search

Home  >  Q&A  >  body text

编程 - 如何用C++读取条形码扫描枪的数据?

扫描枪是usb-hid的形式,是一个keyboard的设备,使用C++和QT编程,不用QT的键盘event,怎样读取条码数据?libusb?一般进销存的软件是如何读取条码的信息的?

PHP中文网PHP中文网2804 days ago1087

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 11:13:26

    Make an input input box, set it as focus and hide it, and bind an event listener for data input

    reply
    0
  • Cancelreply