lib/fingerpoken/target.rb in fingerpoken-0.2.20101209171641 vs lib/fingerpoken/target.rb in fingerpoken-0.2.20101216024109
- old
+ new
@@ -9,10 +9,12 @@
def register
@channel.subscribe do |request|
case request["action"]
when "mousemove_relative"
mousemove_relative(request["rel_x"], request["rel_y"])
+ when "move_end"
+ move_end()
when "click"
click(request["button"])
when "mousedown"
mousedown(request["button"])
when "mouseup"
@@ -57,7 +59,11 @@
@logger.info("keydown not supported")
end
def keyup(key)
@logger.info("keyup not supported")
+ end
+
+ def move_end()
+ @logger.info("move_end not supported")
end
end # class FingerPoken::Target