{"id":13414973,"url":"https://github.com/aaronshaf/callbag-gamepads","last_synced_at":"2025-05-07T18:41:00.993Z","repository":{"id":57193106,"uuid":"120380219","full_name":"aaronshaf/callbag-gamepads","owner":"aaronshaf","description":"Callbag source for connected gamepad inputs","archived":false,"fork":false,"pushed_at":"2018-02-21T17:23:10.000Z","size":52,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-26T11:39:31.305Z","etag":null,"topics":["callbag","gamepad","gamepad-api"],"latest_commit_sha":null,"homepage":"https://callbag-gamepads.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronshaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-06T00:32:07.000Z","updated_at":"2023-09-08T17:36:15.000Z","dependencies_parsed_at":"2022-09-01T06:01:38.280Z","dependency_job_id":null,"html_url":"https://github.com/aaronshaf/callbag-gamepads","commit_stats":null,"previous_names":["aaronshaf/callbag-gamepad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-gamepads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-gamepads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-gamepads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-gamepads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronshaf","download_url":"https://codeload.github.com/aaronshaf/callbag-gamepads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252851475,"owners_count":21814159,"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":["callbag","gamepad","gamepad-api"],"created_at":"2024-07-30T21:00:40.632Z","updated_at":"2025-05-07T18:41:00.920Z","avatar_url":"https://github.com/aaronshaf.png","language":"JavaScript","funding_links":[],"categories":["Table Contents"],"sub_categories":["Source factories"],"readme":"```\nyarn add callbag-gamepads\n```\n\n```javascript\nconst pipe = require(\"callbag-pipe\");\nconst forEach = require(\"callbag-for-each\");\nconst gamepads = require(\"callbag-gamepads\");\n\npipe(\n  gamepads,\n  forEach(gamepads =\u003e {\n    // have fun\n  })\n);\n```\n\nIf you're blessed with the [pipeline operator](https://github.com/tc39/proposal-pipeline-operator):\n\n```javascript\ngamepads\n  |\u003e forEach(gamepads =\u003e {\n    // have fun\n  });\n```\n\n## Verified to work with\n\n* Xbox controllers\n* [iNNEXT SNES Retro USB Game Controller](http://a.co/hgkJPTZ) (Amazon)\n\n## Learn more\n\n* [Callbag basics](https://github.com/staltz/callbag-basics)\n* [Why we need callbags](https://staltz.com/why-we-need-callbags.html), by André Staltz\n* [Using the Gamepad API](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API) (MDN)\ncontroller\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fcallbag-gamepads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronshaf%2Fcallbag-gamepads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fcallbag-gamepads/lists"}