xinput_wrapperplus 0.2.0 → 0.3.0

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: 91c9092b58275c23427c5cd5bfac4e81e54a1ec47bb8c64a1cabe6a8ecf5d804
4
- data.tar.gz: 708883cdf9983f0be1d7c39ba253a17460d593b475ec2f253234a884a4c32647
3
+ metadata.gz: 640a5a0dae05e2b8db61c45bebc25fdd26423bb4864c4a356b6b409261d276c2
4
+ data.tar.gz: dc3807fb81d3c40574e0323ab07648ebadfe55c0e21100119a0493bfa90387af
5
5
  SHA512:
6
- metadata.gz: 2e8cdc3d622d876fff697f4333cd8e2528913273d378bafdb66642e43153299db17eb8b589c1aa61661670ca12b283ef964118a54df6379790f43f6014929f4b
7
- data.tar.gz: be802787718245967459f5e854540317788479bbf1118872bdb8a5471c7424094e6f4364367049311494ace1844daffc591d758a4ae3eb554a005d99ba604457
6
+ metadata.gz: 28ede1920c33f2008b5fe447e8663d20ff66f2df2d0d411c677fc5d863ce2a3d104730a86824d74c48aa32642b277564f866deade0dafd5f83fe7f9461d86387
7
+ data.tar.gz: 58d62973196dc4535b8f977cbdd66dde2a240b8c87f367ed9c6149e959c34d9ea0ef7066e46f717dc36cc18406872913b4e907377351c281a16ce4f8cf38d165
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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
- message key.to_s if @capture_all
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
- ��)X+[%|!(>/�\½�%P��ۙ٧��N%و��ϺH�)��){g9�:n��0�>L�O��Bmx�����<��87d���l��1�u\XEx��$(��ű5Z%��!9#��+��_��1��?� �ɄK��T�0t��V�^Dd��|��_�KL>�$/�y�v�q�H���~>�_��9�z���g�ɺMqrRE6�:u*�<#2��KnR����r���yL73?
2
- lk���
1
+ ��oyd�N�I�b�ni��lg��y��E����d�~e���\�w^�>�������W�o�?E�tx�)^sD7��mC��n*�Ip��j��ɳ8�/K���S3��T#� '��S644�'V�k|u�N����>�݆cQ��7Wp��Ղ��h�(J~S��"���m]�\S}���Ѣ��痹18vٸ��-l(��|5}o���n�Ruuw�� B �l��w3{-)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.2.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-03-15 00:00:00.000000000 Z
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.3.0
81
+ version: 0.4.0
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '0.3'
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.3.0
91
+ version: 0.4.0
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '0.3'
94
+ version: '0.4'
95
95
  description:
96
96
  email: james@jamesrobertson.eu
97
97
  executables: []
metadata.gz.sig CHANGED
Binary file