gamer-cndg / gamepad Goto Github PK
View Code? Open in Web Editor NEWThis project forked from elanthis/gamepad
Windows and Linux library for gamepad (Xbox/Xbox360) input
License: MIT License
This project forked from elanthis/gamepad
Windows and Linux library for gamepad (Xbox/Xbox360) input
License: MIT License
Gamepad Libary ============== This is a simple library whose sole purpose is to provide an easy to use and portable API for accessing the extremely popular and common Xbox/Xbox360 gamepads. Currently supported platforms are Windows and Linux. OS X is planned. Requirements ============ The header and source file can be dropped into a project's build. On Windows, XInput must be linked in. On Linux, libudev must be linked in. Limitations =========== The library only supports the functions which are compatible with all OSes. Primarily missing are: - Headset/audio support (can only be supported on Windows) - XBOX button support (the big button in the middle of the controller) - LED control support - Battery status support Headsets are not supported in Linux via the Xbox controller, and the big XBOX button and LED control are not supported via XInput on Windows. OS X support has not yet been implemented, as I do not have an OS X machine to develop or test on. There are no plans to support POSIX-style OSes other than Linux and OS X. Platform Issues =============== On Linux, the LED turned on does not reflect correctly which device ID is used by the library. I have not yet figured out how to either query the LED set or how to override the LED, and the xpad driver seems to assign them quite arbitrarily. Also on Linux, the library has no way to differentiate between gamepads and other joystick devices. The library will almost certainly not work correctly with any device that isn't an XBox controller. Todo / Roadmap ============== - Correct LED enumeration on Linux. - OS X support. - Win32-only headset interaction API. - non-Win32-only LED/XBOX-button support (maybe). - Feature-detection routines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.