Defold Input Versions Save

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects

4.6.2

1 month ago

FIX: Pinch state was not accurately calculated sometimes

4.6.1

9 months ago

FIX: Cursor string URLs were not working as intended.

4.6.0

1 year ago

CHANGE: The onscreen.lua module will now handle switch to multitouch mode on iOS. Thanks @aglitchman !

4.5.0

1 year ago

NEW: The gesture module will now report repeated on touch events. Thanks @Jerakin!

4.4.0

1 year ago

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()

4.3.0

2 years ago

NEW: Programatically start a cursor drag operation (info: https://github.com/britzl/defold-input/blob/master/in/cursor.md#drag-objects)

4.2.0

2 years ago

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!

4.1.4

2 years ago

FIX: Clear drag state on release if drag was cancelled. Thanks @Trevortni

4.1.3

2 years ago

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.

4.1.2

2 years ago

FIX: Cancelled drag events prevented further drag events