一个用于构建物理交互式控制台的框架,通过自定义USB-HID板卡和Python主机库管理输入、状态、音频和显示。

Stars

39

7 天增长

暂无数据

Fork 数

3

开放 Issue

0

开源协议

MIT

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

驱动真实的星际飞船桥模拟器;提供完整的可复用参考,包含硬件设计、固件和主机库;在一个连贯系统中整合了状态、音频、触觉反馈和显示。

适合谁使用

  • 构建物理交互装置开发者
  • 创建自定义控制面板或模拟器爱好者
  • 密室逃脱设计师
  • 街机游戏制作者

典型使用场景

  • 构建带有物理控制的星际飞船桥模拟器
  • 设计使用开关和指示灯的密室逃脱谜题
  • 创建带有自定义输入板卡的街机机台
  • 开发具有多个显示器和音频的博物馆互动展品

项目优势

  • 覆盖硬件、固件和主机软件的端到端解决方案
  • 通过Spec Vars在所有组件之间实现连贯的状态管理
  • 具有优先语音队列和触觉支持的分层音频引擎
  • 通过WebSocket灵活集成显示(Unity、浏览器等)

使用前须知

  • 未积极维护;问题和拉取请求可能不被处理
  • 仅在macOS Tahoe(Apple Silicon)上测试;不保证跨平台支持
  • 需要自定义PCB板卡(已实现三种,其他规划中)——非开箱即用的系统

README 快速开始

Enigma

A framework for building physical interactive consoles: installations where an operator works a panel of real switches, knobs, indicators, and screens. It handles input, state, audio, and displays:

  • Control surfaces: custom USB-HID boards for switches, rotary encoders, and analog inputs, each control paired with an addressable-LED indicator. The board automatically manages all indicator animation and state management without host interaction.
  • State: one coherent application state kept in sync via "Spec Vars" across multiple independent HID devices and displays, so every panel, sound, and display reacts to the same source of truth.
  • Audio and haptics: a layered, multi-channel sound engine: independently volume-controlled classes (music, voice, ambient, effects, alerts), a priority voice-callout queue, and event- or threshold-driven playback. The same engine optionally drives haptic transducers alongside the speakers.
  • Displays: optional, and anything that can hold a socket open: a local game-engine screen (Unity, Unreal, Godot), a browser page, an LED matrix, or a small networked screen on a Raspberry Pi across the room. Application state is serialized and published over WebSocket to any number of them (or none), each subscribing to only the values it needs.

Enigma is the framework the Halcyon Dawn physical starship-bridge simulator is built on. It is published here as a complete, reusable reference: the host library, the board firmware, and the PCB designs.

While building it explicitly for use in my simulator frame, I also kept in mind somewhat broader needs, such as designing electronic escape room puzzles, arcade games, and so on. The expanded list of future boards includes functionality useful for those ventures, even if the Halcyon Dawn project didn't use them.

Status: published as-is, for reference and reuse. Not actively maintained. Issues and pull requests are unlikely to be reviewed, and Issues are disabled. New boards may be added occasionally, but there is no support commitment. Fork freely; that is what the license is for.

Platform: built and tested only on macOS Tahoe (Apple Silicon). No testing has been done on other platforms, and none is planned. It may or may not work elsewhere; that is left to you.

Layout

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482