Creating Buttons in Mouse Mode


Author
Message
ilanagratch
ilanagratch
Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)
Group: Forum Members
Posts: 6, Visits: 11
Hi,
Can you please provide instructions around creating buttons for an IAT when the response mode is mouse rather than keyboard?
Thank you,
Ilana
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
ilanagratch - Monday, December 11, 2017
Hi,
Can you please provide instructions around creating buttons for an IAT when the response mode is mouse rather than keyboard?
Thank you,
Ilana

Define two <text> elements to serve as your "buttons", /size and /position them according to your needs, display them via the <trial> elements' /stimulusframes along with the other stimuli and define them as the respective trials' /valid- and /correcresponses.

Like so:
<trial attributeA>
/ validresponse = (E, I)
/ correctresponse = (E)
/ inputdevice = mouse
/ stimulusframes = [1 = attributeA, errorReminder, e, i]
/ posttrialpause = parameters.ISI
</trial>

<trial attributeB>
/ validresponse = (E, I)
/ correctresponse = (I)
/ inputdevice = mouse
/ stimulusframes = [1 = attributeB, errorReminder, e, i]
/ posttrialpause = parameters.ISI
</trial>


<text E>
/ items = ("E")
/ size = (10%, 5%)
/ position = (30%, 80%)
/ txcolor = white
/ txbgcolor = blue
/ hjustify = center
/ vjustify = center
</text>

<text I>
/ items = ("I")
/ size = (10%, 5%)
/ position = (70%, 80%)
/ txcolor = white
/ txbgcolor = blue
/ hjustify = center
/ vjustify = center
</text>


ilanagratch
ilanagratch
Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)Partner Member (580 reputation)
Group: Forum Members
Posts: 6, Visits: 11
Dave - Monday, December 11, 2017
ilanagratch - Monday, December 11, 2017
Hi,
Can you please provide instructions around creating buttons for an IAT when the response mode is mouse rather than keyboard?
Thank you,
Ilana

Define two <text> elements to serve as your "buttons", /size and /position them according to your needs, display them via the <trial> elements' /stimulusframes along with the other stimuli and define them as the respective trials' /valid- and /correcresponses.

Like so:
<trial attributeA>
/ validresponse = (E, I)
/ correctresponse = (E)
/ inputdevice = mouse
/ stimulusframes = [1 = attributeA, errorReminder, e, i]
/ posttrialpause = parameters.ISI
</trial>

<trial attributeB>
/ validresponse = (E, I)
/ correctresponse = (I)
/ inputdevice = mouse
/ stimulusframes = [1 = attributeB, errorReminder, e, i]
/ posttrialpause = parameters.ISI
</trial>


<text E>
/ items = ("E")
/ size = (10%, 5%)
/ position = (30%, 80%)
/ txcolor = white
/ txbgcolor = blue
/ hjustify = center
/ vjustify = center
</text>

<text I>
/ items = ("I")
/ size = (10%, 5%)
/ position = (70%, 80%)
/ txcolor = white
/ txbgcolor = blue
/ hjustify = center
/ vjustify = center
</text>


Thanks so much, Dave!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search