{"id":13793995,"url":"https://github.com/lapfelix/ForceTouchVibrationCLI","last_synced_at":"2025-05-12T20:31:21.917Z","repository":{"id":81466151,"uuid":"73775895","full_name":"lapfelix/ForceTouchVibrationCLI","owner":"lapfelix","description":"A very bad CLI interface to make the MacBook's Force Touch Trackpad vibrate","archived":false,"fork":false,"pushed_at":"2016-11-15T04:37:28.000Z","size":8,"stargazers_count":47,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T14:22:10.590Z","etag":null,"topics":["cli-interface","force-touch","swift"],"latest_commit_sha":null,"homepage":null,"language":"Objective-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/lapfelix.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}},"created_at":"2016-11-15T04:23:49.000Z","updated_at":"2025-03-06T10:28:03.000Z","dependencies_parsed_at":"2023-03-29T19:46:43.219Z","dependency_job_id":null,"html_url":"https://github.com/lapfelix/ForceTouchVibrationCLI","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapfelix%2FForceTouchVibrationCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapfelix%2FForceTouchVibrationCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapfelix%2FForceTouchVibrationCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapfelix%2FForceTouchVibrationCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lapfelix","download_url":"https://codeload.github.com/lapfelix/ForceTouchVibrationCLI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816745,"owners_count":21968876,"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":["cli-interface","force-touch","swift"],"created_at":"2024-08-03T23:00:34.425Z","updated_at":"2025-05-12T20:31:21.325Z","avatar_url":"https://github.com/lapfelix.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# ForceTouchVibrationCLI\nA very bad CLI interface to make the MacBook's Force Touch Trackpad vibrate\n\nIt probably shouldn't be used for anything serious, as explained very clearly by Apple [here](https://developer.apple.com/library/content/samplecode/ForceTouchCatalog/Listings/ForceTouchCatalog_MasterViewController_swift.html#//apple_ref/doc/uid/TP40016148-ForceTouchCatalog_MasterViewController_swift-DontLinkElementID_11):\n```\n/*\n   Use the `NSHapticFeedbackManager` class to perform alignment haptic\n   feedback on the Force Touch trackpad.\n            \n   Note: You can call this even if this Macintosh doesn't have a Force\n   Touch Trackpad Haptic feedback should be used sparingly. Here we are\n   performing it when the user aligns the photo to 0 degrees. A more\n   real world example would be when the user aligns the photo to when \n   the horizon is level.\n   \n   Ideally, the velocity of slider value changes would be considered such\n   that haptic feedback is only performed when the user is trying to find\n   the alignment point (aka moving slowly). This is left as an exercise\n   for the reader.\n*/\n```\n\n## Usage\n```\nVibrate for 0.5 seconds:   vibrate -t 0.5\nVibrate for 30 seconds:    vibrate --time 30\nVibrate forever:           vibrate\nShow help:                 vibrate --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapfelix%2FForceTouchVibrationCLI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flapfelix%2FForceTouchVibrationCLI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapfelix%2FForceTouchVibrationCLI/lists"}