Skip to content

Commit 45ca9d9

Browse files
committed
Add preamble UI and ability to pause experiment
A UI will appear before the participant/experimenter is able to start the experiment. This will allow them to perform any necessary calibrations as well as the ability to pause the experiment at the start of each trial during the fixation checking stage to perform any necessary re-calibrations or re-evalutations. The functionality of the menu items will be added one-by-one in future commits.
1 parent f7ccf6e commit 45ca9d9

12 files changed

Lines changed: 2746 additions & 430 deletions
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: c46f07b5ed07e4e92aa78254188d3d10, type: 3}
13+
m_Name: InputSystem.inputsettings
14+
m_EditorClassIdentifier:
15+
m_SupportedDevices: []
16+
m_UpdateMode: 1
17+
m_CompensateForScreenOrientation: 1
18+
m_FilterNoiseOnCurrent: 0
19+
m_DefaultDeadzoneMin: 0.125
20+
m_DefaultDeadzoneMax: 0.925
21+
m_DefaultButtonPressPoint: 0.5
22+
m_DefaultTapTime: 0.2
23+
m_DefaultSlowTapTime: 0.5
24+
m_DefaultHoldTime: 0.4
25+
m_TapRadius: 5
26+
m_MultiTapDelayTime: 0.75

Assets/Actions/InputSystem.inputsettings.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Actions/KBM.inputactions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"interactions": ""
2323
},
2424
{
25-
"name": "ForceQuit",
25+
"name": "Pause",
2626
"type": "Button",
2727
"id": "65f3a37a-3acf-467b-a586-95a0a403e94e",
2828
"expectedControlType": "Button",
@@ -60,7 +60,7 @@
6060
"interactions": "",
6161
"processors": "",
6262
"groups": "Keyboard&Mouse",
63-
"action": "ForceQuit",
63+
"action": "Pause",
6464
"isComposite": false,
6565
"isPartOfComposite": false
6666
}

0 commit comments

Comments
 (0)