Problem with joystick

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Diehl
Prole
Posts: 29
Joined: Tue Aug 27, 2013 10:53 am
Contact:

Problem with joystick

Post by Diehl »

Hello everybody.

My friends and I are having trouble implementing the use of joysticks in our future game.

We tried to make two different systems, but in both some errors occurred when a joystick is disconnected from the machine. On the first, when disconnecting some joystick, the joystick # 1 starts to control all players together. In the another, when some joystick is removed, only the player #1 can move.

Does anyone know how to solve this?

I'll leave the files attached.
Attachments
Joystick2.love
(2.65 KiB) Downloaded 119 times
Joystick.love
(2.75 KiB) Downloaded 131 times
User avatar
JackHide
Prole
Posts: 7
Joined: Sun Sep 22, 2013 12:33 am
Location: Porto Alegre - Brazil

Re: Problem with joystick

Post by JackHide »

Hello people,

I work with Pablo and I wonder know if someone saw and understood our code.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests