{"id":13420594,"url":"https://github.com/kwhat/libuiohook","last_synced_at":"2025-04-04T07:05:38.671Z","repository":{"id":10877521,"uuid":"13165945","full_name":"kwhat/libuiohook","owner":"kwhat","description":"A multi-platform C library to provide global keyboard and mouse hooks from userland.","archived":false,"fork":false,"pushed_at":"2024-07-13T10:46:57.000Z","size":1832,"stargazers_count":482,"open_issues_count":35,"forks_count":122,"subscribers_count":17,"default_branch":"1.2","last_synced_at":"2024-07-31T22:55:58.548Z","etag":null,"topics":["c","global-hotkeys","keyboard-hooks","mouse-hooks","multi-platform"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kwhat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.LESSER.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-28T02:49:54.000Z","updated_at":"2024-07-25T20:06:38.000Z","dependencies_parsed_at":"2023-12-17T01:30:43.352Z","dependency_job_id":"d62791bb-a475-4d64-bee4-908c5e47d527","html_url":"https://github.com/kwhat/libuiohook","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwhat%2Flibuiohook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwhat%2Flibuiohook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwhat%2Flibuiohook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwhat%2Flibuiohook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kwhat","download_url":"https://codeload.github.com/kwhat/libuiohook/tar.gz/refs/heads/1.2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135142,"owners_count":20889420,"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":["c","global-hotkeys","keyboard-hooks","mouse-hooks","multi-platform"],"created_at":"2024-07-30T22:01:36.990Z","updated_at":"2025-04-04T07:05:38.653Z","avatar_url":"https://github.com/kwhat.png","language":"C","readme":"libUIOHook: Cross-platform keyboard and mouse hooking from userland. \n====================================================================\n\n![build-binaires](https://github.com/kwhat/libuiohook/workflows/build-binaires/badge.svg)\n\n## Compiling\nPrerequisites: \n * [cmake](https://cmake.org)\n * gcc, clang or msvc\n * x11 dependencies:\n   * libx11-dev\n   * libxtst-dev\n   * libxt-dev\n   * libxinerama-dev\n   * libx11-xcb-dev\n   * libxkbcommon-dev\n   * libxkbcommon-x11-dev\n   * libxkbfile-dev \n\n```\n$ git clone https://github.com/kwhat/libuiohook\n$ cd libuiohook\n$ mkdir build \u0026\u0026 cd build\n$ cmake -S .. -D BUILD_SHARED_LIBS=ON -D BUILD_DEMO=ON -DCMAKE_INSTALL_PREFIX=../dist\n$ cmake --build . --parallel 2 --target install  \n```\n\n### Configuration\n\n|           | option                        | description            | default |\n| --------- | ----------------------------- | ---------------------- | ------- | \n| __all__   | BUILD_DEMO:BOOL               | demo applications      | OFF     |\n|           | BUILD_SHARED_LIBS:BOOL        | shared library         | ON      |\n|           | ENABLE_TEST:BOOL              | testing                | OFF     |\n| __OSX__   | USE_APPLICATION_SERVICES:BOOL | framework              | ON      |\n|           | USE_IOKIT:BOOL                | framework              | ON      |\n|           | USE_OBJC:BOOL                 | obj-c api              | ON      |\n|           | USE_CARBON_LEGACY:BOOL        | legacy framework       | OFF     |\n| __Win32__ |                               |                        |         |\n| __Linux__ | USE_EVDEV:BOOL                | generic input driver   | ON      |\n| __*nix__  | USE_XF86MISC:BOOL             | xfree86-misc extension | OFF     |\n|           | USE_XINERAMA:BOOL             | xinerama library       | ON      |\n|           | USE_XKB_COMMON:BOOL           | xkbcommon extension    | ON      |\n|           | USE_XKB_FILE:BOOL             | xkb-file extension     | ON      |\n|           | USE_XRANDR:BOOL               | xrandt extension       | OFF     |\n|           | USE_XRECORD_ASYNC:BOOL        | xrecord async api      | OFF     |\n|           | USE_XT:BOOL                   | x toolkit extension    | ON      |\n|           | USE_XTEST:BOOL                | xtest extension        | ON      |\n\n## Usage\n* [Hook Demo](demo/demo_hook.c)\n* [Async Hook Demo](demo/demo_hook_async.c)\n* [Event Post Demo](demo/demo_post.c)\n* [Properties Demo](demo/demo_properties.c)\n* [Public Interface](include/uiohook.h)\n* Please see the man pages for function documentation.\n","funding_links":[],"categories":["TODO scan for Android support in followings","C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwhat%2Flibuiohook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkwhat%2Flibuiohook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwhat%2Flibuiohook/lists"}