Re: [cc65] Question on 1351 mouse

From: Ullrich von Bassewitz <>
Date: 2010-02-03 17:02:29

On Wed, Feb 03, 2010 at 10:14:41AM +0100, Oliver Schmidt wrote:
> My tests so fare have shown that quite some keystrokes are as well
> interpreted as mouse button presses - especially the Space key. 

Sounds logical. Mouse and keyboard share the same I/O lines, so for a piece of
software it is not easily possible to determine the cause of a signal change.

> So if
> I ignore all keyboard strokes when detecting a mouse button press (or
> release) then I'll ignore all these keystrokes, won't I?

Sounds likely. But since the mouse driver is part of cc65 (in contrary to the
keyboard scanner, which is part of the kernal ROM), it may be possible to
distinguish between mouse button and key presses by looking at the additional
input lines.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Feb 3 17:02:39 2010

This archive was generated by hypermail 2.1.8 : 2010-02-03 17:02:42 CET