1
0
Fork 0
forked from denis/a811
This commit is contained in:
Denis Manherz 2024-08-26 11:46:46 +02:00
parent c092149734
commit f325ad4502
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
build/ build/
.direnv/

View file

@ -31,5 +31,18 @@ int main(int argc, char *argv[]) {
return -1; return -1;
} }
<<<<<<< Updated upstream
=======
libusb_init(NULL);
// discover devices
libusb_device **list;
libusb_device *found = NULL;
ssize_t cnt = libusb_get_device_list(NULL, &list);
ssize_t i = 0;
std::cout << cnt << "\n";
libusb_free_device_list(list, 1);
>>>>>>> Stashed changes
return app.exec(); return app.exec();
} }