Skip to main content

VeltoKit

Experimental Swift layer: reverse-engineered BLE cap controller → GameInput. Learn how tilt, throw gestures, and button edges become game-ready fields every frame.

Use Search in the navbar (⌘K / Ctrl+K) to find topics. AI assistants: start with Context for AI or repo root AGENTS.md — then download skills below or on For Cursor Claude.

Po polsku — wyszukiwarka i skille

Wyszukiwarka: pole Search w prawym górnym rogu nawigacji — skrót ⌘K (Mac) lub Ctrl+K (Windows/Linux).
Pobranie skilli Cursor / Claude: sekcja Download AI skills na tej stronie, menu AI Skills w navbarze, albo strona For Cursor Claude.

Independent project

Unofficial implementation for education and development. Not affiliated with any hardware manufacturer or brand.

Test hardware

We developed against a generic BLE motion cap (IMU + button). Any source that exposes similar gyro bytes + a button packet works — or use the sample Platform adapter as-is.

Generic BLE motion cap — top view

Pipeline

BLE notify → enqueueBLE / parse → MotionSDK.updateFrame() → GameInput → your game

Sample games

Each demo documents VeltoKit mode, GameInput fields, and source files in the repo.

GameMotionMode (sample)Main GameInput
Pong.paddleposX
Dart.pointer + throw FSMposX, posY, sensors
Bowling.gestureposX, shotTriggered, throwPower
Quiz.paddleposX, primaryAction

Documentation map

I want to…Start here
Run the sample app on iPhoneGetting started
Copy SDK into my projectInstallationSDK overview
Minimal Swift loopQuick start
See games + videosDemo
API referenceVeltoKit SDK
Fix jitter / weak throwsConfiguration
Connect controller in one callQuick start (connect() + pollInput())
Wire my own BLE stackBLE integration
Help — app, controller, TVHelp
Search all docsUse the Search box in the top bar (⌘K / Ctrl+K)
AI assistant confused by docsContext for AI · AGENTS.md in repo root
Calibrate cap + Triki menu (like Quiz)Triki UI — calibration & simple menu
Download Cursor / Claude skillsDownload AI skills on this page

Download AI skills

One-file prompts for Cursor or Claude. In a clone they are at website/static/skills/. Use the docs Search box in the navbar (⌘K / Ctrl+K) to find SDK topics quickly.

PL: Wyszukiwarka — pole Search w prawym górnym rogu (`⌘K` / `Ctrl+K`). Pobranie skilli — przyciski poniżej lub menu AI Skills ↓ Download Cursor (.md) / ↓ Download Claude (.md).

Direct links (copy)

Best for understanding the repo: open AGENTS.md at the repo root (already in clone). Cursor: skill is at .cursor/skills/veltokit/SKILL.md or paste downloaded file into chat. Claude: attach AGENTS.md or add Project instructions from the downloaded file.

Repo layout

VeltoKit/ MotionSDK.connect(), BLEManager, GameInput
app/ Sample iOS app (open app/gametriki.xcodeproj)
Platform/ TrikiInputAdapter (optional calibration UI)
Engine/ Game loop
Games/ Pong, Dart, Bowling, Quiz
website/ This documentation (Docusaurus)

Quick start · SDK overview · Demo