-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from lnccbrown/develop
Develop merge to master -- ver v0.1.0
- Loading branch information
Showing
41 changed files
with
3,237 additions
and
1,678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
name: Build at home version (Windows) | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
paths: | ||
- 'src/**' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
name: CI Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
paths: | ||
- 'src/**' | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
// Event trigger settings - used in both the react app (renderer) and the electron app (main) | ||
const manufacturer = 'Teensyduino' | ||
const vendorId = '16c0' | ||
const productId = '0487' | ||
const comName = 'COM7' | ||
|
||
// NOTE - these event codes must match what is in public/config/trigger.js | ||
// NOTE - these event codes must match what is in src/config/trigger.js | ||
const eventCodes = { | ||
fixation: 1, | ||
evidence: 5, | ||
show_earnings: 7, | ||
test_connect: 32, | ||
open_task: 18 | ||
fixationStart: 1, | ||
fixationEnd: 2, | ||
rewardProbabilityStart: 10, | ||
rewardProbabilityEnd: 11, | ||
frameSpikeStart: 20, | ||
frameSpikeEnd: 21, | ||
costBenefitsStart: 30, | ||
costBenefitsEnd: 31, | ||
choiceStart: 40, | ||
choiceEnd: 41, | ||
pressBalloonStart: 50, | ||
pressBalloonEnd: 51, | ||
cumulativeRewardsStart: 60, | ||
cumulativeRewardsEnd: 61, | ||
rewardFeedbackStart: 70, | ||
rewardFeedbackEnd: 71, | ||
showPaymentStart: 80, | ||
showPaymendEnd: 81, | ||
trialFinish: 3, | ||
test_connect: 4, | ||
open_task: 5 | ||
} | ||
|
||
// this is module.exports isntead of just exports as it is also imported into the electron app | ||
module.exports = { | ||
manufacturer, | ||
vendorId, | ||
productId, | ||
comName, | ||
eventCodes | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.