Skip to content

Conversation

@bboudaoud-nv
Copy link
Contributor

This branch adds support for logging SystemInfo to the output database as a new System_Info table. It also adds support for getting the VID/PID of all USB devices attached to the system and logging this as part of SystemInfo (which is also written to log.txt as it has been historically).

In order to get VID/PID this branch adds a dependency on setupapi.lib which will now need to be packaged with the project. This is currently a windows-only feature.

There is no support built-in for identifying mice/keyboards from other USB devices, but the VID/PID of every connected device is reported. An optional vid_pid.json file has been added to the data-files directory to provide a lookup of vendor/product names from the VID/PID pair. This file is produced using a Python web-scraping tool.

Merging this PR closes #288.

@bboudaoud-nv bboudaoud-nv added the enhancement New feature or request label Oct 4, 2021
@bboudaoud-nv bboudaoud-nv requested a review from jspjutNV October 4, 2021 19:27
@bboudaoud-nv bboudaoud-nv self-assigned this Oct 4, 2021
@jspjutNV jspjutNV modified the milestones: v21.11.01, v22.01.01 Oct 5, 2021
@jspjutNV
Copy link
Contributor

Is setupapi.lib a G3D project? This is a great idea, but we need to make sure we can package the library before we can merge this one.

@bboudaoud-nv bboudaoud-nv marked this pull request as ready for review May 25, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collect information about current mouse

3 participants