# gmamaladze/globalmousekeyhook

This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.

Repository: https://github.com/gmamaladze/globalmousekeyhook
Canonical: https://ross.abutalabs.com/products/globalmousekeyhook
Language: C#
License: MIT
License Family: permissive
Last push: 2023-12-15T14:33:07+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4200, "days_push": 992, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 260 (observed 2026-08-28T04:03:33.263716+00:00)

## What it is
A C# .NET library (NuGet package MouseKeyHook) that taps global keyboard and mouse activity on Windows via Win32 hooks, raising standard .NET events even when the application is inactive. It supports detecting key combinations and sequences, mouse coordinates, drags, wheel scrolls, and optional input suppression.

## Use cases
- capture global keyboard and mouse events in a background c# app
- detect hotkey combinations and key sequences in .net
- log mouse clicks and coordinates on windows
- suppress or intercept specific mouse button clicks
- build a macro recorder or input automation tool
- track mouse wheel scrolls and drag actions

## When to choose
- you need a .net library to monitor global input on windows
- you want standard keyeventargs/mouseeventargs events instead of raw win32 hook code
- you need key combination or sequence detection

## When to avoid
- your application must run on linux or macos - windows only
- you need cross-platform input capture
- you want a ready-made application rather than a library to code against

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: desktop-applications, developer-tools, windows
- platform: windows, dotnet, c
- tags: keyboard-hook, mouse-hook, global-hooks, input-monitoring, keylogger, hotkeys, win32, event-driven, automation

## Member repositories
- gmamaladze/globalmousekeyhook (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.263716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:02.292390+00:00, confidence not recorded.
  - readme: https://github.com/gmamaladze/globalmousekeyhook (fetched 2026-08-28T04:03:33.263716+00:00, sha c6b2d9f84d95)
- Data as of 2026-08-30T08:39:29.467469+00:00.
