GithubHelp home page GithubHelp logo

capture-user-events's Introduction

#Tool to log user interactions with computer.#

Tool to output mouse and keyboard events in X11. Used for logging user interaction with computer.

##Usage##

###Arguments### -o <file>

  • defines output to be written to <file>

list

  • lists available X11 devices to log

device_id0, device_id1, ...

  • list of X11 device ids to log

###Example###

./CAPTURE list

Runs program and outputs a list of avaiable X11 device ids and names

./CAPTURE 10 11 -o output_file.csv

Captures device id 10 and 11 and prints output to 'output_file.csv'

##Modify## Modify log_events() function in src/main.c to define the required output. Currently the output events are specified as:

  • Keyboard
    • Any interaction with the keyboard between mouse interaction
    • A single event it generated
  • Mouse
    • Any mouse button (press and release)
    • Press and Release counted as single event
  • Move
    • Movement in mouse between release and press
    • Calculates distance (in pixels) between last mouse event
  • Drag
    • Movement in mouse between press and release
    • Calculates distance (in pixels) between last mouse event

Creates a csv formated output file:

timestamp, event, notes

Notes include relative mouse movements between mouse events

##Compile##

Make

##Dependencies## Requires X11, including packages:

  • libx11-dev
  • libxi-dev

capture-user-events's People

Contributors

davestevens avatar

Stargazers

Liang Qi avatar Chien-Yu Lin avatar Frank Lemanschik avatar joeysu33 avatar 827998983 avatar anfractuosity avatar

Watchers

 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.