lib/fusuma/plugin/parsers/tap_parser.rb in fusuma-plugin-tap-0.3.1 vs lib/fusuma/plugin/parsers/tap_parser.rb in fusuma-plugin-tap-0.3.2

- old
+ new

@@ -65,10 +65,14 @@ status = 'touch' finger = case Regexp.last_match(2) when 'TAP_STATE_DEAD' - 4 + if Regexp.last_match(1) == 'TAP_STATE_TOUCH_3' + 4 + else + 0 + end when 'TAP_STATE_TOUCH_3' 3 when 'TAP_STATE_TOUCH_2' 2 when 'TAP_STATE_TOUCH'