libevdev-1.13.6

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 8. Basic X11 Software

- Prev

  mtdev-1.1.7

- Next

  libinput-1.30.1

- Up
- Home

# libevdev-1.13.6

## Introduction to libevdev

The libevdev package provides functions to communicate with the evdev interface for generic input. Meanwhile, it also abstracts details such as ioctls in favor of providing a simple frontend for input handling.

- Download: https://www.freedesktop.org/software/libevdev/libevdev-1.13.6.tar.xz

## Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

    Device Drivers --->
      Input device support --->
        -*-   Generic input layer (needed for keyboard, mouse, ...)          [INPUT]
        <*/M>   Event interface                                        [INPUT_EVDEV]

## Installation of libevdev

Install libevdev by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr             \
                --buildtype=release       \
                -D documentation=disabled \
                -D tests=disabled         \
                .. &&

    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

`-D tests=disabled`: This switch disables building tests as they depend on Check.

## Contents

Installed Programs: libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
Installed Libraries: libevdev
Installed Directories: /usr/include/libevdev-1.0

#### Short Descriptions

libevdev-tweak-device | is a tool to change some kernel device properties
mouse-dpi-tool | is a tool to estimate the resolution of a mouse
touchpad-edge-detector | touchpad-edge-detector is a tool that reads the touchpad events from the kernel and calculates the minimum and maximum for the x and y coordinates, respectively
`libevdev` | contains API functions for the evdev generic input interface

- Prev

  mtdev-1.1.7

- Next

  libinput-1.30.1

- Up
- Home