{"id":21958874,"url":"https://github.com/connffuused/unity-input-interceptor","last_synced_at":"2026-05-08T11:02:52.335Z","repository":{"id":40341656,"uuid":"507258764","full_name":"connffuused/unity-input-interceptor","owner":"connffuused","description":"this plugin allows your script to determine when to intercept a player's keyboard input on Windows.","archived":false,"fork":false,"pushed_at":"2022-06-26T10:41:40.000Z","size":1330,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T15:51:55.163Z","etag":null,"topics":["input","intercept","unity","windows"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","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/connffuused.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":"2022-06-25T08:41:01.000Z","updated_at":"2025-07-20T18:22:21.000Z","dependencies_parsed_at":"2022-08-18T14:02:02.068Z","dependency_job_id":null,"html_url":"https://github.com/connffuused/unity-input-interceptor","commit_stats":null,"previous_names":["seonghwan-dev/unity-input-interceptor","kyarusii/unity-input-interceptor","shaderqu/unity-input-interceptor"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/connffuused/unity-input-interceptor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2Funity-input-interceptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2Funity-input-interceptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2Funity-input-interceptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2Funity-input-interceptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connffuused","download_url":"https://codeload.github.com/connffuused/unity-input-interceptor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connffuused%2Funity-input-interceptor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32777649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["input","intercept","unity","windows"],"created_at":"2024-11-29T09:17:32.055Z","updated_at":"2026-05-08T11:02:52.282Z","avatar_url":"https://github.com/connffuused.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity input interceptor\nThis plugin allows your script to determine when to intercept a player's keyboard input on Windows.\n\n## usage\n\n```csharp\nusing Calci;\n\n...\n\nbool consumeEvent;\n\nvoid OnEnable() {\n    \n    IKeyCodeHandler handler = new MyKeyCodeHandler();\n    \n    Interceptor.SetKeyCodeHandler(handler);\n    Interceptor.SetManagePressedKey(true);\n    \n    Interceptor.SetKeyDownCallback(OnKeyDown);\n    Interceptor.SetKeyUpCallback(OnKeyUp);\n    \n    bool result = Interceptor.Hook();\n}\n\nvoid OnDisable() {\n    bool result = Interceptor.Unhook();\n}\n\nbool OnKeyDown(int keyCode)\n{\n    KeyCode key = (KeyCode)keyCode;\n    string txt = $\"KeyDown: {key}\";\n\n    Debug.Log(txt);\n\n    return consumeEvent;\n}\n\nbool OnKeyUp(int keyCode)\n{\n    KeyCode key = (KeyCode)keyCode;\n    string txt = $\"KeyUp: {key}\";\n\n    Debug.Log(txt);\n\n    return consumeEvent;\n}\n```\n\n## install\ncopy `Packages/com.seonghwan.windows.interceptor` into `Packages/`in your project.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnffuused%2Funity-input-interceptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnffuused%2Funity-input-interceptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnffuused%2Funity-input-interceptor/lists"}