Re: EventHandler vs ControllerState
- To: mathgroup at smc.vnet.net
- Subject: [mg113403] Re: EventHandler vs ControllerState
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Wed, 27 Oct 2010 05:16:15 -0400 (EDT)
- References: <ia67bm$srm$1@smc.vnet.net>
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 (http://ppjoy.blogspot.com/ 2009/11/finally-new-version.html), another one that I haven't tried can be found at <http://headsoft.com.au/index.php?category=vjoy> Cheers -- Sjoerd On Oct 26, 11:34 am, Nicholas Goble <ngo... at iwu.edu> 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