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/10/07 23:04


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
Input deviceSelect one of the input devices currently connected to the computer.Design-time actionString
ButtonDefines a button which presses are registered by the element. If 'Any Button' selected then the element registers presses of all buttons on the device. The pressed button name is indicated by the Triggered Button property.Design-time actionInt32
Triggering ModeDefines the triggering mode for button. First Press Only mode is recommended for response time measurements. enButtonTriggeringMode
Runtime status
Triggered buttonReturns a system name of the triggered button. The keyboard symbol buttons are often denoted by the capital letters, like 'A', whereas the mouse and gamepad buttons are indicated by long names like 'Button 1'" String
Is DownIndicates whether the button is currently in the down state.R, Read-onlyBoolean
Triggering TimeReturns a local event time (in ms) of the last button triggering. The value can be used an accurate measure of the response time UInt64
Is TriggeredIndicates whether a button has been triggered at least once since the onset of the parent event. The property resets on each onset of the parent event. UInt64



+=== 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.