Skip to content

Commit

Permalink
Some spaces to tabs I messed up
Browse files Browse the repository at this point in the history
  • Loading branch information
arntsonl committed Jan 2, 2025
1 parent 73a4312 commit d040d96
Show file tree
Hide file tree
Showing 3 changed files with 510 additions and 510 deletions.
14 changes: 7 additions & 7 deletions www/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ app.get('/api/getGamepadOptions', (req, res) => {
ps5AuthType: 0,
xinputAuthType: 0,
ps4ControllerIDMode: 0,
usbDescOverride: 0,
usbDescProduct: 'GP2040-CE (Custom)',
usbDescManufacturer: 'Open Stick Community',
usbDescVersion: '1.0',
usbOverrideID: 0,
usbVendorID: '10C4',
usbProductID: '82C0',
usbDescOverride: 0,
usbDescProduct: 'GP2040-CE (Custom)',
usbDescManufacturer: 'Open Stick Community',
usbDescVersion: '1.0',
usbOverrideID: 0,
usbVendorID: '10C4',
usbProductID: '82C0',
hotkey01: {
auxMask: 32768,
buttonsMask: 66304,
Expand Down
6 changes: 3 additions & 3 deletions www/src/Contexts/AppContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ yup.addMethod(yup.string, 'validateColor', function () {
});

yup.addMethod(yup.string, 'validateUSBHexID', function() {
return this.test('', 'Valid USB hex ID required', (value) =>
value?.match(/^([0-9a-f]{4})$/i),
);
return this.test('', 'Valid USB hex ID required', (value) =>
value?.match(/^([0-9a-f]{4})$/i),
);
});

yup.addMethod(
Expand Down
Loading

0 comments on commit d040d96

Please sign in to comment.