[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [Q] About /dev/mouse usage



Hello,

I am trying to add support for /dev/mouse device to SDL under MiNT, to
avoid using XBIOS (or IKBD) to read relative mouse motion events.

I noticed that when the device is opened, the AES has its mouse
cursor blocked (i.e. can not move it anymore). Is it a normal/known
behaviour? 

Is mouse device reading blocking or non-blocking when not enough bytes
are present in buffer? My guess is 'blocking', but I set it to
non-blocking, just to be sure.

And what is the use for moose device? Is it only for xaaes?

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux