搜索插件、代码仓与 APP 分类

win32_gamepad 封面
插件详情v1.0.11

win32_gamepad

一个现代的、类型安全的 Dart API,用于访问连接到 Windows 机器的游戏手柄。

Windows
近 30 天下载
154
喜欢数
37
Pub 分数
160

安装插件

flutter pub add win32_gamepad

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个现代的、类型安全的 Dart API,专为访问连接到 Windows 机器的游戏手柄而设计。它提供了一个简洁直观的接口,用于检测、读取输入和管理游戏手柄状态,具有强大的类型支持和极少的样板代码。专为 Windows 构建,它在底层利用 Win32 API,以确保对连接控制器的可靠且低级别的访问。非常适合需要在桌面平台上精确控制输入的游戏或交互式应用程序开发者。

适合场景

  • Windows 游戏开发
  • 桌面应用程序中的控制器输入处理
  • 实时输入监控
  • 构建自定义游戏手柄工具
  • 将物理控制器集成到Flutter应用中

主要特点

  • 类型安全的输入处理
  • 直接 Win32 API 集成
  • 实时状态更新
  • 支持多个连接的游戏手柄
  • 简单、响应式 API 设计

适合对象

  • 仅限Windows的游戏开发者
  • 需要精确控制器输入的Flutter应用
  • 使用游戏手柄的桌面应用程序创建者
  • 寻求低延迟输入的开发者

使用建议

  • 仅限 Windows 平台
  • 需要原生 Win32 访问
  • 可能需要额外的权限
  • 不适用于移动或网页目标
  • 取决于硬件兼容性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

ci codecov GitHub stars Language: Dart License: BSD-3-Clause

This monorepo contains the win32 family of Dart packages – everything you need to build Windows-native applications in Dart and Flutter. The packages range from low-level Win32 and COM API bindings to modern, type-safe APIs for everyday Windows features like the Registry, Clipboard, gamepads, and more.

📦 Packages

Package Description Pub Issues
ffi_leak_tracker Allocation tracking and leak detection for Dart FFI code pub issues
filepicker_windows File and directory picker for Windows that uses common dialog controls pub issues
win32 Call common Windows APIs directly from Dart using FFI pub issues
win32_clipboard A modern, type-safe Dart API for accessing and managing the Windows Clipboard pub issues
win32_gamepad A modern, type-safe Dart API for accessing gamepads connected to a Windows machine pub issues
win32_registry A modern, type-safe Dart API for accessing and managing the Windows Registry pub issues
win32_runner A Dart runner for Flutter Windows apps — no C++ compiler required pub issues
winmd Inspect and generate Windows Metadata (.winmd) files based on the ECMA-335 standard pub issues
Internal Packages
Package Description Issues
generator Generates Win32 and COM API projections from Windows Metadata issues

🐞 Features and Bugs

If you encounter bugs or need additional functionality, please file an issue.

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

暂无相关数据。