Add DOCS for gamepad module

This commit is contained in:
nkymut 2024-12-17 19:22:03 +08:00
parent f01d51f76a
commit 033b123ae0
4 changed files with 128 additions and 8 deletions

View file

@ -84,6 +84,7 @@ export const SIDEBAR: Sidebar = {
{ text: 'Music metadata', link: 'learn/metadata' },
{ text: 'CSound', link: 'learn/csound' },
{ text: 'Hydra', link: 'learn/hydra' },
{ text: 'Input Devices', link: 'learn/input-devices' },
],
'Pattern Functions': [
{ text: 'Introduction', link: 'functions/intro' },

View file

@ -0,0 +1,15 @@
---
title: Input Devices
layout: ../../layouts/MainLayout.astro
---
import { MiniRepl } from '../../docs/MiniRepl';
import { JsDoc } from '../../docs/JsDoc';
import Gamepad from '../../../../packages/gamepad/docs/gamepad.mdx';
# Input Devices
Strudel supports various input devices to enhance your live coding experience and create interactive musical performances. You can use gamepads, mobile device sensors, MIDI controllers, and other input devices to control and modulate your patterns in real-time. This section covers how to integrate different input devices with Strudel and use their signals to create dynamic musical expressions.
<Gamepad />