Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity UWP bluetooth barcodescanner

Discussion in 'Scripting' started by hhoria, Aug 3, 2021.

  1. hhoria

    hhoria

    Joined:
    Jun 2, 2014
    Posts:
    2
    Hi everyone,
    I've been looking into the unity Input debug to try and figure out a way where, I can read the string coming off a bluetooth barcode scanner.
    The device is registered as Bluetooth HID Input device, and inside unity Input Debug, it shows as Broadcom Wireless keyboard (unsupported though...).
    Any tips on how to read just the string? (the end character is 'enter' after each string)
    On UI input fields it does read the string and dismisses it (with the enter end char). but doing this on Hololens is quite counter intuitive since the keyboard shows up covering almost all your fov.