Controller extension: buttonUp and -Down switched on Mac

Anything libgdx related goes here!

Controller extension: buttonUp and -Down switched on Mac

Postby IMakeGames » Tue Jan 15, 2013 4:07 pm

Hi!

Today I started incorporating the new controller extension into my game. It worked almost flawlessly but I think I found a bug. On the Mac, the methods buttonUp and buttonDown when extending ControllerAdapter are swapped around. That means, if I press a gamepad button on the Mac, buttonUp gets called. Then, when I release it, buttonDown is called. I've also tested on Windows and it works correctly there.

I'm using the JAR files from today's nightly (15. January 2013).

Hope somebody can help and/or confirm this! :)
Platformer for iOS, Android, Windows, Mac and Linux: Rico - A Tale Of Two Brothers
IMakeGames
 
Posts: 44
Joined: Thu Dec 01, 2011 11:48 pm

Re: Controller extension: buttonUp and -Down switched on Mac

Postby mzechner » Tue Jan 15, 2013 6:42 pm

Confirmed, will try to fix this and related Mac issues over the week.
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm

Re: Controller extension: buttonUp and -Down switched on Mac

Postby IMakeGames » Wed Jan 23, 2013 1:23 pm

Any update on this? Sorry if I'm being pushy... I just have a lot of players demanding a working Gampad support. :)
Platformer for iOS, Android, Windows, Mac and Linux: Rico - A Tale Of Two Brothers
IMakeGames
 
Posts: 44
Joined: Thu Dec 01, 2011 11:48 pm

Re: Controller extension: buttonUp and -Down switched on Mac

Postby mzechner » Wed Jan 23, 2013 6:09 pm

Sorry, busy week at work, didn't have time yet. I'll update the issue on the tracker once it's fixed.
mzechner
Site Admin
 
Posts: 4879
Joined: Sat Jul 10, 2010 3:50 pm

Re: Controller extension: buttonUp and -Down switched on Mac

Postby IMakeGames » Wed Jan 23, 2013 10:07 pm

Completely understandable! :)
Platformer for iOS, Android, Windows, Mac and Linux: Rico - A Tale Of Two Brothers
IMakeGames
 
Posts: 44
Joined: Thu Dec 01, 2011 11:48 pm


Return to Libgdx

Who is online

Users browsing this forum: No registered users and 1 guest