lib/fusuma/plugin/sendkey/device.rb in fusuma-plugin-sendkey-0.4.0 vs lib/fusuma/plugin/sendkey/device.rb in fusuma-plugin-sendkey-0.5.0
- old
+ new
@@ -8,10 +8,10 @@
def initialize(path:)
@evdev = Revdev::EventDevice.new(path)
end
def path
- raise 'Keyboard is not found' if @evdev.nil?
+ raise 'Device path is not found' if @evdev.nil?
@path ||= @evdev.file.path
end
def write_event(event)