Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Changing shortcut from Steam + Y to Steam + Start
Browse files Browse the repository at this point in the history
Apparently Steam + Y turns off external controllers and
it also conflicts with the shortcut to open the keyboard when
using the nintendo layout
  • Loading branch information
safijari committed Mar 19, 2023
1 parent 7d4ab2f commit 6f78b55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class DeckyRecorderLogic
if (Date.now() - this.pressedAt < 2000) {
continue;
}
if (inputs.ulButtons && inputs.ulButtons & (1 << 13) && inputs.ulButtons & (1 << 4)) {
if (inputs.ulButtons && inputs.ulButtons & (1 << 13) && inputs.ulButtons & (1 << 14)) {
this.pressedAt = Date.now();
(Router as any).DisableHomeAndQuickAccessButtons();
setTimeout(() => {
Expand All @@ -95,7 +95,7 @@ class DeckyRecorderLogic
if (isRolling.result as boolean) {
await this.saveRollingRecording(30);
} else {
await this.notify("Enabling replay mode", 1500, "Steam + Y to save last 30 seconds");
await this.notify("Enabling replay mode", 1500, "Steam + Start to save last 30 seconds");
this.toggleRolling(false);
}
}
Expand Down Expand Up @@ -248,7 +248,7 @@ const DeckyRecorder: VFC<{ serverAPI: ServerAPI, logic: DeckyRecorderLogic }> =
checked={isRolling}
onChange={(e) => { setRolling(e); rollingToggled(); }}
/>
<div>Steam + Y saves a 30 second clip in replay mode. If replay mode is off, this shortcut will enable it.</div>
<div>Steam + Start saves a 30 second clip in replay mode. If replay mode is off, this shortcut will enable it.</div>
{(!isRolling) ?
<ButtonItem
label={getLabelText()}
Expand Down

0 comments on commit 6f78b55

Please sign in to comment.