Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!ai-lab!fibula!ringrose From: ringrose@fibula.ai.mit.edu (Robert Ringrose) Newsgroups: comp.sys.sgi Subject: shift-click, control-click, and alt-click Summary: How do you check for such events Message-ID: <15418@life.ai.mit.edu> Date: 30 Apr 91 01:06:35 GMT References: <9104292244.AA26782@smaug.physics.mcgill.ca> Sender: news@ai.mit.edu Followup-To: ringrose@ai.mit.edu Organization: MIT Artificial Intelligence Laboratory Lines: 14 How can I check for a combination of, say, shift and a mouse button? (alt and/or control would be nice, too) Checking for an individual mouse button is easy: getbutton(LEFTMOUSE) Checking for a normal keyboard event is about as easy. Unfortunately, shift, control, and alt aren't quite normal keyboard events. Ideas? Thanks in advance, - Robert Ringrose ringrose@ai.mit.edu "There's always one more bu6."