Search found 9 matches

by laserjones
Wed May 21, 2025 2:08 pm
Forum: Feature Requests and Wishlists
Topic: Cross-platform support USB HID.
Replies: 18
Views: 10493

Re: Cross-platform support USB HID.

You are right, my judgement was based on insufficient research. It came spontaneously out of my frustration about the fact that I've been waiting for this essential feature for so many years now ...
by laserjones
Wed May 21, 2025 12:31 pm
Forum: Feature Requests and Wishlists
Topic: Cross-platform support USB HID.
Replies: 18
Views: 10493

Re: Cross-platform support USB HID.

I assume that PB is more or less a dead product ... I have given up on it and started to learn Rust now.
by laserjones
Sun Oct 06, 2019 11:36 am
Forum: General Discussion
Topic: Support for USB devices in PureBasic?
Replies: 6
Views: 3556

Re: Support for USB devices in PureBasic?

I assume I could achieve that via Windows/Linux APIs The USB HID API is available on Windows only. On Linux and MacOS X need use libudev.
But nevertheless, Linux supports many HID devices (such as mice and keyboards) out of the box, so there should be a way to access HID devices via OS calls on ...
by laserjones
Sun Oct 06, 2019 1:17 am
Forum: General Discussion
Topic: Support for USB devices in PureBasic?
Replies: 6
Views: 3556

Re: Support for USB devices in PureBasic?

Thank you, I meanwhile also found that Russian HID library. However, it seems to be Windows only. I had hoped for something that would fully encapsulate the OS API calls, allowing us to use the same code on all platforms.
by laserjones
Sun Oct 06, 2019 12:49 am
Forum: Coding Questions
Topic: Device interaction
Replies: 5
Views: 2057

Re: Device interaction

I think there is something about webcams you can find if you search the forum, as well about USB.
The problem is that a forum search for "usb" does not return anything, even though there are posts about USB (I know, because I wrote two of them). It seems like the forum does not accept search terms ...
by laserjones
Sun Oct 06, 2019 12:35 am
Forum: General Discussion
Topic: Support for USB devices in PureBasic?
Replies: 6
Views: 3556

Support for USB devices in PureBasic?

Hello all, I'm considering PureBasic for a cross-platform software project (Windows/Linux), but I could not find information as to whether PureBasic supports communication with USB devices (other than mouse, keyboard, game controllers) out of the box, i.e. without the use of OS APIs. In my case, it ...
by laserjones
Sun Sep 06, 2009 4:53 pm
Forum: Feature Requests and Wishlists
Topic: Direct support for USB HID devices
Replies: 11
Views: 7425

I would be surprised if webcams use the HID class, most of them come with their own drivers, I think (correct me if I'm wrong). HID is a generic USB access method that does not require special device drivers, because everything is included with the operating system. But it is not easy to use the HID ...
by laserjones
Sat Sep 05, 2009 11:21 pm
Forum: Feature Requests and Wishlists
Topic: Direct support for USB HID devices
Replies: 11
Views: 7425

Direct support for USB HID devices

It would be great if PureBasic offered functions to access USB HID (Human Interface Devices) directly. HID drivers are included with Windows and other operating systems (they are used by mouse and keyboard, for example), but they are non-trivial to use and they are not cross-platform.

So if ...