-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SDL_GameControllerDB
A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality
If you're using an engine, you should find a plugin that improves their gamepad support to handle gamepad mapping, switching, active detection. There's often free, open source solutions like InputManager for Unity, baton for love2d, etc.
for good defaults, consistent mappings and displaying labels on non-Xbox controllers there is Lazẏnput
If you're using an engine, you should find a plugin that improves their gamepad support to handle gamepad mapping, switching, active detection. There's often free, open source solutions like InputManager for Unity, baton for love2d, etc.
If you're writing from scratch, then you can follow the pattern of something like baton. This will mean a lot more work, but you're making an engine from scratch, so that's what you signed up for :D (Be sure to check out SDL_GameControllerDB even if not using SDL since it'll allow you to suport a massive list of gamepads. Use that mapping so you can query a button name and it'll be right across thousands of gamepad models.)
Related posts
-
Do I need to add separate controls for xbox controller when I already have setup for gamepad? Whenever my button is detected it shows D-PAD[gamepad], D-PAD[xbox controller). I have only generic gamepad so I can't check if xbox controller will work with [gamepad] options.
-
Need some help with some specifics for working with Inputs when most of the game logic will be done in FixedUpdate
-
Need to vent about unity's new input system
-
Why You Should Use the New Input System in Unity + Overview
-
Best controls for switching weapons in a top down shooter