question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Report device id on Windows

See original GitHub issue

Linux already has this.

Device information is not included in the hook we are using, which complicates things. Raw Input seems to provide this, but it doesn’t include the virtual key codes we use to map most of the key names and keypad status.

There should be some kind of device information on event.device.

Note: https://github.com/me2d13/luamacros seems to do this.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
kg-2commented, Aug 22, 2018

any progress on this?

0reactions
zys5945commented, Jun 18, 2022

~take a look at this, it might help https://github.com/cobrce/interception_wrapper~ This repo is a port (not a wrapper), it works better than the other one, tested only keyboard and it works

Couple things to consider for interception: The device driver itself is not open source. I tested it locally and found that it doesn’t play very nicely with virtual machines. Namely keyboards will stop working if you disconnect then reconnect (no keystrokes received by the OS). Some other people also found issues with keyboard switches (KVM): https://github.com/oblitum/Interception/issues/145

I think there’s something wrong with the way it handles device reconnect

Read more comments on GitHub >

github_iconTop Results From Across the Web

Device ID string - Windows drivers | Microsoft Learn
A device ID is a string reported by a device's enumerator. A device has only one device ID. A device ID has the...
Read more >
Determine the Device Unique ID - WatchGuard Technologies
Open Windows Device Manager. Select the device you want to obtain the ID for. Right-click the device name and select Properties. Select the...
Read more >
Using the Windows Device ID utility - TechDocs - Broadcom Inc.
Use the Device ID utility to extract Device Instance ID strings and to determine what devices the system can recognize for detection. You...
Read more >
Workspace ONE UEM Data Definitions - VMware Docs
Lists the unique device identifier reported by Google. Apple, macOS (AppleOsX), and Windows. Google Device Report Enabled, Reports if a device has enabled ......
Read more >
How to Check the Hardware ID in Device Manager [Quick Guide]
How to find hardware ID Windows 10 using Device Manager · 1. Press the hotkey Win + R to open the Run console....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found