Rename to rusty-keys
This commit is contained in:
parent
3574299a26
commit
00337ce4d4
16
Cargo.toml
16
Cargo.toml
@ -1,19 +1,19 @@
|
||||
[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 = "*"
|
||||
getopts = "0.2.15"
|
||||
toml = "0.4.5"
|
||||
serde_derive = "1.0.11"
|
||||
serde = "1.0.11"
|
||||
|
@ -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…
Reference in New Issue
Block a user