{"id":25205512,"url":"https://github.com/richarddorian/bun-vigem","last_synced_at":"2026-05-01T14:32:34.438Z","repository":{"id":276685228,"uuid":"929382517","full_name":"RichardDorian/bun-vigem","owner":"RichardDorian","description":"A ViGEm client made using Bun's FFI module.","archived":false,"fork":false,"pushed_at":"2025-02-15T22:20:37.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T02:13:23.449Z","etag":null,"topics":["bun","ffi","vigem"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RichardDorian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-08T12:22:45.000Z","updated_at":"2025-02-15T22:20:40.000Z","dependencies_parsed_at":"2025-02-09T21:20:37.835Z","dependency_job_id":"f01c7fa9-7658-4ab6-ae6d-fdc532e6a344","html_url":"https://github.com/RichardDorian/bun-vigem","commit_stats":null,"previous_names":["richarddorian/bun-vigem"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardDorian%2Fbun-vigem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardDorian%2Fbun-vigem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardDorian%2Fbun-vigem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardDorian%2Fbun-vigem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RichardDorian","download_url":"https://codeload.github.com/RichardDorian/bun-vigem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276188,"owners_count":20912288,"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":["bun","ffi","vigem"],"created_at":"2025-02-10T10:19:46.935Z","updated_at":"2026-05-01T14:32:34.396Z","avatar_url":"https://github.com/RichardDorian.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bun-vigem\n\nA ViGEm client made using Bun's FFI module.\n\n## Getting Started\n\n```bash\nbun add https://github.com/RichardDorian/bun-vigem\n```\n\n## Xbox 360 Controller\n\n### State updates\n\nThe library automatically sends a state update to the ViGEm driver at the Xbox 360 controller's update rate (125Hz) (around every 8ms).\n\n### Example\n\nError handling is omitted for brevity.\n\n```ts\nimport { ViGEmClient } from 'bun-vigem';\n\nconst client = new ViGEmClient();\nconst controller = client.createX360Controller();\ncontroller.connect();\n\ncontroller.state.buttons = 0x1000 | 0x4000;\ncontroller.state.thumbLX = 32766 / 2;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharddorian%2Fbun-vigem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricharddorian%2Fbun-vigem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharddorian%2Fbun-vigem/lists"}