Releases: britzl/defold-input
Defold-Input 4.7.0
NEW: The gesture module will report swipe events as soon as they are detected and not only after release. To differentiate between an ongoing swipe and a released swipe there is now also a boolean flag swipe_released
and two_finger_swipe_released
to indicate if the swipe happened before or when released.
Defold-Input 4.6.2
FIX: Pinch state was not accurately calculated sometimes
Defold-Input 4.6.1
FIX: Cursor string URLs were not working as intended.
Defold-Input 4.6.0
CHANGE: The onscreen.lua
module will now handle switch to multitouch mode on iOS. Thanks @aglitchman !
Defold-Input 4.5.0
NEW: The gesture module will now report repeated
on touch events. Thanks @Jerakin!
Defold-Input 4.4.0
NEW: Added cursor.reset(url)
to reset the state of a cursor. Useful when a window focus lost or minimize event happens and you want to clear the state of the cursor.
FIX: There is no longer a requirement that cursor.init()
has been called before cursor.listener()
Defold-Input 4.3.0
NEW: Programatically start a cursor drag operation (info: https://github.com/britzl/defold-input/blob/master/in/cursor.md#drag-objects)
Defold-Input 4.2.0
NEW: Added origin_x
and origin_y
to drag event to give position of mouse/touch down
NEW: Added drag_event_only
option to cursor to only send the drag event but not start dragging the object under the cursor
Thanks to @Trevortni for the contributions!
Defold-Input 4.1.4
FIX: Clear drag state on release if drag was cancelled. Thanks @Trevortni
Defold-Input 4.1.3
FIX: Don't ignore a potential drag (press+move) just because the cursor moved outside of the object but hasn't yet reached the drag threshold.