|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/3/2008 6:52:17 PM
Posts: 3,
Visits: 8
|
|
| I had my Saitek AV8TR joystick working with EPrime 2.0 Beta. I have now upgraded to the full EPrime 2.0, but now the same exact joystick is no longer interfacing with EPrime. When I add the joystick device under the device tab under the Experiment Object Properties Window, no joystick device becomes available on the Duration/Input tab of a Slide object. Also, when I run the exact EPrime program that worked under the Beta version, I get an error message. It no longer recognizes the code term "GetCursorPos" in my inLine statement. Here is the full text from my InLine statement: Dim ptPress As Point Joystick.GetCursorPos ptPress.x, ptPress.y ptPress.x = ptPress.x - 211 ptPress.y = ptPress.y - 119 c.SetAttrib "YPos", ptPress.y c.SetAttrib "XPos", ptPress.x My goal is simply to retrieve the Joystick's current position and output that value. (The values subtracted from ptPress.x and ptPress.y were merely to ensure that the joystick's resting position was outputted as zero.) I have also attached the file in case that is helpful
|
|
|
|
|
Junior Member
      
Group: Moderators
Last Login: 2/1/2008 8:32:03 AM
Posts: 13,
Visits: 28
|
|
Greetings,
The problem you are having stems from a recently discovered initialization problem with joysticks under E-Prime 2 (as opposed to E-Prime 2 Professional). This has been solved as of E-Prime 2 build 2.0.1.120 or later. This build should be posted for the public in the very near future.
Please note that using the joystick device(s) as input masks, i.e. adding them to the Duration/Input tab of a Slide object, is an E-Prime 2 Professional exclusive feature.
Thank you for your patience and continued support of E-Prime 2.
-------------------------------------------
Christopher Neff
Software Engineer
Psychology Software Tools, Inc.
|
|
|
|