uinput 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cd26be5f5ec42066450546bded253f2f2162c65
4
- data.tar.gz: 5caffee633162e4a316e8c02a38d1517d0640d77
3
+ metadata.gz: 138b284e323a5e521fcc923aa94058bfdb6ce3b4
4
+ data.tar.gz: 4fe3b8f8856804cd93945588b7b39e09917ddb66
5
5
  SHA512:
6
- metadata.gz: 2cc521214a9c2070b8130687a43045cbdb2a5909d8c1272d71afd9837123bbe8b83a53e09ea0e7deaf07671404009ebe37b2984ebc195642403d6c1502e0a87e
7
- data.tar.gz: a3c60ae4bfe696384e762fb6bbeb1d4f371e565033c73855ef5822279fce3802932bee695c8cbdf40bd2a08c91a25262616bfcfe0224b468a6130c8198caa53f
6
+ metadata.gz: dd72c33903fb705e22e4df692278d53a4f9864763c7a7c9a02d182890b6fbf2207d9ff4bab18d9129479779439f956abd0c1a706ed691292ec7eec2d3cb81ca9
7
+ data.tar.gz: c019ddd71246abbf28997222e1c22d65a6c152873f84626a57a73f18e2319eeeacffe3c70a4b743fb47fc5db0d839928763e737e4df34bcba96103bc9cde7184
data/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  FFI Structs and Constants of to use uinput with ruby. Depends on the [linux_input](http://github.com/christopheraue/ruby-linux_input)
4
4
  gem.
5
5
 
6
+ This is pretty low level. For a higher level and more user friendly abstraction
7
+ have a look at the [uinput-device](http://github.com/christopheraue/ruby-uinput-device) gem.
8
+
6
9
  ## Installation
7
10
 
8
11
  Add this line to your application's Gemfile:
@@ -85,6 +88,12 @@ event[:value] = 0
85
88
  file.syswrite(event.pointer.read_bytes(event.size))
86
89
  ```
87
90
 
91
+ Destroying the device:
92
+
93
+ ```ruby
94
+ file.ioctl(Uinput::UI_DEV_DESTROY, nil)
95
+ ```
96
+
88
97
  ## (Re-)Compiling the interface on a linux machine
89
98
 
90
99
  Reads your local linux/uinput.h
@@ -1,3 +1,5 @@
1
- module Uinput
2
- VERSION = "1.1.0"
1
+ module LinuxInput
2
+ module Uinput
3
+ VERSION = "1.1.1"
4
+ end
3
5
  end
data/uinput.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'uinput/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "uinput"
8
- spec.version = Uinput::VERSION
8
+ spec.version = LinuxInput::Uinput::VERSION
9
9
  spec.authors = ["Christopher Aue"]
10
10
  spec.email = ["mail@christopheraue.net"]
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uinput
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue