Initial commit
This commit is contained in:
commit
4978b2a405
5 changed files with 66 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
target
|
||||
Cargo.lock
|
16
.travis.yml
Normal file
16
.travis.yml
Normal file
|
@ -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
|
14
Cargo.toml
Normal file
14
Cargo.toml
Normal file
|
@ -0,0 +1,14 @@
|
|||
[package]
|
||||
name = "evdev"
|
||||
version = "0.1.0"
|
||||
authors = ["Corey Richardson <corey@octayn.net>"]
|
||||
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 = []
|
31
README.md
Normal file
31
README.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
`ioctl`
|
||||
=======
|
||||
|
||||
[](https://travis-ci.org/cmr/ioctl)
|
||||
[](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
|
||||
}
|
||||
```
|
3
src/lib.rs
Normal file
3
src/lib.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
#[test]
|
||||
fn it_works() {
|
||||
}
|
Loading…
Reference in a new issue