搜尋套件、儲存庫與 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 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。