xinput_wrapperplus 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/xinput_wrapperplus.rb +10 -2
- data.tar.gz.sig +2 -2
- metadata +6 -6
- 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: 640a5a0dae05e2b8db61c45bebc25fdd26423bb4864c4a356b6b409261d276c2
|
|
4
|
+
data.tar.gz: dc3807fb81d3c40574e0323ab07648ebadfe55c0e21100119a0493bfa90387af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28ede1920c33f2008b5fe447e8663d20ff66f2df2d0d411c677fc5d863ce2a3d104730a86824d74c48aa32642b277564f866deade0dafd5f83fe7f9461d86387
|
|
7
|
+
data.tar.gz: 58d62973196dc4535b8f977cbdd66dde2a240b8c87f367ed9c6149e959c34d9ea0ef7066e46f717dc36cc18406872913b4e907377351c281a16ce4f8cf38d165
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/xinput_wrapperplus.rb
CHANGED
|
@@ -45,10 +45,18 @@ class XInputWrapperPlus < XInputWrapper
|
|
|
45
45
|
@sk.knock
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
def on_key_press(key, keycode)
|
|
48
|
+
def on_key_press(key, keycode, modifier=[])
|
|
49
|
+
|
|
49
50
|
puts 'inside on_key_press' if @debug
|
|
50
|
-
|
|
51
|
+
|
|
52
|
+
if @capture_all
|
|
53
|
+
|
|
54
|
+
message modifier.any? ? (modifier + [key.to_s]).join('+') : key.to_s
|
|
55
|
+
|
|
56
|
+
end
|
|
57
|
+
|
|
51
58
|
@sk.reset if @lookup[keycode] != :control
|
|
59
|
+
|
|
52
60
|
end
|
|
53
61
|
|
|
54
62
|
def on_super_key()
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
��
|
|
2
|
-
|
|
1
|
+
��oyd�N�I�b�ni��lg��y��E����d�~e���\�w^�>�������W�o�?E�tx�)^sD7��m�C��n*�Ip��j��ɳ8�/K���S�3��T#� �'��S64�4�'V�k|u�N����>�݆cQ��7Wp��Ղ��h�(J~S��"���m�]�\S}���Ѣ��痹18vٸ��-l(��|5�}o���n�Ruuw�� B �l��w�3�{-)bP��B�
|
|
2
|
+
<�w�
|
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
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
SK2jOkRNlfF9rY8O76O35JOdWJTBmi/UxMmyH0ISaWkk7/5E8Q1ZElsb7WR/Nlpk
|
|
31
31
|
DHs=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2019-
|
|
33
|
+
date: 2019-04-07 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sps-pub
|
|
@@ -78,20 +78,20 @@ dependencies:
|
|
|
78
78
|
requirements:
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: 0.
|
|
81
|
+
version: 0.4.0
|
|
82
82
|
- - "~>"
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
|
-
version: '0.
|
|
84
|
+
version: '0.4'
|
|
85
85
|
type: :runtime
|
|
86
86
|
prerelease: false
|
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
|
88
88
|
requirements:
|
|
89
89
|
- - ">="
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
|
-
version: 0.
|
|
91
|
+
version: 0.4.0
|
|
92
92
|
- - "~>"
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: '0.
|
|
94
|
+
version: '0.4'
|
|
95
95
|
description:
|
|
96
96
|
email: james@jamesrobertson.eu
|
|
97
97
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|