Browse Source

Rename to rusty-keys

macdev
Travis Burtrum 4 years ago
parent
commit
00337ce4d4
2 changed files with 16 additions and 16 deletions
  1. +13
    -13
      Cargo.toml
  2. +3
    -3
      src/main.rs

+ 13
- 13
Cargo.toml View File

@ -1,22 +1,22 @@
[package]
name = "uinput"
version = "0.1.2"
name = "rusty-keys"
version = "0.0.1"
authors = ["meh. <meh@schizofreni.co>"]
license = "WTFPL"
authors = ["moparisthebest <admin@moparisthebest.com>"]
license = "AGPLv3"
description = "Linux uinput wrapper."
repository = "https://github.com/meh/rust-uinput"
keywords = ["linux", "input"]
description = "Linux keyboard mapper"
repository = "https://code.moparisthebest.com/moparisthebest/rusty-keys"
keywords = ["linux", "input", "keyboard", "keymapper"]
[dependencies]
libc = "0.2"
nix = "0.5"
uinput-sys = "0.1"
getopts = "*"
toml = "0.4.5"
libc = "0.2"
nix = "0.5"
uinput-sys = "0.1"
getopts = "0.2.15"
toml = "0.4.5"
serde_derive = "1.0.11"
serde = "1.0.11"
serde = "1.0.11"
[dependencies.libudev]
optional = true


+ 3
- 3
src/main.rs View File

@ -1,4 +1,4 @@
extern crate uinput;
extern crate rusty_keys;
extern crate uinput_sys as ffi;
extern crate libc;
extern crate getopts;
@ -6,7 +6,7 @@ extern crate getopts;
#[macro_use]
extern crate nix;
use uinput::KeyMaps;
use rusty_keys::KeyMaps;
use ffi::*;
use libc::{c_int, input_event};
@ -44,7 +44,7 @@ fn main() {
//println!("key_map: {:?}", key_map);
let device = uinput::default().expect("1")
let device = rusty_keys::default().expect("1")
.name("test").expect("2")
.event(key_map.values()).expect("3")
//.event(uinput::event::Keyboard::All).unwrap()


Loading…
Cancel
Save