steamdeck-controls

Integrate Steam Deck gamepad inputs into Phaser 3 HTML5 games.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Kadajett/SDR --skill steamdeck-controls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: steamdeck-controls
Source: https://github.com/Kadajett/SDR/tree/main/.claude/skills/steamdeck-controls
Command: npx skills add https://github.com/Kadajett/SDR --skill steamdeck-controls

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that Phaser 3 games seamlessly integrate with Steam Deck controller inputs, providing a consistent and intuitive gaming experience across devices.

Core Features & Use Cases

  • Gamepad API Mapping: Translates Steam Deck's gamepad inputs to Phaser 3's input system.
  • Dual-Input Support: Enables simultaneous use of keyboard and gamepad, with a unified input state.
  • Best Practices: Provides guidelines for resolution, UI scaling, and input handling specific to the Steam Deck.
  • Use Case: A game developer can use this Skill to quickly implement robust controller support for their Phaser 3 game, ensuring it plays well on the Steam Deck without extensive custom input code.

Quick Start

Implement the provided unified input reader function to handle both keyboard and gamepad inputs for your Phaser 3 game.

Frequently Asked Questions about steamdeck-controls

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Steam Deck controller support to a Phaser 3 game?

Add Steam Deck controller support to a Phaser 3 game by mapping W3C Gamepad API inputs to Phaser 3's input system. This provides code examples for gamepad integration without requiring extensive custom input code.

Can I use keyboard and gamepad inputs simultaneously in Phaser 3?

You can use keyboard and gamepad inputs simultaneously in Phaser 3 by implementing a dual-input system. This approach unifies the input state, ensuring your game responds consistently to both control schemes.

What are the best practices for Steam Deck input mapping in HTML5 games?

Best practices for Steam Deck input mapping in HTML5 games include adhering to specific guidelines for resolution, UI scaling, and input handling. This ensures a consistent and intuitive gaming experience across devices.

Does the W3C Gamepad API work directly with Phaser 3 on the Steam Deck?

The W3C Gamepad API works with Phaser 3 on the Steam Deck by translating the controller's native inputs into Phaser 3's integrated gamepad system, ensuring seamless input recognition and gameplay.

Why does my Phaser 3 gamepad integration fail on the Steam Deck?

Phaser 3 gamepad integration might fail on the Steam Deck if resolution and UI scaling are not optimized for the device. Proper input handling and dual-input state management are required to resolve conflicts.

Do I need custom input code to map Steam Deck controls in HTML5?

You do not need extensive custom input code to map Steam Deck controls in HTML5. Comprehensive guidance and code examples translate Steam Deck gamepad inputs to Phaser 3's unified input system directly.