Running Inquisit on different mobile devices


Author
Message
Leena
Leena
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Hello, 

We would like to conduct an experiment that is also suitable for mobile devices. Our script works great on the computer, but the stimuli (pictures) are presented in a different position when using a phone or tablet. The position and size of the stimuli are actually fixed (the images should be shown in the middle of the screen). However, when using mobile devices, they are shifted to the top.
We have defined the properties like this:

<picture male_4_sad>
/ items = ("29FrameF (11).jpg")
/ position = (50%, 50%)
/ size = (70%, 70%)
/ erase = false
</picture>

Is any information missing or can we somehow control that the images are displayed at the right position even on mobile devices?
Thanks for the help!


Dave
Dave
Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)
Group: Administrators
Posts: 11K, Visits: 74K
Leena - 9/24/2021
Hello, 

We would like to conduct an experiment that is also suitable for mobile devices. Our script works great on the computer, but the stimuli (pictures) are presented in a different position when using a phone or tablet. The position and size of the stimuli are actually fixed (the images should be shown in the middle of the screen). However, when using mobile devices, they are shifted to the top.
We have defined the properties like this:

<picture male_4_sad>
/ items = ("29FrameF (11).jpg")
/ position = (50%, 50%)
/ size = (70%, 70%)
/ erase = false
</picture>

Is any information missing or can we somehow control that the images are displayed at the right position even on mobile devices?
Thanks for the help!


Provide the full code, please, including any and all files it requires to run. Please also provide a screenshot showing the supposed shift to the top.

Providing the definition single <picture> element without context is not useful.
Leena
Leena
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Here is attached a short script as an example. I have also included a screenshot where you can see that the image is not displayed in the center, but shifted to the top.
Thanks a lot for your help!
Attachments
Test.zip (19 views, 7.00 KB)
Dave
Dave
Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)
Group: Administrators
Posts: 11K, Visits: 74K
Leena - 9/28/2021
Here is attached a short script as an example. I have also included a screenshot where you can see that the image is not displayed in the center, but shifted to the top.
Thanks a lot for your help!

See https://www.millisecond.com/forums/Topic32249.aspx
Leena
Leena
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 23
I tried to set inputdevice=mouse in <defaults>, but unfortunately that didn't work. The problem is still there. Or do I have to change something else?
Attachments
test.iqx (54 views, 1.00 KB)
Dave
Dave
Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)Supreme Being (968K reputation)
Group: Administrators
Posts: 11K, Visits: 74K
Leena - 9/28/2021
I tried to set inputdevice=mouse in <defaults>, but unfortunately that didn't work. The problem is still there. Or do I have to change something else?

There's still something in your script that requires an input button (regardless of mouse or keyboard input), namely the instruction page.
Thus space continues to be reserved at the bottom of the screen for this purpose. If you strip that page out, it'll be gone.

<defaults>
/screencolor = (255, 255, 255)
/fontstyle = ("Arial", 2%)
/ posttrialpause = 500
/ canvasposition = (50%, 50%)
/ inputdevice = mouse
</defaults>

<expt>
/ blocks = [1= practice]
</expt>

<block practice>
/ trials = [1-2=list.trialselectiontest]
</block>

<list trialselectiontest>
/ items = (trial.pic1, trial.pic2)
/ selectionmode = random
/ itemprobabilities = (0.5, 0.5)
/ poolsize = 2
/ replace = false
</list>

<trial pic1>
/ inputdevice = mouse
/ validresponse = (lbuttondown)
/ stimulustimes = [0=fixation; 500=erasefixation, pic_1]
/ beginresponsetime = 0
/ response = timeout (3500)
</trial>

<trial pic2>
/ inputdevice = mouse
/ validresponse = (lbuttondown)
/ stimulustimes = [0=fixation; 500=erasefixation, pic_2]
/ beginresponsetime = 0
/ response = timeout (3500)
</trial>

************************** stimuli *****************************

<picture pic_1>
/ items = ("pic1.png")
/ position = (50%, 50%)
/ size = (70%, 70%)
/ erase = false
</picture>

<picture pic_2>
/ items = ("pic2.png")
/ position = (50%, 50%)
/ size = (70%, 70%)
/ erase = false
</picture>

<text fixation>
/ items = ("m3")
/fontstyle = ("Arial", 10%)
/ position = (50%, 50%)
</text>

<text erasefixation>
/ items = ("+")
/ txcolor = (255, 255, 255)
/ size = (100%, 100%)
/ position = (50%, 50%)
</text>


Leena
Leena
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Thanks a lot!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search