Git Product home page Git Product logo

libuiohook's Introduction

libUIOHook: Cross-platform keyboard and mouse hooking from userland.

build-binaires

Compiling

Prerequisites:

  • cmake
  • gcc, clang or msvc
  • x11 dependencies:
    • libx11-dev
    • libxtst-dev
    • libxt-dev
    • libxinerama-dev
    • libx11-xcb-dev
    • libxkbcommon-dev
    • libxkbcommon-x11-dev
    • libxkbfile-dev
$ git clone https://github.com/kwhat/libuiohook
$ cd uiohook
$ mkdir build && cd build
$ cmake -S .. -D BUILD_SHARED_LIBS=ON -D BUILD_DEMO=ON -DCMAKE_INSTALL_PREFIX=../dist
$ cmake --build . --parallel 2 --target install  

Configuration

option description default
all BUILD_DEMO:BOOL demo applications OFF
BUILD_SHARED_LIBS:BOOL shared library ON
ENABLE_TEST:BOOL testing OFF
OSX USE_APPLICATION_SERVICES:BOOL framework ON
USE_IOKIT:BOOL framework ON
USE_OBJC:BOOL obj-c api ON
USE_CARBON_LEGACY:BOOL legacy framework OFF
Win32
Linux USE_EVDEV:BOOL generic input driver ON
*nix USE_XF86MISC:BOOL xfree86-misc extension OFF
USE_XINERAMA:BOOL xinerama library ON
USE_XKB_COMMON:BOOL xkbcommon extension ON
USE_XKB_FILE:BOOL xkb-file extension ON
USE_XRANDR:BOOL xrandt extension OFF
USE_XRECORD_ASYNC:BOOL xrecord async api OFF
USE_XT:BOOL x toolkit extension ON
USE_XTEST:BOOL xtest extension ON

Usage

libuiohook's People

Contributors

kwhat avatar munsuri avatar univrsal avatar snosme avatar ayoubserti avatar peslys avatar molotok-sms avatar anthonybilinski avatar christianfrisson avatar therealdreg avatar j-delaney avatar swills avatar mtrabelsi avatar collinalexbell avatar shenhongfei avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.