Re: USB port use in FreePascal
- From: Femme Verbeek <fv@xxxxxxxxxxxxxxxx>
- Date: Tue, 07 Mar 2006 12:31:04 +0100
Marco van de Voort schreef:
On 2006-03-04, michel <michel@xxxxxxxx> wrote:I made a touchscreen application long time ago for dos. The screen came with a mouselike driver for dos. Most manufacturers will only make windows drivers nowadays. Try running it in a dosbox
Does anyone know if there is an easy way to control USB ports from
(MS-DOS) Free Pascal? I would like to read controls from a TouchScreen
device that is connected to a USB port.
I've no idea how access usb on plain dos. So the first step is to find _any_
code that does this from dos, and preferably 32-bit, and then convert it.
So e.g. you could look if there is a libusb for DJGPP. There are
multiple header conversions so you can access it from FPC. e.g.
http://www.johann-glaser.at/projects/libusb.pas
Since this is uncharted territory, it might not be for the faint of heart.
There is a unit USB4DOS out there somewhere, but don't expect to much from it.
-- Femme
.
- References:
- USB port use in FreePascal
- From: michel
- Re: USB port use in FreePascal
- From: Marco van de Voort
- USB port use in FreePascal
- Prev by Date: Re: FPC Video unit help
- Next by Date: Re: FPC Video unit help
- Previous by thread: Re: USB port use in FreePascal
- Next by thread: Linked lists error
- Index(es):
Relevant Pages
|