Mail Archives: djgpp/1997/03/14/08:17:38
Hi,
I deeply (I hope so ;) ) study your code dialling with
keyboard, mouse and timer. And also I study GUI part.
IMHO, it's lack of some messaging system. I already done
such a system with my previous work (not with Allegro and DJGPP).
Hardware interrupt handlers collect events and put them into
FIFO queue (separate queue for each device). And user write
functions for each type of hardware (software too) events which called
by SendMsg() in DispatchMsg() loop. Also, it's possible to
assign a priority level for each queue (what is first mouse, keyboard,
etc.) So, I can implement it in Allegro.
My questions are :
1. Does anybody needed in such system (not only me) ?
2. Will future version of Allegro contain this feature ?
3. May be someone implement similar mechanism ?
Any comments ?
--
Regards,
Dim Zegebart,
Moscow Russia.
- Raw text -