USB, PS/2, support (inputs, outputs, etc)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

USB, PS/2, support (inputs, outputs, etc)

Post by dagcrack »

controlling USB stuff and many others like serial, etc... via PB would be great (hmm but that means drivers, and stuff.. well not really). anyway I just always wanted that :)
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

I agree! Hardware support is very low supported atm without Windows-API.

Mike
Tranquil
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Tranquil wrote:I agree! Hardware support is very low supported atm without Windows-API.

Mike
Hardware-Support is the job for drivers. Direct Access is not allowed on XP.

The time of direct-hardware-programs are over (because the PC has too many diffrent configurations; thats why drivers are envented).
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

I still need to controll an usb device I made tho
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Here are some references for communicating to USB port(s) in different languages. If you are fluent in these languages you could convert them or someone here may be able to convert these samples for you :)

VB Sample: http://www.pscode.com/vb/scripts/ShowCo ... 1&lngWId=1

Text Ref: http://www.xtremevbtalk.com/showthread. ... ght=usb%2A

HID Controller (needed for USB, Delphi based, I think): http://www.delphi-gems.com/Controls.php

USB Info (you may already have this :)): http://www.lvr.com/usb.htm

Hope These Helps.
Post Reply