From f2770c8ac0385e519fd3c385f0b7a35d16bb92c3 Mon Sep 17 00:00:00 2001 From: qfx Date: Sun, 16 Feb 2020 19:06:08 +0200 Subject: [PATCH] new sub interface --- core/input.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/input.lua b/core/input.lua index 11b9a19..4bb3a39 100755 --- a/core/input.lua +++ b/core/input.lua @@ -213,7 +213,7 @@ end input.subscribe = subscription.create --Since the introduction of the relative subscriptions, there is more utility in ommiting coordinates by default -input.__call = function(s, eventType, callback, cbOff, x, y, w, h) +input.sub = function(eventType, callback, cbOff, x, y, w, h) x = x or 0 y = y or 0 w = w or 1