{"id":13708376,"url":"https://github.com/lparkermg/LPSoft.Stride.InputExtensions","last_synced_at":"2025-05-06T13:30:18.744Z","repository":{"id":43740470,"uuid":"460599897","full_name":"lparkermg/LPSoft.Stride.InputExtensions","owner":"lparkermg","description":"Input Extensions to use with Stride3D","archived":false,"fork":false,"pushed_at":"2022-02-26T13:48:26.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T06:20:55.555Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lparkermg.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-02-17T20:37:26.000Z","updated_at":"2022-09-03T20:16:08.000Z","dependencies_parsed_at":"2022-08-22T13:41:40.547Z","dependency_job_id":null,"html_url":"https://github.com/lparkermg/LPSoft.Stride.InputExtensions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lparkermg%2FLPSoft.Stride.InputExtensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lparkermg%2FLPSoft.Stride.InputExtensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lparkermg%2FLPSoft.Stride.InputExtensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lparkermg%2FLPSoft.Stride.InputExtensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lparkermg","download_url":"https://codeload.github.com/lparkermg/LPSoft.Stride.InputExtensions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252693463,"owners_count":21789693,"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-08-02T23:00:21.455Z","updated_at":"2025-05-06T13:30:18.434Z","avatar_url":"https://github.com/lparkermg.png","language":"C#","funding_links":[],"categories":["Example Projects"],"sub_categories":[],"readme":"# LPSoft.Stride.InputExtensions\nInput Extensions to use with Stride3D\n\n## BuildInputConfig\n\nBuildInputConfig is a package for building input configurations using Stride3Ds VirtualButtons, it allows setting up the bindings from dictionary and from json file.\n\nEach from returns the current InputBuilder object and Build returns a populated VirtualButtonConfig object.\n\n```\nvar builder = new InputBuilder();\nvar config = builder\n  .FromDictionary(new Dictionary\u003cstring, VirtualButton[]\u003e {{\"Test_Binding\", new[] { VirtualButton.GamePad.A }}})\n  .FromJson(\"jsonFile.json\")\n  .Build();\n```\n\n`jsonFile.json`\n```\n{\n    \"Test_Binding_2\": [\"Keyboard.space\", \"GamePad.B\"],\n    ...\n}\n```\n\nIn the json file the key can be any string, where as any of the inputs use the same format that is returned by the VirtualButtons `.ToString()` function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flparkermg%2FLPSoft.Stride.InputExtensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flparkermg%2FLPSoft.Stride.InputExtensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flparkermg%2FLPSoft.Stride.InputExtensions/lists"}