Welcome Guest, you are in: Login

EventIDE Wiki

RSSRSS

Navigation




Search the wiki


PoweredBy

Page History: Button Element

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2012/01/24 18:24


Element Icon Button element
Info
Category: Behaviour Control AddIn: Base Elements
Creator: OkazoLab Team Scope: Parent Event
Owns Snippets: no Usage: Runtime Screen,Snippets
Button element detects button presses and releases on standard input devices supported by DirectInput API. Such devices include keyboard, mouse, and a variety of joysticks and gamepads. The element collects timing statistics and, therefore is a default choice for recording of participant responses. The element allows using multiple input devices in parallel.


Description



Snapshots

Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2


Practical use

The typical usage for the button element is detection of particular participant responses. However, you can use the button elements to provide operator's feedback to an experiment (for example, adjusting the experimental parameters with a keyboard at the runtime)

Note

The default settings allow detection only of the first button press. The following presses will be ignored. Change properties in the BEHAVIOUR group according to your requirements.)))

Properties

Generic properties

NameDescriptionAttributesValue Type
Control
ButtonSelection of the button for the element. Button name can be selected from a list or, be detected. For the detecton move mouse over the web icon and press the selected button on your input device.Design-time action
Input deviceSelected input device from a list of all DirectInput devices currently connected to a computer.Design-time action
Runtime info
Is downIndicates if the selected button is being physically pressed (the element is not necessarily triggered)R, Read-onlyBoolean
Statistics
Last hit timeIndicates the time (ms) from the current activation of the parent event when the button was triggered last time. This property is recommended for getting the accurate reaction time data.Runtime commandUInt64
Was triggeredIndicates if the element has been triggered at least once starting from the current activation of the parent eventRuntime commandBoolean
Behavior
Trigger on releaseDefines if the element obtains the triggered status only when the pressed button is released. Otherwise, the element will be triggered immediately as the button is down.D,RBoolean
One trigger onlyDefines if the element can be triggered only once. After that all button pressed are ignored till the new activation of the parent event. If false, multiple button presses and triggering are allowed.D,RBoolean



+=== Properties inherited from clElement === Inherited properties of clElement
NameDescriptionConstraintsValue TypeUpon Change
Control
Is EnabledIf set to false the element is completely omitted when the experiment is run.Boolean
TitleTitle of the element.String

ScrewTurn Wiki version 5.2.0.8. Some of the icons created by FamFamFam.