Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
keyListener & MouseButtonListener
Old
ekpalmer
Guest
 
Status:
Posts: n/a
Question keyListener & MouseButtonListener - 08-13-2009, 09:52 PM

When I use the listeners, I can get Alice to respond to mouseclicks and keypresses perform actions in response to these events.

I would like to distinguish between which mouse button was pressed and which key was pressed on the keyboard.

I have not been able to do this. I want do something different when an "A" is typed on the keyboard than when a "B" is typed.
   
Reply With Quote
 

Tags
events, keyboard, mouse click events

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.