Re: [AD] wip 3.9.38 & graphics mode trouble: progress |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
"Vincent Penquerc'h" <Vincent.Penquerch@xxxxxxxxxx> writes:
> > Maybe Allegro gets mouse event, but then Allegro program can not see
> > it, because it gets mouse button events as a change in bit state, not
> > as event. IIRC, events are processed in batches, so Allegro might set
> > button bit, then immediately clear it, not giving program any chance
> > to see the event. Using mouse callback might help, or library should
> > stop processing events after receiving mouse press event.
>
> That's interesting. Does it do the same kind of checks for keystrokes too ?
It is a little different with keyboard. There are two interfaces:
readkey and key array. For mouse buttons there is only _mouse_button
and no equivalent of readkey.
--
Michael Bukin