fusuma 3.1.0 → 3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ff7ea9fcd08ba0c48e1c08d9eceeb4a1e30684a0616f37fef6f67a3e035c005
4
- data.tar.gz: c68adc10a8e2b7fb5396c7c789f941b13bacc9d60d6d669a7d8004c773503d75
3
+ metadata.gz: 978dc626380b79b464091c15883ed5ab63abf0cc9d6e649ef46f87188e8dfc4c
4
+ data.tar.gz: 9ff7b618f47fda0fdb648c4a5422e689476d7e257160a45494f7e5d4396b0891
5
5
  SHA512:
6
- metadata.gz: 46fdbcb0b697ba9000e55de86a9550d783c81c6407f13ebe82375c2b741341a591bcf45fe6c707247a9a2017e4f3ca4834111af551a4a65001cc7e944487b28e
7
- data.tar.gz: e0e579b0d73ea237202ae17f641c07a1ed7587a771c71bfe12d55edec62b3d9e3281fd010f646e6e7077a6245e0365d0ed73c7042528a8c8c5ac72bbeed956de
6
+ metadata.gz: ddff427ccdaffc0fa0661685ea404d620ae85ad2cc2477dad2e7a2c066dd1c75ba2409bb2808c41977b22eff0812faa1343c6a32f186d5c8e945f20ec9023fa1
7
+ data.tar.gz: 06e687954d1b876c63f496017a39109a8e3d63a28919cec2096761a87c5528a72268eeae21ccbbd744dff946180005387dfe967776cd64b070894b245f5f556c
data/README.md CHANGED
@@ -403,8 +403,8 @@ Fusuma plugins are provided with the `fusuma-plugin-XXXXX` naming convention and
403
403
  | [fusuma-plugin-sendkey](https://github.com/iberianpig/fusuma-plugin-sendkey) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-sendkey?color=brightgreen) | Emulates keyboard events(Wayland compatible) |
404
404
  | [fusuma-plugin-wmctrl](https://github.com/iberianpig/fusuma-plugin-wmctrl) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-wmctrl?color=brightgreen) | Manages Window and Workspace |
405
405
  | [fusuma-plugin-keypress](https://github.com/iberianpig/fusuma-plugin-keypress) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-keypress?color=brightgreen) | Detecting a combination of key presses and touchpad gestures |
406
- | [fusuma-plugin-tap](https://github.com/iberianpig/fusuma-plugin-tap) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-tap?color=brightgreen) | Detects Tap gesture |
407
406
  | [fusuma-plugin-appmatcher](https://github.com/iberianpig/fusuma-plugin-appmatcher) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-appmatcher?color=brightgreen) | Configure app-specific gestures |
407
+ | [fusuma-plugin-thumbsense](https://github.com/iberianpig/fusuma-plugin-thumbsense) | ![Gem](https://img.shields.io/gem/v/fusuma-plugin-thumbsense?color=brightgreen) | Remapper from key to click only while tapping |
408
408
 
409
409
 
410
410
  ### Installation of Fusuma plugins
@@ -112,7 +112,7 @@ module Fusuma
112
112
  # @return [Hash]
113
113
  # @return [NilClass]
114
114
  def no_context(_request_context, &block)
115
- return {} if with_context({}, &block)
115
+ {} if with_context({}, &block)
116
116
  end
117
117
 
118
118
  # Complete match request context
@@ -165,7 +165,10 @@ module Fusuma
165
165
 
166
166
  return config[:context] if with_context(config[:context], &block)
167
167
  end
168
- complete_match_context
168
+ if complete_match_context
169
+ with_context(complete_match_context, &block)
170
+ complete_match_context
171
+ end
169
172
  end
170
173
  end
171
174
  end
@@ -14,6 +14,7 @@ module Fusuma
14
14
  {
15
15
  device: [String],
16
16
  "enable-dwt": [TrueClass, FalseClass],
17
+ "disable-dwt": [TrueClass, FalseClass],
17
18
  "enable-tap": [TrueClass, FalseClass],
18
19
  "show-keycodes": [TrueClass, FalseClass],
19
20
  verbose: [TrueClass, FalseClass],
@@ -47,14 +48,16 @@ module Fusuma
47
48
  device = ("--device='#{config_params(:device)}'" if config_params(:device))
48
49
  enable_tap = "--enable-tap" if config_params(:"enable-tap")
49
50
  enable_dwt = "--enable-dwt" if config_params(:"enable-dwt")
51
+ disable_dwt = "--disable-dwt" if config_params(:"disable-dwt")
50
52
  show_keycodes = "--show-keycodes" if config_params(:"show-keycodes")
51
53
  verbose = "--verbose" if config_params(:verbose)
52
54
  [
53
55
  device,
54
- enable_dwt,
55
56
  enable_tap,
57
+ enable_dwt,
58
+ disable_dwt,
56
59
  show_keycodes,
57
- verbose
60
+ verbose,
58
61
  ].compact
59
62
  end
60
63
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fusuma
4
- VERSION = "3.1.0"
4
+ VERSION = "3.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-03 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Fusuma is multitouch gesture recognizer. This gem makes your touchpad
14
14
  on Linux able to recognize swipes or pinchs and assign command to them. Read installation