Lovepad - A simple gamepad library for android games

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Posts: 18
Joined: Thu Oct 11, 2018 9:09 pm

Lovepad - A simple gamepad library for android games

Post by damv » Thu Aug 15, 2019 1:43 am

Hi there,

A few days ago I downloaded the love2d apk with the intention of programming from the cell phone, and I discovered that it is a bit complicated to program games using touch, I mean that my intention is to create games quickly and easily from the cell phone.

That is why I prepared to write this library with love for my own use and also to facilitate this to anyone who wants to do the same.

An Example:

Code: Select all

local lovepad = require 'lovepad'
function love.draw()
	--Your game
function love.update(dt)
	if lovepad:isPressed('A') then
	-- ...
	-- Your game
You can create buttons too and customize them, please read: ... /

If you have suggestions or any problem you can leave me a message on github:

I would be very grateful if you could give me a star in the repository, thank you.


Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests