xinput_wrapperplus 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/xinput_wrapperplus.rb +6 -6
- metadata +31 -26
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25ba1b759531225d0d10183d516094c1f6741d299849df50bc6bdfb50861caee
|
4
|
+
data.tar.gz: 18368ef8cb64cad32e14a1c6becccdc70a9fc81fb9c55af55b5f11a4a51146f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a66ea82e2e5a889f1a06a12d4e0b459416ec70434b72f2f296c875f80c55bae1ea98e2d59e61c58a6cbd6af6c95f845fb2dd1940626f9e75b6c8d3f086fb4da6
|
7
|
+
data.tar.gz: 7a7be9900ecca9af301f98b0ddbb1752b47520c375be0b62312bf38bfd1a2021b60bc82d2c28bec5e27d8dad49d36f13da0885ce5218ea594809f3b90bd4d519
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/xinput_wrapperplus.rb
CHANGED
@@ -11,10 +11,11 @@ class XInputWrapperPlus < XInputWrapper
|
|
11
11
|
|
12
12
|
def initialize(device: '3', host: 'sps', port: '59000',
|
13
13
|
topic: 'input', verbose: true, lookup: {},
|
14
|
-
debug: false, capture_all: false)
|
14
|
+
debug: false, capture_all: false, keys: [])
|
15
15
|
|
16
16
|
super(device: device, verbose: verbose, lookup: lookup,
|
17
|
-
debug: debug)
|
17
|
+
debug: debug, keys: keys)
|
18
|
+
|
18
19
|
@topic, @capture_all = topic, capture_all
|
19
20
|
@sps = SPSPub.new host: host, port: port
|
20
21
|
@sk = SecretKnock.new short_delay: 0.25, long_delay: 0.5,
|
@@ -26,11 +27,10 @@ class XInputWrapperPlus < XInputWrapper
|
|
26
27
|
|
27
28
|
end
|
28
29
|
|
29
|
-
|
30
30
|
def knock()
|
31
31
|
puts 'knock' if @verbose
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
34
|
def message(msg, subtopic=:keyboard)
|
35
35
|
|
36
36
|
puts ':: ' + msg.inspect if @verbose
|
@@ -41,9 +41,9 @@ class XInputWrapperPlus < XInputWrapper
|
|
41
41
|
|
42
42
|
@sps.notice "%s: %s" % [topic, msg]
|
43
43
|
|
44
|
-
end
|
44
|
+
end
|
45
45
|
|
46
|
-
|
46
|
+
private
|
47
47
|
|
48
48
|
def on_control_key()
|
49
49
|
puts 'inside on_control_key' if @debug
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xinput_wrapperplus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,27 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
/
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjAwODI1MTI0NjA1WhcN
|
15
|
+
MjEwODI1MTI0NjA1WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSq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3AQhlx3Yy8u4F
|
31
|
+
5GnJ8Xnx94luWBMUlLPvIZo0gCHqomPAtd0OgGqmjsoAiZ90eYBieClDXUkHcQ9U
|
32
|
+
OZnar7W/SgfG8LGk+QYsffaVIZqzXT4vGyNBv3Yzt2Wrt7u/ZLNXgpaGS44kOBOU
|
33
|
+
C8PaoyXBQBUZNZQEYY0rKHqH/8yjKHHgueW1J2tULyk8FQEY2HVWXK/mSwE31S8n
|
34
|
+
8rGJOGPSxtF8oNfS74KVO99PqLk4bp3vHjZp/jt07cQr2QiHyHq3hRBrA/U8WU6j
|
35
|
+
MAr0EaAbP4GPbdRnYZObrq03xJQOARWVRbH726l6usXEpiepoBKFXfqGNXX6DDt/
|
36
|
+
2f3lRa47HGk7I26OxNboAPZQ
|
32
37
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
38
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
34
39
|
dependencies:
|
35
40
|
- !ruby/object:Gem::Dependency
|
36
41
|
name: sps-pub
|
@@ -78,20 +83,20 @@ dependencies:
|
|
78
83
|
requirements:
|
79
84
|
- - ">="
|
80
85
|
- !ruby/object:Gem::Version
|
81
|
-
version: 0.
|
86
|
+
version: 0.8.0
|
82
87
|
- - "~>"
|
83
88
|
- !ruby/object:Gem::Version
|
84
|
-
version: '0.
|
89
|
+
version: '0.8'
|
85
90
|
type: :runtime
|
86
91
|
prerelease: false
|
87
92
|
version_requirements: !ruby/object:Gem::Requirement
|
88
93
|
requirements:
|
89
94
|
- - ">="
|
90
95
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
96
|
+
version: 0.8.0
|
92
97
|
- - "~>"
|
93
98
|
- !ruby/object:Gem::Version
|
94
|
-
version: '0.
|
99
|
+
version: '0.8'
|
95
100
|
description:
|
96
101
|
email: james@jamesrobertson.eu
|
97
102
|
executables: []
|
@@ -118,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
123
|
- !ruby/object:Gem::Version
|
119
124
|
version: '0'
|
120
125
|
requirements: []
|
121
|
-
rubygems_version: 3.0.
|
126
|
+
rubygems_version: 3.0.3
|
122
127
|
signing_key:
|
123
128
|
specification_version: 4
|
124
129
|
summary: A wrapper for the Linux utility xinput. Publishes an SPS message whenever
|
metadata.gz.sig
CHANGED
Binary file
|