File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 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"
1818serde_derive = " 1.0.11"
19- serde = " 1.0.11"
19+ serde = " 1.0.11"
2020
2121[dependencies .libudev ]
2222optional = true
Original file line number Diff line number Diff line change 1- extern crate uinput ;
1+ extern crate rusty_keys ;
22extern crate uinput_sys as ffi;
33extern crate libc;
44extern crate getopts;
55
66#[ macro_use]
77extern crate nix;
88
9- use uinput :: KeyMaps ;
9+ use rusty_keys :: KeyMaps ;
1010
1111use ffi:: * ;
1212use 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()
You can’t perform that action at this time.
0 commit comments