From c00bf5cfe61f82b23ce1acb0b40ba4c2d497c23b Mon Sep 17 00:00:00 2001 From: tetunori Date: Mon, 9 Oct 2023 11:46:44 +0900 Subject: [PATCH] Update docs --- website/docs/env.md | 3 --- website/docs/event.md | 1 + website/docs/import.md | 4 ---- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/website/docs/env.md b/website/docs/env.md index 839671f..4511624 100644 --- a/website/docs/env.md +++ b/website/docs/env.md @@ -10,6 +10,3 @@ Due to the dependency to `Web Bluetooth`, this library works with the following - Browser: Latest version of Google Chrome is highly recommended. Also, some Web Editor like [OpenProcessing](https://www.openprocessing.org/) support this library. We use this environment for samples. -:::note -[p5.js Web Editor](https://editor.p5js.org/) unfortunately does not support `Web Bluetooth` so that this library also does not work😭. Please see [the issue](https://github.com/processing/p5.js-web-editor/issues/1900) on p5.js Web Editor. -::: diff --git a/website/docs/event.md b/website/docs/event.md index daabcea..d3014dc 100644 --- a/website/docs/event.md +++ b/website/docs/event.md @@ -46,6 +46,7 @@ const onFlatChanged(flat: boolean); const onCollisionOccurred(); const onDoubleTapped(); const onPostureChanged(posture: string); +const onShakeLevelChanged(shakelevel: number); const onPositionIdChanged(info: positionIdInfo); const onStandardIdChanged(info: standardIdInfo); ``` diff --git a/website/docs/import.md b/website/docs/import.md index f751705..d40485b 100644 --- a/website/docs/import.md +++ b/website/docs/import.md @@ -25,7 +25,3 @@ We can also use the non-minified code. 2. Insert `p5.toio` library as the additional library by pressing "+" button aside "LIBRARIES". 3. Then, you can go back and start programming in `mySketch`. Go on to the next page [Basic Usage](https://tetunori.github.io/p5.toio/docs/basic). - -:::note -Currently(2022/10/29), [OpenProcessing](https://www.openprocessing.org/) supports `Web Bluetooth` but [p5.js Web Editor](https://editor.p5js.org/) unfortunately does not support it so that this library also does not work😭. Please see [the issue](https://github.com/processing/p5.js-web-editor/issues/1900) on p5.js Web Editor. -:::