Skip to content

Commit 00337ce

Browse files
Rename to rusty-keys
1 parent 3574299 commit 00337ce

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[package]
2-
name = "uinput"
3-
version = "0.1.2"
2+
name = "rusty-keys"
3+
version = "0.0.1"
44

5-
authors = ["meh. <meh@schizofreni.co>"]
6-
license = "WTFPL"
5+
authors = ["moparisthebest <admin@moparisthebest.com>"]
6+
license = "AGPLv3"
77

8-
description = "Linux uinput wrapper."
9-
repository = "https://github.com/meh/rust-uinput"
10-
keywords = ["linux", "input"]
8+
description = "Linux keyboard mapper"
9+
repository = "https://code.moparisthebest.com/moparisthebest/rusty-keys"
10+
keywords = ["linux", "input", "keyboard", "keymapper"]
1111

1212
[dependencies]
13-
libc = "0.2"
14-
nix = "0.5"
15-
uinput-sys = "0.1"
16-
getopts = "*"
17-
toml = "0.4.5"
13+
libc = "0.2"
14+
nix = "0.5"
15+
uinput-sys = "0.1"
16+
getopts = "0.2.15"
17+
toml = "0.4.5"
1818
serde_derive = "1.0.11"
19-
serde = "1.0.11"
19+
serde = "1.0.11"
2020

2121
[dependencies.libudev]
2222
optional = true

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
extern crate uinput;
1+
extern crate rusty_keys;
22
extern crate uinput_sys as ffi;
33
extern crate libc;
44
extern crate getopts;
55

66
#[macro_use]
77
extern crate nix;
88

9-
use uinput::KeyMaps;
9+
use rusty_keys::KeyMaps;
1010

1111
use ffi::*;
1212
use libc::{c_int, input_event};
@@ -44,7 +44,7 @@ fn main() {
4444

4545
//println!("key_map: {:?}", key_map);
4646

47-
let device = uinput::default().expect("1")
47+
let device = rusty_keys::default().expect("1")
4848
.name("test").expect("2")
4949
.event(key_map.values()).expect("3")
5050
//.event(uinput::event::Keyboard::All).unwrap()

0 commit comments

Comments
 (0)