Skip to content

blacknut/libevdev

Repository files navigation

libevdev

This folder contains Android build configuration for libevdev. The source code itself is included as a Git submodule, but a few extra header files are needed.

Generating include/config.h

This file must exist but can be left empty by default.

touch include/config.h

Generating include/event-names.h

This file is autogenerated from the embedded linux/input.h with the following command:

cat libevdev/include/linux/input.h libevdev/include/linux/input-event-codes.h | python libevdev/libevdev/make-event-names.py > include/event-names.h

This command should be run every time the submodule is updated.