commit 4978b2a405f5590a4151d804ceee29672010cc43 Author: Corey Richardson Date: Fri May 29 14:57:46 2015 -0400 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a9d37c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target +Cargo.lock diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9aa9770 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: rust +sudo: required +rust: +- nightly +- beta +- stable +before_script: +- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH +script: +- | + travis-cargo build && + travis-cargo test && + travis-cargo bench && + travis-cargo doc +after_success: +- travis-cargo --only beta doc-upload diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..2935d66 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "evdev" +version = "0.1.0" +authors = ["Corey Richardson "] +description = "evdev interface for Linux" +license = "BSL-1.0/Apache-2.0" +repository = "https://github.com/cmr/evdev" +documentation = "https://cmr.github.io/evdev" + +[dependencies] +ioctl = "*" + +[features] +unstable = [] diff --git a/README.md b/README.md new file mode 100644 index 0000000..39ec5b8 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +`ioctl` +======= + +[![Travis](https://img.shields.io/travis/cmr/evdev.svg?style=flat-square)](https://travis-ci.org/cmr/ioctl) +[![Crates.io](https://img.shields.io/crates/v/evdev.svg?style=flat-square)](https://crates.io/crates/ioctl) + +[Documentation](https://cmr.github.io/evdev) + +Nice access to `evdev`. + +What is `evdev`? +=================== + +`evdev` is the Linux kernel's generic input interface. + +What does this library support? +=============================== + +Device enumeration (by scanning), capability querying, event polling, +multitouch, and force feedback. Everything that `evdev` supports. + +Example +======= + +```rust +extern crate evdev; + +fn main() { + // fixme +} +``` diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..a93251b --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +#[test] +fn it_works() { +}