{"id":20483600,"url":"https://github.com/whoisryosuke/input-manager","last_synced_at":"2026-04-21T09:31:25.881Z","repository":{"id":41450675,"uuid":"509624221","full_name":"whoisryosuke/input-manager","owner":"whoisryosuke","description":"An input manager and utilities for JavaScript/Typescript and React apps.","archived":false,"fork":false,"pushed_at":"2022-07-15T19:28:06.000Z","size":730,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T02:20:53.058Z","etag":null,"topics":["gamepad","input-management","javascript","reactjs","touch","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/input-map","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/whoisryosuke.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}},"created_at":"2022-07-02T00:55:49.000Z","updated_at":"2022-07-29T15:21:48.000Z","dependencies_parsed_at":"2022-07-06T11:10:54.629Z","dependency_job_id":null,"html_url":"https://github.com/whoisryosuke/input-manager","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/whoisryosuke/input-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoisryosuke%2Finput-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoisryosuke%2Finput-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoisryosuke%2Finput-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoisryosuke%2Finput-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whoisryosuke","download_url":"https://codeload.github.com/whoisryosuke/input-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoisryosuke%2Finput-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gamepad","input-management","javascript","reactjs","touch","typescript"],"created_at":"2024-11-15T16:18:05.217Z","updated_at":"2026-04-21T09:31:25.388Z","avatar_url":"https://github.com/whoisryosuke.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![NPM Badge](https://img.shields.io/npm/v/input-map?style=flat-square)\n\n# Input Map\n\nAn input manager and utilities for JavaScript/Typescript and React apps.\n\nManage multiple devices (keyboard, gamepad, touch, etc) and assign input mappings (e.g. \"Jump\" = \"Spacebar\"). Use React components to add device support (`\u003cGamepadInput\u003e`).\n\nInspired by [the Unity input mapping system.](https://docs.unity3d.com/Manual/class-InputManager.html)\n\n\u003e This library is WIP and **not intended for production** yet. See Roadmap for more info.\n\n## How to use\n\n`npm i input-map`\n\n## Development\n\nThere's a NextJS website under `packages/docs` to be a playground to develop and test the library.\n\n1. Fork/clone this repo: `https://github.com/whoisryosuke/react-typescript-monorepo-2022.git`\n1. Install dependencies: `yarn`\n1. Build the library: `yarn build`\n1. Start the NextJS playground: `yarn dev`\n\n## Building package\n\n1. `yarn build`\n\nThis runs the `tsup` process for one package/module. Check the `package.json` and `packages/input-manager/package.json` for more info.\n\n## Release to Github/NPM\n\nThis repo should automatically release to Github and NPM, as well as tag the release when you commit to `main`, `alpha`, or `beta` branches (change these in `package.json`).\n\nYou can learn more about the CI/CD workflow in the Github Actions folder.\n\n### Setting up NPM\n\nTo setup NPM releases, you need to add your token to Github as an ENV var.\n\n1. Make sure you've created a new repo for your package (not a fork).\n1. Go to your repo settings.\n1. Go to Environments\n1. Create a new one called `production`\n1. Add a `NPM_TOKEN` ENV with your token from NPM.\n\n### Lint and Code Formatting\n\nIf you use VSCode, Prettier should run each time you save a compatible file.\n\n\u003e If you don't like this, go to `.vscode\\settings.json` and disable there (or you can do it via your own VSCode settings).\n\n`yarn lint` runs ESLint and Prettier, automatically formats files and rewrites them. Make sure to stage your code before running just in case.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoisryosuke%2Finput-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhoisryosuke%2Finput-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoisryosuke%2Finput-manager/lists"}