Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2002-01

FreePascal Mouse support without Driver

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christian Fillion

I just wanna know if it possible to made some change to mouse unit to use mouse without driver ?
i found some usefull source code in ASM and C/C++
it is possible to compile this with FPC ?
I send you the source of only the mouse section ONLY 5k but if you wanna all the source you can go here
http://home.wanadoo.nl/geurt/download.html

Someone can help me ?

Reply by email

Jonas Maebe
to Christian Fillion
Christian Fillion wrote
I just wanna know if it possible to made some change to mouse unit to use mouse without driver ?

It is theoretically possible, but we will never distribute such a unit with the compiler because

a) almost nobody needs such a thing
b) mice come bundled with a mouse driver exactly so that not every one has to code the mouse hardware directly and so that the user can set movement speed etc preferences using the driver.

If you want to make such a thing, no problem. Other people may be interested in it of course, that's wy we have the contributed units section on our website to which it can be added once it's finished.

i found some usefull source code in ASM and C/C++ it is possible to compile this with FPC ?

Not unless you translate it to Pascal and assembler.

Jonas

Reply by email

Florian Klaempfl
to Jonas Maebe
you wrote 12 lines
On vrijdag, januari 4, 2002, at 07:47 , Christian Fillion wrote: >I just wanna know if it possible to made some change to mouse unit to >use mouse without driver ? It is theoretically possible, but we will never distribute such a unit with the compiler because a) almost nobody needs such a thing b) mice come bundled with a mouse driver exactly so that not every one has to code the mouse hardware directly and so that the user can set movement speed etc preferences using the driver.

Hmmm, did you buy a mouse the last years? I doubt that it comes with DOS drivers.

Reply by email