Re: question about liballeg.a

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...
jimcbrown said...
bernie said...

The only problem I have now is not having frame-buffer mouse support.

What's the problem with doing: integer h = open("/dev/mice", "r") ?! or "/dev/psaux", etc?

Because that gives you the GPM mouse which doesn't seem to work
in frame-buffer mode.

What?!

/dev/mice and /dev/psaux are supported not only by /usr/bin/X (i.e. the X server accessing your video card directly thru the ioports and/or DRM kernel driver) but also by Xfbdev, the implementation of X11 on top of fbdev.

GPM works (or used to work) by opening /dev/psaux (or whatever device pointed to the mouse) in a daemon process and then allowed client applications to get mouse events by reading a fifo named /dev/gpmctl.

bernie said...

Incidentally my motor library will run X11, Motif, Xt, Athena euphoria
code but they require a lot of work to write a program.

If all you need are graphics primitives, I do not see why this is so much work (other than to create the initial window to draw on).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu