﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Mapping Key Responses to Likert Task</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 10 Sep 2026 20:21:47 GMT</lastBuildDate><ttl>20</ttl><item><title>Mapping Key Responses to Likert Task</title><link>https://forums.millisecond.com/Topic14569.aspx</link><description>Hello all.&lt;br/&gt;&lt;br/&gt;I'm attempting to make a 4 point likert scale in response to pictures presented in an MRI scanner.&lt;br/&gt;&lt;br/&gt;The participant won't have access to a mouse or keyboard, and our joystick only reads keyboard responses of 6, 7, 8, and 9.&lt;br/&gt;&lt;br/&gt;I'd like to map the likert to the keyboard so that 1 = 6, 2 = 7, 3 = 8, and 4 = 9, but I don't see exactly how to do that from the element page.&lt;br/&gt;&lt;br/&gt;Does anyone know how to map button presses to the likert command or would I be better off making response images?&lt;br/&gt;&lt;br/&gt;-Thomas</description><pubDate>Thu, 09 Oct 2014 13:17:39 GMT</pubDate><dc:creator>TDeramus</dc:creator></item><item><title>RE: Mapping Key Responses to Likert Task</title><link>https://forums.millisecond.com/Topic14570.aspx</link><description>You would not use the &amp;lt;likert&amp;gt; element in this particular use case, but set this up using standard &amp;lt;trial&amp;gt; etc. elements instead.&lt;br/&gt;&lt;br/&gt;Something along the lines of&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ scalevalue = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date,time,subject,blocknum,blockcode,trialnum,trialcode,latency,response,values.scalevalue, ...]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=customlikert]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial customlikert&amp;gt;&lt;br/&gt;/ ontrialend = [if (trial.customlikert.response == 7 || trial.customlikert.response == 77) values.scalevalue = 1]&lt;br/&gt;/ ontrialend = [if (trial.customlikert.response == 8 || trial.customlikert.response == 71) values.scalevalue = 2]&lt;br/&gt;/ ontrialend = [if (trial.customlikert.response == 9 || trial.customlikert.response == 72) values.scalevalue = 3]&lt;br/&gt;/ ontrialend = [if (trial.customlikert.response == 10 || trial.customlikert.response == 73) values.scalevalue = 4]&lt;br/&gt;/ stimulusframes = [1=one, two, three, four]&lt;br/&gt;/ validresponse = ("6", "7", "8", "9")&lt;br/&gt;/ responsemessage = ("6", onehl, 500)&lt;br/&gt;/ responsemessage = ("7", twohl, 500)&lt;br/&gt;/ responsemessage = ("8", threehl, 500)&lt;br/&gt;/ responsemessage = ("9", fourhl, 500)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text one&amp;gt;&lt;br/&gt;/ items = ("1")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (35%, 60%)&lt;br/&gt;/ txcolor = (white)&lt;br/&gt;/ txbgcolor = (black)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text two&amp;gt;&lt;br/&gt;/ items = ("2")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (45%, 60%)&lt;br/&gt;/ txcolor = (white)&lt;br/&gt;/ txbgcolor = (black)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text three&amp;gt;&lt;br/&gt;/ items = ("3")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (55%, 60%)&lt;br/&gt;/ txcolor = (white)&lt;br/&gt;/ txbgcolor = (black)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text four&amp;gt;&lt;br/&gt;/ items = ("4")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (65%, 60%)&lt;br/&gt;/ txcolor = (white)&lt;br/&gt;/ txbgcolor = (black)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text onehl&amp;gt;&lt;br/&gt;/ items = ("1")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (35%, 60%)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/ txbgcolor = (grey)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text twohl&amp;gt;&lt;br/&gt;/ items = ("2")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (45%, 60%)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/ txbgcolor = (grey)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text threehl&amp;gt;&lt;br/&gt;/ items = ("3")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (55%, 60%)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/ txbgcolor = (grey)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text fourhl&amp;gt;&lt;br/&gt;/ items = ("4")&lt;br/&gt;/ size = (100px, 100px)&lt;br/&gt;/ position = (65%, 60%)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/ txbgcolor = (grey)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;</description><pubDate>Thu, 09 Oct 2014 13:17:39 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>