Code Monkey home page Code Monkey logo

gamepaduwp's Introduction

GamepadUWP

Sample code to read Xbox one gamepad controller on a Universal Windows Platform (UWP)

The app shows all buttons and triggers that are pressed. It also shows the events (GamepadAdded, GamepadRemoved, HeadsetConnected, etc). It was tested in Xbox One and PC with the xbox controller connected via USB.

User interface

Next Steps

  • Improve UI
  • Support multiple controllers and users

Links

Gamepad and remote control

Windows.Gaming.Input namespace

gamepaduwp's People

Contributors

tiagonmas avatar

Stargazers

Amon avatar Chris Chen avatar Todor avatar Media Explorer avatar Joe DF avatar 朱利戈 avatar Ethan Pui avatar Sukesh Ashok Kumar avatar Victor Chen avatar  avatar Gil Zhang avatar Vincent Wang avatar Man Sun avatar Radu avatar Roman S avatar  avatar philip nettles avatar Rob Patershuk avatar Andrew avatar Evgeny Vinnik avatar FTE avatar  avatar Paul Choquette avatar Ryan Nolan avatar Jorge Reis avatar  avatar

Watchers

 avatar James Cloos avatar  avatar Media Explorer avatar  avatar philip nettles avatar

Forkers

koopieco

gamepaduwp's Issues

Gamepad disconnection not detected on Windows 11

There appears to be a Windows 11 compatibility issue with this project and, more specifically, with the Windows.Gaming.Input library. That is, Windows.Gaming.Input.Gamepad fails to issue a GamepadRemoved event on the latest version of Windows 11 when a gamepad is physically disconnected. Until the underlying cause is properly addressed by Microsoft, perhaps there's an alternative means of detecting gamepad removal?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.