Skip to content
/ evdev-ada Public

An Ada 2012 library to read input events and use force-feedback using Linux' evdev API

License

Notifications You must be signed in to change notification settings

onox/evdev-ada

Repository files navigation

Build status Alire crate License GitHub release IRC Gitter chat

evdev-ada

An Ada 2012 library to read input events and use force-feedback using Linux' evdev API.

Dependencies

In order to build the library, you need to have:

  • An Ada 2012 compiler

  • Alire and (optionally) make

Using the library

Use the library in your crates as follows:

alr with evdev

Installing the tools

A tool to print information about an input event file can be build and run with:

$ alr run --args="/dev/input/event*"

Add --read as a second argument to read current state of axes and keys, or add --ff=rumble or --ff=periodic to generate some force-feedback effects.

Alternatively, it can be build and installed with:

$ make
$ make PREFIX=~/.local install

Run evdev-ada /dev/input/event* to print information.

Contributing

Please read the contributing guidelines before opening issues or pull requests.

License

This library is distributed under the terms of the Apache License 2.0.

About

An Ada 2012 library to read input events and use force-feedback using Linux' evdev API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages