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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2b5ef82422b06bf45406ed32784ec03f9d4edad0d464ec668aeadbecb3b0408
4
- data.tar.gz: 3e1f069f5e827fe2bb12ae52bfeaba53c19e831d1396979ab0dfb8bd52a3030f
3
+ metadata.gz: 25ba1b759531225d0d10183d516094c1f6741d299849df50bc6bdfb50861caee
4
+ data.tar.gz: 18368ef8cb64cad32e14a1c6becccdc70a9fc81fb9c55af55b5f11a4a51146f5
5
5
  SHA512:
6
- metadata.gz: d817422ca9e21d2d6504402da8326f770ce7cfd30132fdab2a2c228bcf8f2ca3412a60b1282ab917ed6e5619f2deef9a43e3e5365fc0b09067d7fbe1aa2633ee
7
- data.tar.gz: 7a525ac9e7ebcebcf77df04e5cc84ab6b6351886fc72ee5d1d2751d579a071b46c1acec30108934743c5cc916731257ab0a9909235ebcb3f4dfdf14f1554c3c4
6
+ metadata.gz: a66ea82e2e5a889f1a06a12d4e0b459416ec70434b72f2f296c875f80c55bae1ea98e2d59e61c58a6cbd6af6c95f845fb2dd1940626f9e75b6c8d3f086fb4da6
7
+ data.tar.gz: 7a7be9900ecca9af301f98b0ddbb1752b47520c375be0b62312bf38bfd1a2021b60bc82d2c28bec5e27d8dad49d36f13da0885ce5218ea594809f3b90bd4d519
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- protected
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.0
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
- MIIDXjCCAkagAwIBAgIBATANBgkqhkiG9w0BAQUFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwODA1MTQyNTE1WhcN
15
- MTkwODA1MTQyNTE1WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRaOsM
17
- SPx7uw3NaAkRf7RbFf6TeFvRsuZIH+I3mb3hGgLFNPeFS4uXdnQSnbg0RT2fZMuB
18
- J/eL88+4KAh8jaLsM+KlRCUoJi6e6kvYYHANlefmtLHUJfF862XoqHbT2C0PxU8b
19
- zj+Jsoi8Mchiu5yH2cAXh3pzD8xrkI+OOhTiS+oJjVvTJOiIEelgfRw1XrmhTNtz
20
- /k/G1RPPXnrbJ6RJFThRgXhUCen6vc5ZO3v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C8PaoyXBQBUZNZQEYY0rKHqH/8yjKHHgueW1J2tULyk8FQEY2HVWXK/mSwE31S8n
34
+ 8rGJOGPSxtF8oNfS74KVO99PqLk4bp3vHjZp/jt07cQr2QiHyHq3hRBrA/U8WU6j
35
+ MAr0EaAbP4GPbdRnYZObrq03xJQOARWVRbH726l6usXEpiepoBKFXfqGNXX6DDt/
36
+ 2f3lRa47HGk7I26OxNboAPZQ
32
37
  -----END CERTIFICATE-----
33
- date: 2019-05-08 00:00:00.000000000 Z
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.6.0
86
+ version: 0.8.0
82
87
  - - "~>"
83
88
  - !ruby/object:Gem::Version
84
- version: '0.6'
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.6.0
96
+ version: 0.8.0
92
97
  - - "~>"
93
98
  - !ruby/object:Gem::Version
94
- version: '0.6'
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.1
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