lib/fusuma/plugin/inputs/libinput_command_input.rb in fusuma-3.1.0 vs lib/fusuma/plugin/inputs/libinput_command_input.rb in fusuma-3.2.0

- old
+ new

@@ -12,10 +12,11 @@ def config_param_types { device: [String], "enable-dwt": [TrueClass, FalseClass], + "disable-dwt": [TrueClass, FalseClass], "enable-tap": [TrueClass, FalseClass], "show-keycodes": [TrueClass, FalseClass], verbose: [TrueClass, FalseClass], "libinput-debug-events": [String], "libinput-list-devices": [String] @@ -45,17 +46,19 @@ # @return [Array] def libinput_options device = ("--device='#{config_params(:device)}'" if config_params(:device)) enable_tap = "--enable-tap" if config_params(:"enable-tap") enable_dwt = "--enable-dwt" if config_params(:"enable-dwt") + disable_dwt = "--disable-dwt" if config_params(:"disable-dwt") show_keycodes = "--show-keycodes" if config_params(:"show-keycodes") verbose = "--verbose" if config_params(:verbose) [ device, - enable_dwt, enable_tap, + enable_dwt, + disable_dwt, show_keycodes, - verbose + verbose, ].compact end def debug_events_command config_params(:"libinput-debug-events")