﻿<?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 5  » Inputdevice Keyboard</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 02 Jul 2026 21:00:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Inputdevice Keyboard</title><link>https://forums.millisecond.com/Topic20365.aspx</link><description>How do I edit the BART-Y script to accept inputs from a 2-button response box? Outputs from the box correspond to a '1' and a '2' keyboard press. I'm having trouble finding the proper documentation for this process.</description><pubDate>Fri, 09 Dec 2016 13:12:33 GMT</pubDate><dc:creator>Brainsrule</dc:creator></item><item><title>RE: Inputdevice Keyboard</title><link>https://forums.millisecond.com/Topic20368.aspx</link><description>&lt;div data-id="20367" class="if-quote-wrapper" unselectable="on" data-guid="1481317928651"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20367" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20367" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20367" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20367"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20366" class="if-quote-wrapper" unselectable="on" data-guid="1481317928651"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20366" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20366" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20366" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20366"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20365" class="if-quote-wrapper" unselectable="on" data-guid="1481317928651"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20365" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20365" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Brainsrule - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20365"&gt;&lt;div class="if-quote-message-margin"&gt;How do I edit the BART-Y script to accept inputs from a 2-button response box? Outputs from the box correspond to a '1' and a '2' keyboard press. I'm having trouble finding the proper documentation for this process.&lt;a class="if-quote-goto quote-link" href="#" data-id="20365"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You need to adjust the /inputdevice settings in the script and then adjust any /validresponse, /correctresponse, /isvalidresponse, /iscorrectresponse, /responsemessage, and /branch logic that relies on a trial's response property accordingly.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20366"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;The attached BARTY script takes input from the keyboard. It relies on the "1" and "2" keys at the top row of the keyboard, their respective keyboard scancodes are 2 and 3 (to check which scancodes your response box returns, use Tools -&amp;gt; Keyboard Scancodes... in Inquisit Lab; adjust the script accordingly, i.e. replace the 2 and 3 scancodes with those pertaining to your response box device).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20367"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Okay I added that and patched up a few more lines, and it works great! thank you!</description><pubDate>Fri, 09 Dec 2016 13:12:33 GMT</pubDate><dc:creator>Brainsrule</dc:creator></item><item><title>RE: Inputdevice Keyboard</title><link>https://forums.millisecond.com/Topic20367.aspx</link><description>&lt;div data-id="20366" class="if-quote-wrapper" unselectable="on" data-guid="1481309758105"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20366" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20366" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20366" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20366"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20365" class="if-quote-wrapper" unselectable="on" data-guid="1481309758105"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20365" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20365" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Brainsrule - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20365"&gt;&lt;div class="if-quote-message-margin"&gt;How do I edit the BART-Y script to accept inputs from a 2-button response box? Outputs from the box correspond to a '1' and a '2' keyboard press. I'm having trouble finding the proper documentation for this process.&lt;a class="if-quote-goto quote-link" href="#" data-id="20365"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You need to adjust the /inputdevice settings in the script and then adjust any /validresponse, /correctresponse, /isvalidresponse, /iscorrectresponse, /responsemessage, and /branch logic that relies on a trial's response property accordingly.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20366"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;The attached BARTY script takes input from the keyboard. It relies on the "1" and "2" keys at the top row of the keyboard, their respective keyboard scancodes are 2 and 3 (to check which scancodes your response box returns, use Tools -&amp;gt; Keyboard Scancodes... in Inquisit Lab; adjust the script accordingly, i.e. replace the 2 and 3 scancodes with those pertaining to your response box device).&lt;br/&gt;</description><pubDate>Fri, 09 Dec 2016 11:00:45 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Inputdevice Keyboard</title><link>https://forums.millisecond.com/Topic20366.aspx</link><description>&lt;div data-id="20365" class="if-quote-wrapper" unselectable="on" data-guid="1481308903346"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20365" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20365" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Brainsrule - Friday, December 09, 2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20365"&gt;&lt;div class="if-quote-message-margin"&gt;How do I edit the BART-Y script to accept inputs from a 2-button response box? Outputs from the box correspond to a '1' and a '2' keyboard press. I'm having trouble finding the proper documentation for this process.&lt;a class="if-quote-goto quote-link" href="#" data-id="20365"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You need to adjust the /inputdevice settings in the script and then adjust any /validresponse, /correctresponse, /isvalidresponse, /iscorrectresponse, /responsemessage, and /branch logic that relies on a trial's response property accordingly.&lt;br/&gt;</description><pubDate>Fri, 09 Dec 2016 10:43:29 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>