Re: [cc65] Question on 1351 mouse

From: Oliver Schmidt <>
Date: 2010-02-03 10:09:35
Hi Uz,

> On Wed, Feb 03, 2010 at 08:14:41AM +0100, Oliver Schmidt wrote:
>> Maybe I don't understand this proposal correctly but it seems to me
>> that it will cause loosing keyborad strokes.
> But for a first test, I
> would clear the keyboard buffer in your code when any mouse button is pressed,
> or when it just has been released. In all other cases, leave the keaboard
> buffer alone.

Now I see! There was a misunderstanding. Originally I thought the
proposal was to clear the keyboard buffer every time the mouse was
checked for button presses.

Just one more question: Is there some magic means of clearing the
keyboard buffer or are we talking about "while kbhit cgetc"?

Best, Oliver
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Feb 3 10:09:47 2010

This archive was generated by hypermail 2.1.8 : 2010-02-03 10:09:49 CET