lib/fusuma/device.rb in fusuma-1.11.1 vs lib/fusuma/device.rb in fusuma-2.0.0.pre

- old
+ new

@@ -57,10 +57,12 @@ private # @return [Array] def fetch_devices line_parser = LineParser.new - LibinputCommand.new.list_devices do |line| + + libinput_command = Plugin::Inputs::LibinputCommandInput.new.command + libinput_command.list_devices do |line| line_parser.push(line) end line_parser.generate_devices end end