Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: EventHandler vs ControllerState

  • To: mathgroup at
  • Subject: [mg113486] Re: EventHandler vs ControllerState
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at>
  • Date: Sun, 31 Oct 2010 02:06:21 -0500 (EST)

This must be computer dependent then. The only controller that
ControllerInformation[ ] sees on my TabletPC is the Wacom pen, not the

Cheers -- Sjoerd

-----Original Message-----
From: Nicholas Goble [mailto:ngoble at] 
Sent: Wednesday 27 October 2010 17:15
To: Sjoerd C. de Vries
Subject: [mg113486] Re: [mg113403] Re: EventHandler vs ControllerState

ControllerState definitely accepts keyboard input.  I'm on a macbook pro and
use the line:

ControlerState["Apple Internal Keyboard / Trackpad","KeyboardA Button"]

Nicholas Goble

On 10/27/10 4:16 AM, "Sjoerd C. de Vries" <sjoerd.c.devries at>

> As far as I know ControllerState does not use a keyboard as
> controller. You could use a virtual joystick to trick Windows (and
> Mathematica) to think the keyboard is a joystick which can be seen
> with ControllerState. ppjoy can do this (
> 2009/11/finally-new-version.html), another one that I haven't tried
> can be found at
> <>
> Cheers -- Sjoerd
> On Oct 26, 11:34 am, Nicholas Goble <ngo... at> wrote:
>> This is my first post to the listserve.  I'm an fourth-year undergrad
>> physics major who's done a bit of research using Mathematica. Now I'm
>> out my own pet projects and need a bit of help.
>> I'm trying to use my keyboard as a controller.  I'm wondering what the
>> difference is between using EventHandler and ControllerState.  That is,
>> are the pros and cons to using EventHandler as opposed to ControllerState
>> detect a keystroke?
>> Nicholas Goble

  • Prev by Date: Re: Puzzled by a puzzle
  • Next by Date: Arrowhead Directive for FrameStyle?
  • Previous by thread: Re: EventHandler vs ControllerState
  • Next by thread: MLGetReal64List() and numbers out of machine precision