Search code examples
pythonpython-3.xinputevdev

Is there an evdev equivalent in windows


I want to make a program that decodes the input given by a barcode scanner, is there an equivalent to evedev for windows so I would be able to read the input given by this device


Solution

  • Have you tried a HID event manager?

    pip install hid
    

    Keyboard and barcode scanners comprise HIDs (Human Interface Devices).