📄 Gamepad.vue
¶
📊 Analysis Summary¶
Metric | Count |
---|---|
🔧 Functions | 1 |
📦 Imports | 3 |
📊 Variables & Constants | 2 |
🟢 Vue Composition API | 1 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/core/useGamepad/components/Gamepad.vue
📦 Imports¶
Name | Source |
---|---|
computed |
vue |
Controller |
./Controller.vue |
Item |
./Item.vue |
Variables & Constants¶
Name | Type | Kind | Value | Exported |
---|---|---|---|---|
props |
boolean |
let/var | defineProps<{ gamepad: Gamepad }>() |
✗ |
actuator |
any |
let/var | props.gamepad.hapticActuators[0] |
✗ |
Vue Composition API¶
Name | Type | Reactive Variables | Composables |
---|---|---|---|
computed |
computed | none | none |
Functions¶
vibrate(): void
¶
Code
- Return Type:
void
- Calls:
actuator.playEffect
- Internal Comments: