Page History: Key Logger Element
Compare Page Revisions
Page Revision: 2015/08/18 14:01
|
Key Logger Element
|
Info |
Category: |
Input Registration |
|
AddIn: |
Base Elements |
Creator: |
OkazoLab Team |
|
Scope: |
Parent Event |
Owns Snippets: |
yes |
|
Usage: |
Input,Snippets |
Actions aligned with epochs of the parent event
Epoch | Actions |
---|
After Onset | The element starts monitoring key presses and releases |
Before Offset | The element stops monitoring key presses and releases |
Properties
Generic properties
Name | Description | Constraints | Value Type | Upon Change |
---|
Settings |
Input Device | Defines the input device for key logging | | enum | |
Column Delimiter | Defines the column delimiter in the recorded key log | String | |
Add Line Breaks | Defines whether a line break is added at the end of each log record | Boolean | |
Runtime Status |
Key Log | | String | |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|
Key Logger element passively registers and logs all button presses/releases in the parent event.
Description
Practical Use
Saving the collected key log into DataReport
- Add the Key Logger element to a event
- Browse the button element properties in the property panel
- Select the Input Device, for example, the system keyboard
- Create a proxy variable linked to the Key Log property
- Open the after offset snippet of the parent event
- Add the following code to the snippet.
Report=KeyLog;
Notes
- Content of the key log is reset on every onset of the parent event