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: [mg113453] Re: EventHandler vs ControllerState
  • From: Nicholas Goble <ngoble at>
  • Date: Fri, 29 Oct 2010 06:28:48 -0400 (EDT)

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> wrote:
>> 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 trying
>>> 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, what
>>> are the pros and cons to using EventHandler as opposed to ControllerState to
>>> detect a keystroke?
>>> Nicholas Goble

  • Prev by Date: Re: More Mathematica CAN'T do than CAN???
  • Next by Date: Re: If and Piecewise don't quite do what I need
  • Previous by thread: Re: EventHandler vs ControllerState
  • Next by thread: Re: EventHandler vs ControllerState