Skip to content
Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects
Lua HTML Shell
Branch: master
Clone or download
Latest commit ece0d8d Aug 11, 2019

Build Status


Defold-Input contains a number of different Lua modules and scripts to simplify input related operations such as gestures detection, user configurable key bindings, input state handling and dragging/clicking game objects.


You can use the extension in your own project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add:

Or point to the ZIP file of a specific release.

Try HTML5 Demo

You can try an HTML5 demo of Defold-Input here:


For a complete and easily skinnable UI system that supports buttons, checkboxes, input fields and lists please take a look at Gooey.


This project contains a gamepads definition file with the following gamepads configured:

  • OSX
    • Wireless Controller
    • SteelSeries Stratus XL
    • PLAYSTATION(R)3 Controller
    • Controller
    • Xbox One Wired Controller
    • Generic USB Joystick
  • Linux
    • Microsoft X-Box 360 pad
    • Sony PLAYSTATION(R)3 Controller
  • Windows
    • XBox 360 Controller
    • cp

Help this list grow! Please submit pull requests for additional gamepads!

You can’t perform that action at this time.