{"id":21914077,"url":"https://github.com/inflex/keyboard-tester","last_synced_at":"2025-04-16T07:40:52.986Z","repository":{"id":153868255,"uuid":"267614497","full_name":"inflex/keyboard-tester","owner":"inflex","description":"Hardware keyboard testing for Macbook Repairers and other similar people","archived":false,"fork":false,"pushed_at":"2024-04-18T03:00:58.000Z","size":554,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:12:15.602Z","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/inflex.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}},"created_at":"2020-05-28T14:38:20.000Z","updated_at":"2024-12-04T18:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbd73fe8-a2a2-4e4e-b3ea-16d3314bb5fa","html_url":"https://github.com/inflex/keyboard-tester","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/inflex%2Fkeyboard-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflex%2Fkeyboard-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflex%2Fkeyboard-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflex%2Fkeyboard-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inflex","download_url":"https://codeload.github.com/inflex/keyboard-tester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249213898,"owners_count":21231096,"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-28T18:21:27.537Z","updated_at":"2025-04-16T07:40:52.962Z","avatar_url":"https://github.com/inflex.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keyboard-tester, for linux \u0026 macOS\n\nWritten so I could test macbook keyboards before sending back to clients after a board repair or similar service.\n\nWorks on keyboard scancodes, not keycodes, so will work with all keyboards but you'll be left with varying levels of keys that aren't \"pressed\".\n\n#### BETA DEVELOPMENT --- Seems to be okay to use now\n\n### Prerequisites\n\nRequires SDL2 and SDL2_ttf\n\nlinux\n```\napt install libsdl2-dev\n```\n\nmacOS\n```\nbrew install libsdl2 libsd2_ttf\n```\n\n### Build\n```make```\n\n### Parameters\n```\nkeyboard-tester [--dl \u003clower bound ms\u003e] [--dh \u003cupper bound ms\u003e] [-m \u003cmapfile\u003e] [-c] [--dpi \u003cdpi\u003e] [--fs \u003cpts\u003e] [-d]\n\n--dl \u003ctime (20 ms default)\u003e : Set acceptable lower limit of key down time\n--dh \u003ctime (200 ms default)\u003e : Set acceptable upper limit of key down time\n-m \u003cmapfile\u003e : Set keyboard map to use, limits keys and sets names to test\n-c : Close tester when all keys have been pressed\n\n--kwidth \u003cpx\u003e : Width of key in pixels\n--kheight \u003cpx\u003e : Height of key in pixels\n--kspacing \u003cpx\u003e : Gap between keys in pixels\n--columns \u003cn\u003e : How many columns of keys to show\n--compact : Remove null/empty keys from grid display\n\n--colbg \u003crrggbb\u003e : background\n--colkey \u003crrggbb\u003e : key block\n--coltext \u003crrggbb\u003e : key text\n--colpressed \u003crrggbb\u003e : key block colour while pressed\n--colreport \u003crrggbb\u003e : after-pressed report text (normal)\n--colflagged \u003crrggbb\u003e : after-pressed report text (flagged)\n\n--dpi \u003cdpi\u003e : Force screen DPI\n--fs \u003cpts\u003e : Set font size in pts\n--fscale : Scale the key text rather than cropping\n\n-d : Enable debugging output\n\n        ALT/OPT-Q: exit/quit\n        ALT/OPT-M: Save current pressed keyset to mapfile\n```\n\n### Application Controls\n```\n\talt-q / opt-q : quit\n\talt-m / opt-m : Save currently pressed keys array to map file\n```\n\n### Screenshots\n\n#### Default mode\n![Screenshot](assets/images/ss-normal.png)\n\n\n#### Compact mode\n![Screenshot](assets/images/ss-compact.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflex%2Fkeyboard-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finflex%2Fkeyboard-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflex%2Fkeyboard-tester/lists"}