File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/sites/experiments.cubing.net/cubing.js/bluetooth Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { Alg } from "../../../../cubing/alg" ;
2- import type { OrientationEvent } from "../../../../cubing/bluetooth" ;
2+ import {
3+ connectSmartPuzzle ,
4+ OrientationEvent ,
5+ } from "../../../../cubing/bluetooth" ;
36import { debugKeyboardConnect , MoveEvent } from "../../../../cubing/bluetooth" ;
47import { TwistyAlgViewer , TwistyPlayer } from "../../../../cubing/twisty" ;
58
@@ -33,7 +36,7 @@ window.addEventListener("DOMContentLoaded", async () => {
3336 // const acceptAllDevices = (document.querySelector(
3437 // "#acceptAllDevices",
3538 // ) as HTMLInputElement).checked;
36- const puzzle = await debugKeyboardConnect ( ) ;
39+ const puzzle = await connectSmartPuzzle ( ) ;
3740 ( globalThis as any ) . puzzle = puzzle ;
3841 // TODO
3942 // try {
You can’t perform that action at this time.
0 commit comments