{"id":13420626,"url":"https://github.com/ThemsAllTook/libstem_gamepad","last_synced_at":"2025-03-15T07:31:17.282Z","repository":{"id":30452808,"uuid":"34006482","full_name":"ThemsAllTook/libstem_gamepad","owner":"ThemsAllTook","description":"Gamepad C API wrapper for OS X, Windows, and Linux","archived":false,"fork":false,"pushed_at":"2024-01-06T10:36:42.000Z","size":11388,"stargazers_count":179,"open_issues_count":7,"forks_count":31,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-07-31T22:56:06.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThemsAllTook.png","metadata":{"files":{"readme":"ReadMe.txt","changelog":"Changes.txt","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-15T16:46:17.000Z","updated_at":"2024-06-17T23:19:14.000Z","dependencies_parsed_at":"2024-10-26T17:49:55.072Z","dependency_job_id":"2be49950-ab23-4c3b-b345-8420236e2238","html_url":"https://github.com/ThemsAllTook/libstem_gamepad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemsAllTook%2Flibstem_gamepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemsAllTook%2Flibstem_gamepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemsAllTook%2Flibstem_gamepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemsAllTook%2Flibstem_gamepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThemsAllTook","download_url":"https://codeload.github.com/ThemsAllTook/libstem_gamepad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243701016,"owners_count":20333614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:37.749Z","updated_at":"2025-03-15T07:31:16.951Z","avatar_url":"https://github.com/ThemsAllTook.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"readme":"Gamepad provides a low-level interface for USB game controller input. Each element on an attached game controller is mapped to zero or more buttons and zero or more axes. Buttons are binary controls; axes are continuous values ranging from -1.0f to 1.0f. The presence and ordering of elements depends on the platform and driver.\n\nTypical usage: Register a callback to notify you when a new device is attached with Gamepad_deviceAttachFunc(), then call Gamepad_init() and Gamepad_detectDevices(). Your callback will be called once per connected game controller. Also register callbacks for button and axis events with Gamepad_buttonDownFunc(), Gamepad_buttonUpFunc(), and Gamepad_axisMoveFunc(). Call Gamepad_processEvents() every frame, and Gamepad_detectDevices() occasionally to be notified of new devices that were plugged in after your Gamepad_init() call. If you're interested in knowing when a device was disconnected, you can also call Gamepad_deviceRemoveFunc() to be notified of this.\n\nSee Gamepad.h for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThemsAllTook%2Flibstem_gamepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThemsAllTook%2Flibstem_gamepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThemsAllTook%2Flibstem_gamepad/lists"}