{"id":21467978,"url":"https://github.com/danr/keyboard-mapping","last_synced_at":"2025-03-17T06:13:55.717Z","repository":{"id":66322124,"uuid":"341946352","full_name":"danr/keyboard-mapping","owner":"danr","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-14T14:49:12.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T15:39:55.517Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danr.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":"2021-02-24T15:33:41.000Z","updated_at":"2022-01-14T14:49:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e437501a-7e26-4fa9-9431-6d6551576bbc","html_url":"https://github.com/danr/keyboard-mapping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danr%2Fkeyboard-mapping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danr%2Fkeyboard-mapping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danr%2Fkeyboard-mapping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danr%2Fkeyboard-mapping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danr","download_url":"https://codeload.github.com/danr/keyboard-mapping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982297,"owners_count":20378606,"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-11-23T08:20:57.366Z","updated_at":"2025-03-17T06:13:55.672Z","avatar_url":"https://github.com/danr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## keyboard mapping\n\n### Running\n\nDependencies: interception tools and its plugin dual-function-keys.\n\n    ./setup.sh\n\nThis compiles all dependencies and starts the required processes.\n\n### rhand.c\n\nThis program moves all keys on the right hand one step to the right so that\nthe hands become a little bit more separated on a normal keyboard (like on a laptop).\nAnother advantage is that the right hand can now more easily reach two modifiers\nto use as space and enter. Then the left hand can use the big space bar as the\nshift modifier.\n\nNow we don't have a button for backspace, backslash, equals and z.\nThese could all be put in the middlemost row (that is now free) consisting\nof `6`, dvorak `f`, `d` and `b`. But there are more convenient ways to solve this:\n\n- backspace: already on space, but we put a copy on `f`,\n- enter: already on prtsc/menu, but we put a copy on `d`,\n- backslash: put on `b`,\n- z: dual-function-keys on right shift: z when tapped, right shift when held.\n\n### remap.c\n\nRemaps pairwise using the names in `linux/input.h`, so this makes\npressing A send a B press event, and pressing C send a D press event:\n\n    ./remap KEY_A KEY_B KEY_C KEY_D\n\n### homerow_nav.c\n\nMakes the homerow become the arrow keys when KEY_KATAKANA is pressed.\nYou can get such a katakana key using remap.\n\n### python agr.py\n\nAdds modifiers to the alt gr mode switch. Some are obtained from\nmy kak conf and written to kakmap.py.\n\n### other changes activated in ./setup.sh\n\n- Enter is next to left space (on Alt Gr).\n- On laptop: Space is on AltGr and Enter is on the key next to it\n  (On thinkpad this is PrtSc).\n- Escape and caps lock are swapped\n- Semicolon and colon are swapped (using xmodmap)\n\n\n### Kinesis advantage 2\n\nTurn off noises with\n- Program + F8\n- Program + Shift + F8\n\nDefault mapping is:\n\n    ]                                         [\n                                              \\\n\n     ` compose Left Right        Up Down = /\n\nRemap it to\n\n    `                                         =\n                                              /\n\n     compose \\ [ ]        Left Down Up Right\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanr%2Fkeyboard-mapping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanr%2Fkeyboard-mapping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanr%2Fkeyboard-mapping/lists"}