> On Tue, 29 Jul 2008, Eric Gorr wrote:
> > Is there a unix tool that will return the current state of the
> > I would like to be able to determine if that option key is
> > pressed by the user.
> I don't know what you mean by 'a unix tool'. You could use the
> function GetKeys(), in HIToolbox/Events.h.
I mean a command line tool that I could execute from the terminal and
have it spit back the state of the keys or just a particular key, like
the option key.
I agree, I could write one myself which calls GetKeys and outputs the
result, but I was hoping to avoid this small part of the task and use
something that already exists.
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden