Cross-platform support USB HID.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Cross-platform support USB HID.

Post by User_Russian »

It would be great to add to PureBasic, a cross-platform library USB HID devices.
I think that it is possible to use this library. http://www.signal11.us/oss/hidapi
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Cross-platform support USB HID.

Post by IdeasVacuum »

+1 It would be very useful 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Ulix
User
User
Posts: 48
Joined: Wed Jan 23, 2008 12:45 pm
Location: France, Montpellier

Re: Cross-platform support USB HID.

Post by Ulix »

+ 1 :wink:
Indeed, it would be very useful, I've experienced this kind of troubleshooting.
A native solution would be the top!

Ulix
User avatar
zxtunes.com
Enthusiast
Enthusiast
Posts: 375
Joined: Wed Apr 23, 2008 7:51 am
Location: Saint-Petersburg, Russia
Contact:

Re: Cross-platform support USB HID.

Post by zxtunes.com »

+2 :twisted:
Golfy
User
User
Posts: 97
Joined: Wed Mar 21, 2012 6:10 pm

Re: Cross-platform support USB HID.

Post by Golfy »

I'm interested too : more and more devices are using USB and Purebasic users needs to know on which HID.
Please Fred, could you answer something about it ?
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Cross-platform support USB HID.

Post by Danilo »

I have the above library as PB lib for all platforms already.
Will post later, I am at work now.
Golfy
User
User
Posts: 97
Joined: Wed Mar 21, 2012 6:10 pm

Re: Cross-platform support USB HID.

Post by Golfy »

Danilo wrote:I have the above library as PB lib for all platforms already.
Will post later, I am at work now.
That's would be nice... but I works on Linux and Windows : hope it works with these two OS.
An other "problem" is using PB 5.31 : Lib often needs to be changed at each new PB language version. Is your LIB working with this version ?

Thanks :)
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Cross-platform support USB HID.

Post by Danilo »

Sorry, can't find the Linux version atm, only Win32, Win64, Mac32, Mac64. Will see what I can do.
swhite
Enthusiast
Enthusiast
Posts: 726
Joined: Thu May 21, 2009 6:56 pm

Re: Cross-platform support USB HID.

Post by swhite »

I would like support for USB devices so I can capture data from the device or send data to the device. I have a project currently that requires I capture data from a USB keyboard with a Linux daemon on a headless PC and send the data via TCP/IP to another device for processing. So it would be nice to have Purebasic functions that enabled this type of functionality.

Simon
Simon White
dCipher Computing
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: Cross-platform support USB HID.

Post by Tenaja »

+1
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Cross-platform support USB HID.

Post by Kwai chang caine »

+1
ImageThe happiness is a road...
Not a destination
laserjones
New User
New User
Posts: 7
Joined: Sat Sep 05, 2009 11:08 pm

Re: Cross-platform support USB HID.

Post by laserjones »

+1
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: Cross-platform support USB HID.

Post by mestnyi »

+1
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Cross-platform support USB HID.

Post by BarryG »

Danilo wrote:I have the above library as PB lib for all platforms already.
Will post later, I am at work now.
Whatever happened to this? It's six years later and several bumps/upvotes, so I assume it never eventuated? I was hoping to access USB-connected devices like my iPhone's "Photos" folder, which shows up in Windows explorer but not accessible with PureBasic (that I can see).
Post Reply