xinput_wrapper 0.2.2 → 0.2.3
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/lib/xinput_wrapper.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: bfcd8783533ef00a1af9570118f69bf191a6dd70f19307f10f1434d762401dbc
|
4
|
+
data.tar.gz: 72608043e08daebced96533173d91b8f06f764f01dedaafa7b3fa09a4c3db93a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7581942d3403f3b775da756468fa90534a697fdbe3ccb1486dd1377cb1d0c95be9d68c5b1366e486ca86da21649e39cdb8a8e26e7c347c95e195d431aa73a53b
|
7
|
+
data.tar.gz: 9d3ab0efc14c841313586944abbd8c7742dcf5e8f4ed6661ecb276779b174c31d5b28e19b7f7f9c0f3d0673956c70eaffaf8aacad6db14181993d8fd22863bc9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/xinput_wrapper.rb
CHANGED
@@ -97,7 +97,7 @@ class XInputWrapper
|
|
97
97
|
if key then
|
98
98
|
puts key.to_s + ' key presssed' if @verbose
|
99
99
|
name = "on_#{key}_key".to_sym
|
100
|
-
method(name).call if self.
|
100
|
+
method(name).call if self.protected_methods.include? name
|
101
101
|
end
|
102
102
|
|
103
103
|
end
|
@@ -106,7 +106,9 @@ class XInputWrapper
|
|
106
106
|
|
107
107
|
protected
|
108
108
|
|
109
|
-
def on_control_key()
|
109
|
+
def on_control_key()
|
110
|
+
puts 'ctrl key pressed'
|
111
|
+
end
|
110
112
|
def on_key_press(keycode) end
|
111
113
|
|
112
114
|
def on_shift_key() end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|