{"id":13512057,"url":"https://github.com/niw/HapticKey","last_synced_at":"2025-03-30T22:31:53.184Z","repository":{"id":44364916,"uuid":"113017069","full_name":"niw/HapticKey","owner":"niw","description":"A simple utility application to trigger haptic feedback when tapping Touch Bar.","archived":false,"fork":false,"pushed_at":"2024-05-16T18:52:00.000Z","size":6646,"stargazers_count":1651,"open_issues_count":21,"forks_count":62,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-03-24T22:38:00.573Z","etag":null,"topics":["macos","objective-c","touchbar"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/niw.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":"2017-12-04T08:39:31.000Z","updated_at":"2025-03-14T14:55:32.000Z","dependencies_parsed_at":"2022-09-05T11:11:27.804Z","dependency_job_id":"5b726def-06f2-4d7f-aa1d-6294f6368032","html_url":"https://github.com/niw/HapticKey","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niw%2FHapticKey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niw%2FHapticKey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niw%2FHapticKey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niw%2FHapticKey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niw","download_url":"https://codeload.github.com/niw/HapticKey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390896,"owners_count":20769475,"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":["macos","objective-c","touchbar"],"created_at":"2024-08-01T03:01:27.378Z","updated_at":"2025-03-30T22:31:51.549Z","avatar_url":"https://github.com/niw.png","language":"Objective-C","readme":"HapticKey\n=========\n\nHapticKey is a simple utility application for MacBook with Touch Bar that triggers a haptic feedback when tapping Touch Bar.\n\n![HapticKey](Resources/HapticKey.png)\n\nSince Touch Bar is just a flat panel, there is no feedback other than a visual change of the key displayed, it is terribly uncomfortable especially when tapping ESC key, like while using Vim.\n\nBy adding a haptic feedback, which is vibrating a trackpad not Touch Bar itself, it helps to improve the usage of Touch Bar. It is also optionally playing a sound effect or flashing the screen like a visual bell on a terminal.\n\nUsage\n-----\n\nDownload the latest pre-built application binary from [Releases](https://github.com/niw/HapticKey/releases) page. Note that these pre-built application binaries are not signed so you need to allow to execute it on Security \u0026 Privacy settings pane in System Preferences.\n\nAlso, the application may ask a permission to use Accessibility, as like the other applications that are listening system events.\n\nBuild\n-----\n\nTo build the application from the source code, you need to use the latest version of Xcode.\n\nSimply use `make` to install all dependencies, build application binary, then archive it in `build/HapticKey.xcarchive/Products/`.\n\n    $ make\n\nDevelopment\n-----------\n\nYou can simply open `HapticKey.xcodeproj` to start development of the application.\n\n### Overviews\n\nThis application is using `CGEventTap` to listen key down and up or tap events on Touch Bar.\n\nIt triggers haptic feedbacks by using private APIs in `MultitouchSupport.framework` when the event meets the conditions.\n\nCurrently, the application is listening either ESC and F1, F2, etc. keys or tap events on Touch Bar.\nYou can implement your own `HTKEventListener` to extend the application to trigger feedbacks on arbitrary events.\n","funding_links":[],"categories":["Objective-C","Utilities"],"sub_categories":["Productivity"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniw%2FHapticKey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniw%2FHapticKey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniw%2FHapticKey/lists"}