Skip to content

Commit

Permalink
Added Gamepad provider
Browse files Browse the repository at this point in the history
  • Loading branch information
amorygalili committed Jan 21, 2024
1 parent f66ef67 commit 948b02c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "FRC Web Components",
"version": "0.7.0"
"version": "0.7.1"
},
"tauri": {
"allowlist": {
Expand Down
3 changes: 2 additions & 1 deletion src/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import {
setDefaultSourceProvider,
setAssetBasePath,
} from "@frc-web-components/app";
import { Nt4Provider } from "@frc-web-components/fwc/source-providers";
import { Nt4Provider, GamepadProvider } from "@frc-web-components/fwc/source-providers";
import { darkTheme } from "@frc-web-components/fwc/themes";
import { dashboardElementConfigs } from "@frc-web-components/fwc";

setAssetBasePath("http://localhost:18127/assets");
addThemeRules("dark", darkTheme);
addSourceProvider("NetworkTables", new Nt4Provider());
addSourceProvider("Gamepad", new GamepadProvider());
setDefaultSourceProvider("NetworkTables");
addElements(dashboardElementConfigs, "FRC");
mountDashboard(document.body);
Expand Down

0 comments on commit 948b02c

Please sign in to comment.