From 1ea90db5e24789bad12fe8ded3316bd86c53701c Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Wed, 15 Oct 2025 15:29:50 -0500
Subject: [PATCH 01/12] RDK-85 Add new confidence buttons
---
src/classes/Graphics.ts | 4 +--
src/classes/Renderer.ts | 76 +++++++++++++++++++++++++++--------------
2 files changed, 53 insertions(+), 27 deletions(-)
diff --git a/src/classes/Graphics.ts b/src/classes/Graphics.ts
index 2f3b829..726fec0 100644
--- a/src/classes/Graphics.ts
+++ b/src/classes/Graphics.ts
@@ -150,7 +150,7 @@ export class Graphics {
const startAngle = reference - Math.PI / 4;
const endAngle = startAngle + Math.PI / 4;
this.renderer.createArc(startAngle - Math.PI / 128, endAngle, Renderer.getInvertedColor("white"));
- this.renderer.createArc(startAngle, endAngle, Renderer.getInvertedColor("#3ea3a3"));
+ this.renderer.createArc(startAngle, endAngle, Renderer.getInvertedColor("#1792fc"));
}
/**
@@ -159,7 +159,7 @@ export class Graphics {
addRightArc(): void {
const startAngle = -Math.PI / 2;
const endAngle = Math.PI / 2;
- this.renderer.createArc(startAngle, endAngle, Renderer.getInvertedColor("#3ea3a3"));
+ this.renderer.createArc(startAngle, endAngle, Renderer.getInvertedColor("#1792fc"));
}
/**
diff --git a/src/classes/Renderer.ts b/src/classes/Renderer.ts
index 6fbf60e..4f266b9 100644
--- a/src/classes/Renderer.ts
+++ b/src/classes/Renderer.ts
@@ -256,24 +256,47 @@ export class Renderer {
}
}
- addButton(buttonText: string, offset = "none"): HTMLDivElement {
+ addButton(buttonText: string, variant = "default"): HTMLDivElement {
+ // Create colorscheme based on variant
+ const colorscheme = {
+ default: {
+ background: "#88919e",
+ fill: "#575d66",
+ },
+ orangeDark: {
+ background: "#ffc20a",
+ fill: "#ffe63b",
+ },
+ orangeLight: {
+ background: "#ffe084",
+ fill: "#ffe79d",
+ },
+ blueDark: {
+ background: "#1792fc",
+ fill: "#2c96f3",
+ },
+ blueLight: {
+ background: "#7bbef8",
+ fill: "#95caf9",
+ },
+ };
+
// Create container
const buttonContainer = document.createElement("div");
buttonContainer.style.display = "flex";
buttonContainer.style.justifyContent = "center";
buttonContainer.style.alignItems = "center";
- buttonContainer.style.width = "100px";
- buttonContainer.style.height = "50px";
- buttonContainer.style.padding = "2px";
- buttonContainer.style.border = "4px solid " + Renderer.getInvertedColor("black");
- buttonContainer.style.borderRadius = "12px";
- buttonContainer.style.backgroundColor = Renderer.getInvertedColor("white");
+ buttonContainer.style.width = "140px";
+ buttonContainer.style.height = "60px";
+ buttonContainer.style.padding = "4px";
+ buttonContainer.style.borderRadius = "8px";
+ buttonContainer.style.backgroundColor = colorscheme[variant].background;
// Add label text for the button
const buttonLabel = document.createElement("p");
buttonLabel.textContent = buttonText;
buttonLabel.style.fontWeight = "bold";
- buttonLabel.style.fontSize = "xx-large";
+ buttonLabel.style.fontSize = "x-large";
buttonContainer.appendChild(buttonLabel);
return buttonContainer;
@@ -294,22 +317,24 @@ export class Renderer {
leftContainer.style.display = "flex";
leftContainer.style.justifyContent = "center";
leftContainer.style.alignItems = "center";
- leftContainer.style.flexDirection = "column";
- leftContainer.style.gap = "10px";
+ leftContainer.style.flexDirection = "row";
+ leftContainer.style.gap = "16px";
leftContainer.style.position = "absolute";
- leftContainer.style.marginRight = "60%";
- leftContainer.style.marginTop = "40px";
+ leftContainer.style.marginRight = "70%";
- // Add the left button to the left label container
- const leftButton = this.addButton("Left", "left");
- leftContainer.append(leftButton);
+ // Add the left buttons to the left label container
+ // To-Do: 2-second hold to select
+ const leftVeryConfidentButton = this.addButton("Very Confident", "orangeDark");
+ const leftSomewhatConfidentButton = this.addButton("Somewhat Confident", "orangeLight");
+ leftContainer.append(leftVeryConfidentButton);
+ leftContainer.append(leftSomewhatConfidentButton);
// Add the input indicators
const leftButtonContainer = document.createElement("div");
if (__TARGET__ === "spectrometer") {
- leftButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(1);
+ // leftButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(1);
} else {
- leftButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("F");
+ // leftButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("F");
}
leftContainer.append(leftButtonContainer);
@@ -325,22 +350,23 @@ export class Renderer {
rightContainer.style.display = "flex";
rightContainer.style.justifyContent = "center";
rightContainer.style.alignItems = "center";
- rightContainer.style.flexDirection = "column";
- rightContainer.style.gap = "10px";
+ rightContainer.style.flexDirection = "row";
+ rightContainer.style.gap = "16px";
rightContainer.style.position = "absolute";
- rightContainer.style.marginLeft = "60%";
- rightContainer.style.marginTop = "40px";
+ rightContainer.style.marginLeft = "70%";
// Add the right button to the right label container
- const rightButton = this.addButton("Right", "right");
- rightContainer.append(rightButton);
+ const rightButtonVeryConfident = this.addButton("Very Confident", "blueDark");
+ const rightButtonSomewhatConfident = this.addButton("Somewhat Confident", "blueLight");
+ rightContainer.append(rightButtonSomewhatConfident);
+ rightContainer.append(rightButtonVeryConfident);
// Add the input indicators
const rightButtonContainer = document.createElement("div");
if (__TARGET__ === "spectrometer") {
- rightButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(4);
+ // rightButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(4);
} else {
- rightButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("J");
+ // rightButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("J");
}
rightContainer.append(rightButtonContainer);
From 8b03773e177232280a4b7fbc46afe0f19f7c4dee Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Wed, 15 Oct 2025 16:05:18 -0500
Subject: [PATCH 02/12] RDK-85 Update confidence input graphics
---
src/classes/Renderer.ts | 125 +++++++++++++++++++++++++++++++---------
1 file changed, 99 insertions(+), 26 deletions(-)
diff --git a/src/classes/Renderer.ts b/src/classes/Renderer.ts
index 4f266b9..c7c6ca5 100644
--- a/src/classes/Renderer.ts
+++ b/src/classes/Renderer.ts
@@ -312,31 +312,67 @@ export class Renderer {
const graphicsCanvasDiv =
document.getElementsByClassName("graphics-container")[0];
- // Create the left label container
+ // Create the left container
const leftContainer = document.createElement("div");
leftContainer.style.display = "flex";
- leftContainer.style.justifyContent = "center";
+ leftContainer.style.flexDirection = "column";
leftContainer.style.alignItems = "center";
- leftContainer.style.flexDirection = "row";
- leftContainer.style.gap = "16px";
+ leftContainer.style.justifyContent = "center";
leftContainer.style.position = "absolute";
leftContainer.style.marginRight = "70%";
- // Add the left buttons to the left label container
+ // Left label
+ const leftLabel = document.createElement("p");
+ leftLabel.textContent = "Left";
+ leftLabel.style.fontSize = "xx-large";
+ leftLabel.style.fontWeight = "bold";
+ leftContainer.append(leftLabel);
+
+ // Create the left button container
+ const leftButtonContainer = document.createElement("div");
+ leftButtonContainer.style.display = "flex";
+ leftButtonContainer.style.justifyContent = "center";
+ leftButtonContainer.style.alignItems = "center";
+ leftButtonContainer.style.flexDirection = "row";
+ leftButtonContainer.style.gap = "16px";
+ leftContainer.append(leftButtonContainer);
+
// To-Do: 2-second hold to select
+ // Left "Very Confident" button
+ const leftVeryConfidentButtonContainer = document.createElement("div");
+ leftVeryConfidentButtonContainer.style.display = "flex";
+ leftVeryConfidentButtonContainer.style.justifyContent = "center";
+ leftVeryConfidentButtonContainer.style.alignItems = "center";
+ leftVeryConfidentButtonContainer.style.flexDirection = "column";
+ leftVeryConfidentButtonContainer.style.gap = "16px";
const leftVeryConfidentButton = this.addButton("Very Confident", "orangeDark");
+ leftVeryConfidentButtonContainer.append(leftVeryConfidentButton);
+ const leftVeryConfidentButtonLabelContainer = document.createElement("div");
+ if (__TARGET__ === "spectrometer") {
+ leftVeryConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedControllerButton(1);
+ } else {
+ leftVeryConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("D");
+ }
+ leftVeryConfidentButtonContainer.append(leftVeryConfidentButtonLabelContainer);
+ leftButtonContainer.append(leftVeryConfidentButtonContainer);
+
+ // Left "Somewhat Confident" button
+ const leftSomewhatConfidentButtonContainer = document.createElement("div");
+ leftSomewhatConfidentButtonContainer.style.display = "flex";
+ leftSomewhatConfidentButtonContainer.style.justifyContent = "center";
+ leftSomewhatConfidentButtonContainer.style.alignItems = "center";
+ leftSomewhatConfidentButtonContainer.style.flexDirection = "column";
+ leftSomewhatConfidentButtonContainer.style.gap = "16px";
const leftSomewhatConfidentButton = this.addButton("Somewhat Confident", "orangeLight");
- leftContainer.append(leftVeryConfidentButton);
- leftContainer.append(leftSomewhatConfidentButton);
-
- // Add the input indicators
- const leftButtonContainer = document.createElement("div");
+ leftSomewhatConfidentButtonContainer.append(leftSomewhatConfidentButton);
+ const leftSomewhatConfidentButtonLabelContainer = document.createElement("div");
if (__TARGET__ === "spectrometer") {
- // leftButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(1);
+ leftSomewhatConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedControllerButton(2);
} else {
- // leftButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("F");
+ leftSomewhatConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("F");
}
- leftContainer.append(leftButtonContainer);
+ leftSomewhatConfidentButtonContainer.append(leftSomewhatConfidentButtonLabelContainer);
+ leftButtonContainer.append(leftSomewhatConfidentButtonContainer);
// Prepend the left label container to the graphics container
graphicsCanvasDiv.prepend(leftContainer);
@@ -345,30 +381,67 @@ export class Renderer {
const graphicsCanvasDiv =
document.getElementsByClassName("graphics-container")[0];
- // Create the right label container
+ // Create the right container
const rightContainer = document.createElement("div");
rightContainer.style.display = "flex";
- rightContainer.style.justifyContent = "center";
+ rightContainer.style.flexDirection = "column";
rightContainer.style.alignItems = "center";
- rightContainer.style.flexDirection = "row";
- rightContainer.style.gap = "16px";
+ rightContainer.style.justifyContent = "center";
rightContainer.style.position = "absolute";
rightContainer.style.marginLeft = "70%";
- // Add the right button to the right label container
- const rightButtonVeryConfident = this.addButton("Very Confident", "blueDark");
- const rightButtonSomewhatConfident = this.addButton("Somewhat Confident", "blueLight");
- rightContainer.append(rightButtonSomewhatConfident);
- rightContainer.append(rightButtonVeryConfident);
+ // Right label
+ const rightLabel = document.createElement("p");
+ rightLabel.textContent = "Right";
+ rightLabel.style.fontSize = "xx-large";
+ rightLabel.style.fontWeight = "bold";
+ rightContainer.append(rightLabel);
- // Add the input indicators
+ // Create the right button container
const rightButtonContainer = document.createElement("div");
+ rightButtonContainer.style.display = "flex";
+ rightButtonContainer.style.justifyContent = "center";
+ rightButtonContainer.style.alignItems = "center";
+ rightButtonContainer.style.flexDirection = "row";
+ rightButtonContainer.style.gap = "16px";
+ rightContainer.append(rightButtonContainer);
+
+ // To-Do: 2-second hold to select
+ // Right "Somewhat Confident" button
+ const rightSomewhatConfidentButtonContainer = document.createElement("div");
+ rightSomewhatConfidentButtonContainer.style.display = "flex";
+ rightSomewhatConfidentButtonContainer.style.justifyContent = "center";
+ rightSomewhatConfidentButtonContainer.style.alignItems = "center";
+ rightSomewhatConfidentButtonContainer.style.flexDirection = "column";
+ rightSomewhatConfidentButtonContainer.style.gap = "16px";
+ const rightSomewhatConfidentButton = this.addButton("Somewhat Confident", "blueLight");
+ rightSomewhatConfidentButtonContainer.append(rightSomewhatConfidentButton);
+ const rightSomewhatConfidentButtonLabelContainer = document.createElement("div");
if (__TARGET__ === "spectrometer") {
- // rightButtonContainer.innerHTML = Renderer.getEmbeddedControllerButton(4);
+ rightSomewhatConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedControllerButton(3);
} else {
- // rightButtonContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("J");
+ rightSomewhatConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("J");
}
- rightContainer.append(rightButtonContainer);
+ rightSomewhatConfidentButtonContainer.append(rightSomewhatConfidentButtonLabelContainer);
+ rightButtonContainer.append(rightSomewhatConfidentButtonContainer);
+
+ // Right "Very Confident" button
+ const rightVeryConfidentButtonContainer = document.createElement("div");
+ rightVeryConfidentButtonContainer.style.display = "flex";
+ rightVeryConfidentButtonContainer.style.justifyContent = "center";
+ rightVeryConfidentButtonContainer.style.alignItems = "center";
+ rightVeryConfidentButtonContainer.style.flexDirection = "column";
+ rightVeryConfidentButtonContainer.style.gap = "16px";
+ const rightVeryConfidentButton = this.addButton("Very Confident", "blueDark");
+ rightVeryConfidentButtonContainer.append(rightVeryConfidentButton);
+ const rightVeryConfidentButtonLabelContainer = document.createElement("div");
+ if (__TARGET__ === "spectrometer") {
+ rightVeryConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedControllerButton(4);
+ } else {
+ rightVeryConfidentButtonLabelContainer.innerHTML = Renderer.getEmbeddedKeyboardButton("K");
+ }
+ rightVeryConfidentButtonContainer.append(rightVeryConfidentButtonLabelContainer);
+ rightButtonContainer.append(rightVeryConfidentButtonContainer);
// Append the right label container to the graphics container
graphicsCanvasDiv.append(rightContainer);
From fe8cd0da865fc9eec926b87f3a72b1470ec67df3 Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Wed, 15 Oct 2025 16:14:01 -0500
Subject: [PATCH 03/12] RDK-85 Increase sizes of controller glyphs
---
src/classes/Renderer.ts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/classes/Renderer.ts b/src/classes/Renderer.ts
index c7c6ca5..71122df 100644
--- a/src/classes/Renderer.ts
+++ b/src/classes/Renderer.ts
@@ -463,13 +463,13 @@ export class Renderer {
// Create SVG with 4 circles representing the controller buttons
const svg = `
-
` +
`If your answer was correct, the cross in the ` +
`middle of the screen will briefly turn green.
` +
`If your answer was wrong, the cross in the ` +
@@ -288,7 +286,6 @@ for (let t = 0; t < Manipulations.numPracticeTrials; t++) {
dotDirection: r,
dotVelocity: 2.0,
showFeedback: true,
- checkConfidence: false,
keyLayout: keyLayout,
data: {
name: trialName,
@@ -319,9 +316,6 @@ if (Manipulations.numCalibrationOneTrials + Manipulations.numMainTrials > 0) {
Manipulations.numCalibrationOneTrials + Manipulations.numMainTrials
} ` +
`games.
` +
- `You will not be shown if you have correctly ` +
- `answered or not, and you will be asked to rate your ` +
- `confidence after some of the games.
` +
`
` +
`Good luck!
` +
instructionContinueText
@@ -390,7 +384,6 @@ for (let t = 0; t < Manipulations.numCalibrationOneTrials; t++) {
dotDirection: r,
dotVelocity: 2.0,
showFeedback: false,
- checkConfidence: true,
keyLayout: keyLayout,
data: {
name: trialName,
@@ -428,7 +421,6 @@ for (let t = 0; t < Manipulations.numMainTrials; t++) {
dotDirection: r,
dotVelocity: 2.0,
showFeedback: false,
- checkConfidence:true,
keyLayout: keyLayout,
data: {
name: trialName,
From cc857cafff614ce1e8cd0de705ac91cfac5735e2 Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Wed, 15 Oct 2025 17:19:47 -0500
Subject: [PATCH 08/12] RDK-85 Fix progress colours
---
src/classes/Renderer.ts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/classes/Renderer.ts b/src/classes/Renderer.ts
index 8cd8b1e..af6f772 100644
--- a/src/classes/Renderer.ts
+++ b/src/classes/Renderer.ts
@@ -265,19 +265,19 @@ export class Renderer {
},
orangeDark: {
background: "#ffc20a",
- fill: "#ffe63b",
+ fill: "#ffdb6e",
},
orangeLight: {
- background: "#ffe084",
- fill: "#ffe79d",
+ background: "#ffd75e",
+ fill: "#fce7a9",
},
blueDark: {
background: "#1792fc",
- fill: "#2c96f3",
+ fill: "#47a8fc",
},
blueLight: {
background: "#7bbef8",
- fill: "#95caf9",
+ fill: "#9dd0fc",
},
};
From 0f707000324ac061986d629bcfefe2dc1633914a Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Thu, 16 Oct 2025 12:31:50 -0500
Subject: [PATCH 09/12] RDK-85 Fix instructions button inputs
---
src/classes/Renderer.ts | 1 +
src/index.ts | 20 ++++++++++----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/classes/Renderer.ts b/src/classes/Renderer.ts
index af6f772..f76c479 100644
--- a/src/classes/Renderer.ts
+++ b/src/classes/Renderer.ts
@@ -313,6 +313,7 @@ export class Renderer {
buttonLabel.style.fontSize = "x-large";
buttonLabel.style.position = "relative";
buttonLabel.style.zIndex = "1";
+ buttonLabel.style.color = "black";
buttonContainer.appendChild(buttonLabel);
return buttonContainer;
diff --git a/src/index.ts b/src/index.ts
index 8f292a0..bc3be88 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -177,8 +177,8 @@ if (
instructionContinueText,
],
allow_keys: !keyLayout.showButtons,
- key_forward: keyLayout["3"].charAt(keyLayout["3"].length - 1),
- key_backward: keyLayout["2"].charAt(keyLayout["2"].length - 1),
+ key_forward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["4"] : keyLayout["3"],
+ key_backward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["1"] : keyLayout["2"],
show_page_number: true,
show_clickable_nav: keyLayout.showButtons,
});
@@ -198,8 +198,8 @@ timeline.push({
type: InstructionsPlugin,
pages: tutorialGames,
allow_keys: !keyLayout.showButtons,
- key_forward: keyLayout["3"].charAt(keyLayout["3"].length - 1),
- key_backward: keyLayout["2"].charAt(keyLayout["2"].length - 1),
+ key_forward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["4"] : keyLayout["3"],
+ key_backward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["1"] : keyLayout["2"],
show_page_number: true,
show_clickable_nav: keyLayout.showButtons,
});
@@ -261,8 +261,8 @@ timeline.push({
type: InstructionsPlugin,
pages: practice,
allow_keys: !keyLayout.showButtons,
- key_forward: keyLayout["3"].charAt(keyLayout["3"].length - 1),
- key_backward: keyLayout["2"].charAt(keyLayout["2"].length - 1),
+ key_forward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["4"] : keyLayout["3"],
+ key_backward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["1"] : keyLayout["2"],
show_page_number: true,
show_clickable_nav: keyLayout.showButtons,
});
@@ -350,7 +350,7 @@ if (_.isEqual(keyLayout.name, "spectrometer")) {
type: InstructionsPlugin,
pages: spectrometer,
allow_keys: !keyLayout.showButtons,
- key_forward: keyLayout.trigger.charAt(keyLayout.trigger.length - 1),
+ key_forward: keyLayout.trigger,
show_clickable_nav: keyLayout.showButtons,
});
} else {
@@ -358,8 +358,8 @@ if (_.isEqual(keyLayout.name, "spectrometer")) {
type: InstructionsPlugin,
pages: main,
allow_keys: !keyLayout.showButtons,
- key_forward: keyLayout["3"].charAt(keyLayout["3"].length - 1),
- key_backward: keyLayout["2"].charAt(keyLayout["2"].length - 1),
+ key_forward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["4"] : keyLayout["3"],
+ key_backward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["1"] : keyLayout["2"],
show_page_number: true,
show_clickable_nav: keyLayout.showButtons,
});
@@ -450,7 +450,7 @@ timeline.push({
allow_backward: false,
button_label_next: "Finish",
show_clickable_nav: false,
- key_forward: keyLayout["3"],
+ key_forward: _.isEqual(keyLayout.name, "spectrometer") ? keyLayout["4"] : keyLayout["3"],
});
jsPsych.run(timeline);
From 16cce2221a049b08b282d972cc3ce7e4221de028 Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Thu, 16 Oct 2025 13:07:41 -0500
Subject: [PATCH 10/12] RDK-85 Fix automatic color scheme
---
src/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/index.ts b/src/index.ts
index bc3be88..2308007 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -101,7 +101,7 @@ export const Manipulations = {
"numMainTrials",
40
),
- invertColors: jsPsych.extensions.Neurocog.getManipulation("invertColors", false),
+ invertColors: __TARGET__ === "spectrometer",
requireID: jsPsych.extensions.Neurocog.getManipulation("requireID", false),
enableFullscreen: jsPsych.extensions.Neurocog.getManipulation("enableFullscreen", false),
showInstructions: jsPsych.extensions.Neurocog.getManipulation(
From 69e743a1ac58766850339f9c4b0dc15383321c0d Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Thu, 16 Oct 2025 14:47:00 -0500
Subject: [PATCH 11/12] RDK-85 Update README
---
README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/README.md b/README.md
index 0ddf4da..183afbb 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,12 @@ To deliver this task offline, open `index.html` in a browser of choice. To deliv
To deliver this task offline in a spectrometer, adjust the key layout defined in `index.ts` to map the signals generated by spectrometer controllers. Run `yarn build:spectrometer` to generate output with updated button icons and key layouts to suit spectrometer delivery and controller interaction. This task requires a minimum of four physical buttons for playing the game and a signal signifying spectrometer data collection.
+> [!IMPORTANT]
+> When using the Current Designs button box, use the following output modes for the corresponding task version:
+>
+> * **v1.8.2 and higher**: Use *Output mode* `HID_NAR_12345`
+> * **v1.8.1 and earlier**: Use *Output mode* `HID_KEY_12345`
+
## License
From cf285ef90b24a006ec01d371c9712f3ccea80519 Mon Sep 17 00:00:00 2001
From: Henry Burgess
Date: Thu, 16 Oct 2025 14:48:29 -0500
Subject: [PATCH 12/12] RDK-85 Update README
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 183afbb..0878419 100644
--- a/README.md
+++ b/README.md
@@ -23,10 +23,10 @@ To deliver this task offline, open `index.html` in a browser of choice. To deliv
To deliver this task offline in a spectrometer, adjust the key layout defined in `index.ts` to map the signals generated by spectrometer controllers. Run `yarn build:spectrometer` to generate output with updated button icons and key layouts to suit spectrometer delivery and controller interaction. This task requires a minimum of four physical buttons for playing the game and a signal signifying spectrometer data collection.
> [!IMPORTANT]
-> When using the Current Designs button box, use the following output modes for the corresponding task version:
+> When using the Current Designs button box, set the following *Output modes* for the corresponding task version:
>
-> * **v1.8.2 and higher**: Use *Output mode* `HID_NAR_12345`
-> * **v1.8.1 and earlier**: Use *Output mode* `HID_KEY_12345`
+> * **v1.8.2 and higher**: Set *Output mode* to `HID_NAR_12345`
+> * **v1.8.1 and earlier**: Set *Output mode* to `HID_KEY_12345`
## License