{"id":25391446,"url":"https://github.com/hid-io/layouts","last_synced_at":"2025-09-14T20:49:30.386Z","repository":{"id":146144873,"uuid":"135238414","full_name":"hid-io/layouts","owner":"hid-io","description":"HID layouts for various locales and keyboards.","archived":false,"fork":false,"pushed_at":"2021-05-12T07:13:18.000Z","size":45,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T11:46:39.391Z","etag":null,"topics":["hid","json","keyboard-layout"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hid-io.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-29T03:49:23.000Z","updated_at":"2023-09-08T17:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"152dfeff-c72c-499c-b23a-90a2606294ea","html_url":"https://github.com/hid-io/layouts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hid-io/layouts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hid-io%2Flayouts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hid-io%2Flayouts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hid-io%2Flayouts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hid-io%2Flayouts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hid-io","download_url":"https://codeload.github.com/hid-io/layouts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hid-io%2Flayouts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275166406,"owners_count":25416986,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hid","json","keyboard-layout"],"created_at":"2025-02-15T15:42:52.852Z","updated_at":"2025-09-14T20:49:30.377Z","avatar_url":"https://github.com/hid-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keyboard Layout / Locale Mappings\n\nThis repository contains a list of mappings between various keyboard layouts.\nAs you may, or may not know, USB HID defines the default mapping of a key per a US layout.\nAny other language is a remapping to the USB HID mapping which is done by the OS and not the keyboard.\n\nThis definitely complicates configuring a programmable as the keyboard must be programmed with a US layout, even if you are using a Spanish keyboard to assign the keys.\n\nTo solve all this in a convenient way, this repo provides a JSON file per keyboard layout which defines the mappings required by KLL (and the configurator).\nThat means if your keyboard layout isn't available, all you have to do is submit a Pull Request and it will be added to the configurator!\n\n[![GitHub Action Status](https://github.com/hid-io/layouts/workflows/Layout%20Validation/badge.svg)](https://github.com/hid-io/layouts/actions)\n\n[![Visit our IRC channel](https://kiwiirc.com/buttons/irc.freenode.net/hid-io.png)](https://kiwiirc.com/client/irc.freenode.net/#hid-io)\n\n\n## Layouts\n\nDefault configurators (per the USB HID spec) are organized within [base](base).\nThis is assumed to be based around US ANSI configurations (again, this is the assumption of the USB HID spec).\n\nAny deviation or adjustment from the default are found within [keyboards](keyboards).\nIf you are wondering where to add your own layout, this is where it should go.\n\n* [base](base)\n* [keyboards](keyboards)\n\n\n## Tests\n\nTo run a validation test you'll need Python 3.4+ and pipenv.\n\n```bash\npipenv install\npipenv shell\ntests/python-test.py\n```\n\n\n## References\n\n* [USB HID Spec v1.11](http://www.usb.org/developers/hidpage/HID1_11.pdf)\n* [USB HID Usage Tables v1.12](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf)\n* [USB HID Information](http://www.usb.org/developers/hidpage/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhid-io%2Flayouts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhid-io%2Flayouts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhid-io%2Flayouts/lists"}