{"id":27091476,"url":"https://github.com/crsjimo/qtwin32directmanipulatehelper","last_synced_at":"2026-05-17T00:44:47.267Z","repository":{"id":286106552,"uuid":"960381865","full_name":"CrSjimo/QtWin32DirectManipulateHelper","owner":"CrSjimo","description":"A Qt integration of Win32 Direct Manipulate APIs","archived":false,"fork":false,"pushed_at":"2025-04-06T12:24:22.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:46:23.319Z","etag":null,"topics":["com","direct-manipulation","gesture","qt","touchpad","win32","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrSjimo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-04T10:39:31.000Z","updated_at":"2025-04-08T01:10:08.000Z","dependencies_parsed_at":"2025-04-04T11:45:13.355Z","dependency_job_id":"b124ce34-3801-4f65-ba24-c7885e528483","html_url":"https://github.com/CrSjimo/QtWin32DirectManipulateHelper","commit_stats":null,"previous_names":["crsjimo/qtwin32directmanipulatehelper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CrSjimo/QtWin32DirectManipulateHelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrSjimo%2FQtWin32DirectManipulateHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrSjimo%2FQtWin32DirectManipulateHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrSjimo%2FQtWin32DirectManipulateHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrSjimo%2FQtWin32DirectManipulateHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrSjimo","download_url":"https://codeload.github.com/CrSjimo/QtWin32DirectManipulateHelper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrSjimo%2FQtWin32DirectManipulateHelper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273694986,"owners_count":25151480,"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-04T02:00:08.968Z","response_time":61,"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":["com","direct-manipulation","gesture","qt","touchpad","win32","windows"],"created_at":"2025-04-06T07:38:31.473Z","updated_at":"2026-05-17T00:44:42.234Z","avatar_url":"https://github.com/CrSjimo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QtWin32DirectManipulateHelper\n\nA Qt integration of Win32 Direct Manipulate APIs\n\n## Usage\n\nTo enable Direct Manipulation on a `QWindow`, call\n\n```c++\nQWDMH::DirectManipulationSystem::registerWindow(window);\n```\n\nTo disable, call\n\n```c++\nQWDMH::DirectManipulationSystem::unregisterWindow(window);\n```\n\nAfter Direct Manipulation is enabled on a `QWindow`, a `QNativeGestureEvent` with `QNativeGestureEvent::gestureType()` to be `Qt::ZoomNativeGesture` will be sent when the user pinches on the touchpad, and a `QWheelEvent` will be sent when the user swipes on the touchpad with two fingers.\n\nIt is also supported to specify configuration and device type when registering a window, for example\n\n```c++\nQWDMH::DirectManipulationSystem::registerWindow(\n    window,\n    QWDMH::DirectManipulationSystem::TranslationX | QWDMH::DirectManipulationSystem::TranslationY,\n    QWDMH::DirectManipulationSystem::Touchpad);\n```\n\nThe example above makes the window processes only translation without inertia, and accepts input only from the touchpad.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrsjimo%2Fqtwin32directmanipulatehelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrsjimo%2Fqtwin32directmanipulatehelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrsjimo%2Fqtwin32directmanipulatehelper/lists"}