InputBooster API
面向希望与 InputBooster 集成的模组的官方开发者 API 库。
这是什么?
InputBooster API 为模组开发者提供了通过稳定、版本化的接口以编程方式访问 InputBooster 的能力。你可以构建能响应输入事件、读取实时数据、控制功能及管理配置文件的模组,而无需触碰 InputBooster 的内部代码。
开发者可以做什么
- 读取实时数据,如轮询率、FPS、CPS(每秒点击次数)、输入延迟和恢复的输入
- 通过切换激活状态、更改 Hz 以及切换 AUTO 或 MANUAL 模式来控制该模组
- 监听实时事件,包括待处理攻击、爆发模式激活、配置文件切换及 CPS 限制块
- 以编程方式管理配置档案:保存、加载和列出它们
- 根据需求将其作为必需依赖项或可选依赖项使用
对于玩家
你无需手动安装此组件。如果你下载的某个模组需要它,你的启动器(如 Prism、ATLauncher 或 Modrinth App)会自动安装它。
稳定性承诺
API 接口设计旨在随 InputBooster 更新保持稳定。基于此库构建的模组不会仅仅因为 InputBooster 内部更新而失效。次要版本之间仅进行增加性变更。
链接
由 Ahaduzzaman Khan 制作 — MIT 许可证
InputBooster API
Official developer API library for mods that want to integrate with InputBooster.
What Is This?
InputBooster API gives mod developers programmatic access to InputBooster through a stable, versioned interface. Build mods that react to input events, read live stats, control features, and manage profiles — without touching InputBooster's internal code.
What Developers Can Do
- Read live stats such as poll rate, FPS, CPS, input latency, and recovered inputs
- Control the mod by toggling active state, changing Hz, and switching AUTO or MANUAL mode
- Listen to real-time events including attacks queued, burst mode activation, profile switches, and CPS blocks
- Manage config profiles by saving, loading, and listing them programmatically
- Use it as either a required or optional dependency depending on your needs
For Players
You do not need to install this manually. If a mod you downloaded requires it, your launcher such as Prism, ATLauncher, or the Modrinth App will install it automatically.
Stability Promise
The API interface is designed to stay stable across InputBooster updates. Mods built against this library will not break just because InputBooster updates internally. Only additive changes are made between minor versions.
Links
Made by Ahaduzzaman Khan — MIT License
评论 0
登录后参与评分
还没有评论,来抢沙发吧