Skip to content
#

gamepad

Here are 237 public repositories matching this topic...

shousper
shousper commented Mar 13, 2018

I just spent a bit of time figuring out that the reason :down(..) would work but :pressed(..), etc. wouldn't was because I was calling input:update() before checking the state of the inputs.

It might be worth highlighting this in the README.md with an example :)

For example:

function love.update(dt)
    if input:pressed('down') then print('down was pressed!') end
    -- you
csBlueChip
csBlueChip commented Aug 20, 2019

Hi,

First off - great work - thanks :)

I just noticed (in the Wiki) that states {0, 1} in the 6-button Genesis State Table are blank!?
...should they not be the same as states {2, 3}?
IE. (0==2) and (1==3)

QV. "The first 4 states (0-3) report buttons like a 3-button controller. Games programmed to read a 3-button controller once per frame still work as expected."

IE.

State | Se

Improve this page

Add a description, image, and links to the gamepad topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gamepad topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.