Re: EventHandler vs ControllerState
- To: mathgroup at smc.vnet.net
- Subject: [mg113486] Re: EventHandler vs ControllerState
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- 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 keyboard. Cheers -- Sjoerd -----Original Message----- From: Nicholas Goble [mailto:ngoble at iwu.edu] 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 gmail.com> 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 (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 > > >