Reading keyboard state

Daniel V. Oppenheim music at watson.ibm.com
Mon Dec 6 16:47:18 UTC 1999


I agree. It would also be useful for interactive music applications.

Danny


At 09:57 AM 12/6/99 +0000, you wrote:
>Bert Freudenberg <bert at isgnw.CS.Uni-Magdeburg.De> wrote:
> > On Fri, 3 Dec 1999, Henrik Gedenryd wrote:
> >
> > > AFAIK, there is no way to get the current keyboard state for the regular
> > > alphanumeric keys, like you can for modifier keys and mouse buttons.
> > >
> > > Is there any way to check whether eg. the key 'i' is pressed at the 
> moment?
> >
> > Nope. Only key-press events are forwarded to Squeak, key-release events
> > are eaten by the VM.
> >
>
>If and when the low-level input system is looked at again, let's please
>look at this.  By far most smalltalk programs won't care, but games are
>a notable exception that might be worth thinking about.
>
>
>Lex

---

Dr. Daniel V. 
Oppenheim 

Computer Music Center
	IBM T.J. Watson Research Center	     phone: (914) 945-1989
	P. O. Box 218 (or Route 134)	     fax:   (914) 945-3434
	Yorktown Heights, NY 10598	     www.research.ibm.com/music





More information about the Squeak-dev mailing list