Sign in Join

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

Mailing lists / fpc-pascal / 2003-02

Graph + mouse + linux

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Jozef Vesely

Hi

I would like to use the mouse under graphics mode under linux and I just can't get it working.
I tried all examples of mouseapi and gpm units with initialization of graphics added and no one worked: some reported no mouse,
some always reported mouse at 0, 0 with no buttons pressed and others waited forever for mouseevent

has anybody any experience with this?
could you help me?

Jozef Vesely

Peter Vreman
to Jozef Vesely
you wrote 9 lines
Hi I would like to use the mouse under graphics mode under linux and I just can't get it working. I tried all examples of mouseapi and gpm units with initialization of graphics added and no one worked: some reported no mouse, some always reported mouse at 0, 0 with no buttons pressed and others waited forever for mouseevent

gpm is console only. The mouse api is based on the gpm unit.

Maybe ggi has some code to use the mouse under graphics mode

Peter